Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9809/0.9809, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7916/0.7916, allocations: 154.6 MB / 414.9 MB, free: 0.6953 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.5203 GB, free: 2.504 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.455e-05, allocations: 2.859 kB / 0.5203 GB, free: 2.5 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.002429/0.002453, allocations: 1.83 MB / 0.5221 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.004022, allocations: 1.147 MB / 0.5233 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.004129, allocations: 1 kB / 0.5233 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.004694, allocations: 176.3 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.00504, allocations: 152.7 kB / 0.5236 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.005434, allocations: 144.7 kB / 0.5237 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.005695, allocations: 176.7 kB / 0.5239 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.005799, allocations: 17.25 kB / 0.5239 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.00592, allocations: 95.72 kB / 0.524 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.006023, allocations: 64.48 kB / 0.524 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.006043, allocations: 13.81 kB / 0.5241 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.006177, allocations: 71.81 kB / 0.5241 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.006252, allocations: 47.83 kB / 0.5242 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.958e-05/0.006301, allocations: 31.92 kB / 0.5242 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.006545, allocations: 159.3 kB / 0.5244 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.006548, allocations: 1.719 kB / 0.5244 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.432e-06/0.00655, allocations: 0 / 0.5244 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.006555, allocations: 4 kB / 0.5244 GB, free: 14.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005992/0.007154, allocations: 0.5168 MB / 0.5249 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.007195, allocations: 13.41 kB / 0.5249 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.007255, allocations: 16.84 kB / 0.5249 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.007507, allocations: 208.5 kB / 0.5251 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.007528, allocations: 4.375 kB / 0.5251 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.00754, allocations: 4.906 kB / 0.5251 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.007673, allocations: 62.91 kB / 0.5252 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.007681, allocations: 3.938 kB / 0.5252 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.007692, allocations: 5.469 kB / 0.5252 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.007709, allocations: 4 kB / 0.5252 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.007758, allocations: 19.92 kB / 0.5252 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.008187, allocations: 345 kB / 0.5255 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.008301, allocations: 63.03 kB / 0.5256 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.008338, allocations: 23.16 kB / 0.5256 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.008353, allocations: 4 kB / 0.5256 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.008474, allocations: 81.03 kB / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.008476, allocations: 0 / 0.5257 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002371/0.008713, allocations: 105.5 kB / 0.5258 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.008746, allocations: 51.41 kB / 0.5258 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.008936, allocations: 284.3 kB / 0.5261 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.008952, allocations: 25.7 kB / 0.5261 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.009027, allocations: 166.9 kB / 0.5263 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.009054, allocations: 28.34 kB / 0.5263 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.009095, allocations: 35.36 kB / 0.5263 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.009229, allocations: 0.5016 MB / 0.5268 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.00926, allocations: 11.98 kB / 0.5268 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.007e-05/0.00932, allocations: 75.97 kB / 0.5269 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.009382, allocations: 53.72 kB / 0.527 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009384, allocations: 0 / 0.527 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001258/0.00951, allocations: 97.58 kB / 0.5271 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.009525, allocations: 9.5 kB / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.009533, allocations: 0 / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.009546, allocations: 2.75 kB / 0.5271 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.009618, allocations: 15.94 kB / 0.5271 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.009623, allocations: 0 / 0.5271 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.042e-05/0.009664, allocations: 4 kB / 0.5271 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.009673, allocations: 7.984 kB / 0.5271 GB, free: 11.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.863e-05/0.009761, allocations: 164.5 kB / 0.5273 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.009782, allocations: 21.16 kB / 0.5273 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.009935, allocations: 99.12 kB / 0.5274 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.009945, allocations: 3.938 kB / 0.5274 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.00995, allocations: 0.9375 kB / 0.5274 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.009956, allocations: 4 kB / 0.5274 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.01022, allocations: 180.5 kB / 0.5276 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.01022, allocations: 0.9375 kB / 0.5276 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-05/0.01029, allocations: 7.984 kB / 0.5276 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01029, allocations: 0.6562 kB / 0.5276 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.01031, allocations: 8 kB / 0.5276 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.01031, allocations: 4.656 kB / 0.5276 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01031, allocations: 0 / 0.5276 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.01056, allocations: 136.9 kB / 0.5277 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.231e-05/0.01059, allocations: 28.88 kB / 0.5277 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.01061, allocations: 4 kB / 0.5277 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.41e-05/0.01066, allocations: 0 / 0.5277 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.65e-05/0.0107, allocations: 18.39 kB / 0.5278 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01071, allocations: 4 kB / 0.5278 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000114/0.01083, allocations: 195.4 kB / 0.5279 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.01083, allocations: 0 / 0.5279 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001902/0.01102, allocations: 35.92 kB / 0.528 GB, free: 10.41 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009536/0.01197, allocations: 399.6 kB / 0.5284 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.01215, allocations: 63.08 kB / 0.5284 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01215, allocations: 3.938 kB / 0.5284 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.0122, allocations: 31.67 kB / 0.5285 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01243, allocations: 49.03 kB / 0.5285 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.01294, allocations: 270.5 kB / 0.5288 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.214e-05/0.01298, allocations: 75.83 kB / 0.5288 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.885e-05/0.01303, allocations: 21.78 kB / 0.5289 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.01306, allocations: 16.5 kB / 0.5289 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.01306, allocations: 0 / 0.5289 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of Templates: time 0.004496/0.01756, allocations: 2.429 MB / 0.5312 GB, free: 7.359 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9462924781255424]