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.0009246/0.0009246, allocations: 77.86 kB / 20.66 MB, free: 3.832 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.0009976/0.0009976, allocations: 165 kB / 24.06 MB, free: 448 kB / 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.039/1.039, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8481/0.8481, allocations: 154.9 MB / 415.9 MB, free: 244 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 179] 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.953e-06/1.953e-06, allocations: 0 / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.479e-05, allocations: 4.062 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BooleanReplicator): time 0.003556/0.00358, allocations: 1.828 MB / 0.5237 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.005494, allocations: 1.135 MB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.005605, allocations: 4.562 kB / 0.5248 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000698/0.006303, allocations: 173.1 kB / 0.525 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.006716, allocations: 163.3 kB / 0.5251 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.007095, allocations: 139.5 kB / 0.5253 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.007344, allocations: 187.4 kB / 0.5254 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.007454, allocations: 5.312 kB / 0.5254 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.007609, allocations: 103.7 kB / 0.5255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.007734, allocations: 63.86 kB / 0.5256 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.007758, allocations: 8.875 kB / 0.5256 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.007916, allocations: 67.81 kB / 0.5257 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.971e-05/0.007996, allocations: 52.39 kB / 0.5257 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.008049, allocations: 31.88 kB / 0.5258 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.008336, allocations: 156.4 kB / 0.5259 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.008342, allocations: 4 kB / 0.5259 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.232e-06/0.008343, allocations: 1.594 kB / 0.5259 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.008348, allocations: 3.938 kB / 0.5259 GB, free: 13.42 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.00066/0.009008, allocations: 0.5167 MB / 0.5264 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.009053, allocations: 12.03 kB / 0.5264 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.757e-05/0.00911, allocations: 17.81 kB / 0.5264 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.009377, allocations: 200.9 kB / 0.5266 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.0094, allocations: 10.41 kB / 0.5266 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.009412, allocations: 384 / 0.5266 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.009554, allocations: 58.17 kB / 0.5267 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.009564, allocations: 3.938 kB / 0.5267 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.009573, allocations: 3.938 kB / 0.5267 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.009598, allocations: 4 kB / 0.5267 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.308e-05/0.009641, allocations: 12.73 kB / 0.5267 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.01008, allocations: 312.9 kB / 0.527 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.01021, allocations: 47.73 kB / 0.5271 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.01024, allocations: 28.33 kB / 0.5271 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.01026, allocations: 0 / 0.5271 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.01038, allocations: 74.41 kB / 0.5272 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.01038, allocations: 0 / 0.5272 GB, free: 12.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002315/0.01062, allocations: 101.5 kB / 0.5273 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.01065, allocations: 60.12 kB / 0.5273 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01089, allocations: 275.1 kB / 0.5276 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.01091, allocations: 30.48 kB / 0.5276 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.01102, allocations: 170.8 kB / 0.5278 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.01106, allocations: 26.91 kB / 0.5278 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.01111, allocations: 31.36 kB / 0.5278 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.01129, allocations: 0.5118 MB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.764e-05/0.01132, allocations: 8 kB / 0.5283 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.01138, allocations: 64.73 kB / 0.5284 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.33e-05/0.01146, allocations: 51.28 kB / 0.5285 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01146, allocations: 0 / 0.5285 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001558/0.01162, allocations: 89.97 kB / 0.5285 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.01163, allocations: 9 kB / 0.5285 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01164, allocations: 0 / 0.5285 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.01165, allocations: 0 / 0.5285 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.453e-05/0.01173, allocations: 8.594 kB / 0.5286 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01173, allocations: 9.047 kB / 0.5286 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.01179, allocations: 11.88 kB / 0.5286 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.0118, allocations: 4 kB / 0.5286 GB, free: 10.47 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.0001093/0.01191, allocations: 162.3 kB / 0.5287 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.01194, allocations: 27.78 kB / 0.5288 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.01213, allocations: 91.12 kB / 0.5288 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.01214, allocations: 5.219 kB / 0.5289 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.01214, allocations: 0 / 0.5289 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01215, allocations: 0 / 0.5289 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.01232, allocations: 149.8 kB / 0.529 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01232, allocations: 4 kB / 0.529 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.01235, allocations: 4.656 kB / 0.529 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01236, allocations: 3.938 kB / 0.529 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.01236, allocations: 3.344 kB / 0.529 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01237, allocations: 0 / 0.529 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.01237, allocations: 4 kB / 0.529 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.01254, allocations: 139.1 kB / 0.5291 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.01257, allocations: 27.77 kB / 0.5292 GB, free: 9.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.0126, allocations: 7.938 kB / 0.5292 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.433e-05/0.01264, allocations: 4 kB / 0.5292 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.01268, allocations: 7.984 kB / 0.5292 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.01269, allocations: 3.062 kB / 0.5292 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001279/0.01282, allocations: 187.1 kB / 0.5294 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01282, allocations: 0 / 0.5294 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002784/0.01309, allocations: 31.94 kB / 0.5294 GB, free: 9.574 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.001277/0.01437, allocations: 397.4 kB / 0.5298 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01451, allocations: 43.61 kB / 0.5298 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01451, allocations: 0.875 kB / 0.5298 GB, free: 9.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.01456, allocations: 31.83 kB / 0.5299 GB, free: 9.285 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.01487, allocations: 57.14 kB / 0.5299 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004982/0.01537, allocations: 278.5 kB / 0.5302 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.229e-05/0.01543, allocations: 76.89 kB / 0.5302 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.515e-05/0.0155, allocations: 18.39 kB / 0.5303 GB, free: 8.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.01561, allocations: 102.2 kB / 0.5304 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/0.01561, allocations: 0.6562 kB / 0.5304 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of Templates: time 0.006669/0.02228, allocations: 2.673 MB / 0.533 GB, free: 6.203 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: 3.897051711101085]