Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001928/0.001928, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.002076/0.002076, allocations: 173.3 kB / 22.77 MB, free: 1.641 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 1.565/1.565, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.414/1.414, allocations: 154.8 MB / 414.4 MB, free: 452 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") translateModel(IDEAS.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.353e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.285 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.004852/0.004885, allocations: 1.817 MB / 0.5216 GB, free: 492 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003248/0.008133, allocations: 1.141 MB / 0.5228 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.00825, allocations: 0 / 0.5228 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009145/0.009165, allocations: 172 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006501/0.009815, allocations: 160.8 kB / 0.5231 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.01043, allocations: 136.7 kB / 0.5232 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.01082, allocations: 184.1 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.01096, allocations: 13.3 kB / 0.5234 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.01119, allocations: 96.48 kB / 0.5235 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.01137, allocations: 67.8 kB / 0.5235 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.01141, allocations: 9.062 kB / 0.5236 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.01164, allocations: 67.88 kB / 0.5236 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001179/0.01176, allocations: 49.58 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.148e-05/0.01185, allocations: 31.88 kB / 0.5237 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.01233, allocations: 207.3 kB / 0.5239 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01233, allocations: 0 / 0.5239 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/0.01234, allocations: 0 / 0.5239 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.01235, allocations: 5.719 kB / 0.5239 GB, free: 14.17 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.001124/0.01347, allocations: 0.5359 MB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.01351, allocations: 8.031 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.01363, allocations: 20.84 kB / 0.5244 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.0141, allocations: 189 kB / 0.5246 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.01412, allocations: 8.359 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.01415, allocations: 5.781 kB / 0.5246 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.01438, allocations: 69.23 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.0144, allocations: 3.938 kB / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.01441, allocations: 0 / 0.5247 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.01443, allocations: 5.312 kB / 0.5247 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.01459, allocations: 27.98 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.01542, allocations: 371.6 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.01572, allocations: 72.98 kB / 0.5252 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01583, allocations: 27.67 kB / 0.5252 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.01585, allocations: 4 kB / 0.5252 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.0161, allocations: 81.05 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.743e-06/0.0161, allocations: 2.062 kB / 0.5253 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.000781/0.01688, allocations: 121.5 kB / 0.5254 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.871e-05/0.01695, allocations: 59.52 kB / 0.5254 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.0175, allocations: 333.2 kB / 0.5258 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.01753, allocations: 29.64 kB / 0.5258 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.01775, allocations: 183.3 kB / 0.526 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.0178, allocations: 23.84 kB / 0.526 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.0179, allocations: 44.36 kB / 0.526 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004007/0.0183, allocations: 0.5118 MB / 0.5265 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-05/0.0184, allocations: 20.73 kB / 0.5266 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.01857, allocations: 76.75 kB / 0.5266 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.01877, allocations: 72.36 kB / 0.5267 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01877, allocations: 0 / 0.5267 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003327/0.0191, allocations: 98.94 kB / 0.5268 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.01912, allocations: 4 kB / 0.5268 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01913, allocations: 0 / 0.5268 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.01915, allocations: 5.156 kB / 0.5268 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.01927, allocations: 11.98 kB / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01928, allocations: 0 / 0.5268 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001205/0.0194, allocations: 19.08 kB / 0.5268 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.01941, allocations: 4 kB / 0.5268 GB, free: 10.94 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 0.0002332/0.01965, allocations: 172.5 kB / 0.527 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.01971, allocations: 23.89 kB / 0.527 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000379/0.02009, allocations: 119 kB / 0.5271 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.02011, allocations: 3.984 kB / 0.5271 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.02011, allocations: 4 kB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.02011, allocations: 3.031 kB / 0.5271 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003793/0.02049, allocations: 192.5 kB / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.0205, allocations: 0 / 0.5273 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.699e-05/0.02055, allocations: 11.98 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.02056, allocations: 0 / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.02057, allocations: 4 kB / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.02058, allocations: 0 / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.02058, allocations: 0 / 0.5273 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003957/0.02097, allocations: 149.7 kB / 0.5275 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.02104, allocations: 27.8 kB / 0.5275 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.02108, allocations: 3.984 kB / 0.5275 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.727e-05/0.02117, allocations: 4 kB / 0.5275 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.02124, allocations: 8.469 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.02125, allocations: 6.875 kB / 0.5275 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003435/0.02159, allocations: 215.1 kB / 0.5277 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.02159, allocations: 3.938 kB / 0.5277 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004312/0.02203, allocations: 31.98 kB / 0.5278 GB, free: 9.914 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.00411/0.02614, allocations: 454.2 kB / 0.5282 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.02652, allocations: 67.59 kB / 0.5283 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.02652, allocations: 0.6562 kB / 0.5283 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.02666, allocations: 35.67 kB / 0.5283 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005556/0.02721, allocations: 53.36 kB / 0.5284 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.02814, allocations: 294.6 kB / 0.5286 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.02833, allocations: 111.4 kB / 0.5287 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.979e-05/0.02843, allocations: 23.84 kB / 0.5288 GB, free: 9.066 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.0285, allocations: 20.5 kB / 0.5288 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.0285, allocations: 0 / 0.5288 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of Templates: time 0.009287/0.03779, allocations: 2.423 MB / 0.5312 GB, free: 6.777 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.258120457991026]