Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001291/0.001291, allocations: 75.22 kB / 19.93 MB, free: 1.77 MB / 14.72 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.0014/0.0014, allocations: 171.8 kB / 23.22 MB, free: 4.887 MB / 14.72 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.389/1.389, allocations: 177.1 MB / 203.5 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9043/0.9043, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.5547 GB, free: 2.594 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.382e-05, allocations: 8.891 kB / 0.5547 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.00278/0.002804, allocations: 1.779 MB / 0.5564 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.004707, allocations: 1.126 MB / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.004779, allocations: 0 / 0.5575 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.005381, allocations: 175.4 kB / 0.5577 GB, free: 15.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.005743, allocations: 159.3 kB / 0.5578 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.006076, allocations: 135.6 kB / 0.558 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.006301, allocations: 179.5 kB / 0.5581 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.464e-05/0.006395, allocations: 21.3 kB / 0.5582 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001461/0.006541, allocations: 91.73 kB / 0.5583 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.006661, allocations: 75.78 kB / 0.5583 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.006685, allocations: 8 kB / 0.5583 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.006828, allocations: 67.88 kB / 0.5584 GB, free: 14.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.846e-05/0.006907, allocations: 43.86 kB / 0.5584 GB, free: 14.73 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.877e-05/0.006976, allocations: 31.91 kB / 0.5585 GB, free: 14.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002878/0.007263, allocations: 215.2 kB / 0.5587 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.007266, allocations: 0 / 0.5587 GB, free: 14.49 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007267, allocations: 0 / 0.5587 GB, free: 14.49 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.00727, allocations: 0 / 0.5587 GB, free: 14.49 MB / 478.1 MB 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.0006607/0.007931, allocations: 434.9 kB / 0.5591 GB, free: 14.03 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.007963, allocations: 8.625 kB / 0.5591 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.008014, allocations: 16.84 kB / 0.5591 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.008286, allocations: 197.3 kB / 0.5593 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.008302, allocations: 12.25 kB / 0.5593 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.008317, allocations: 8.359 kB / 0.5593 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.008487, allocations: 66.23 kB / 0.5594 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.008496, allocations: 3.938 kB / 0.5594 GB, free: 13.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.008508, allocations: 4 kB / 0.5594 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.008522, allocations: 11.98 kB / 0.5594 GB, free: 13.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.682e-05/0.008619, allocations: 31.98 kB / 0.5594 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.009066, allocations: 292.4 kB / 0.5597 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.009255, allocations: 74.61 kB / 0.5598 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.009328, allocations: 32.84 kB / 0.5598 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.009343, allocations: 0 / 0.5598 GB, free: 13.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.009498, allocations: 87.31 kB / 0.5599 GB, free: 13.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/0.009499, allocations: 0 / 0.5599 GB, free: 13.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003368/0.009836, allocations: 149.5 kB / 0.56 GB, free: 12.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.009878, allocations: 55.41 kB / 0.5601 GB, free: 12.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.01016, allocations: 279.2 kB / 0.5604 GB, free: 12.62 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.01018, allocations: 25.7 kB / 0.5604 GB, free: 12.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.01027, allocations: 120.1 kB / 0.5605 GB, free: 12.46 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.0103, allocations: 27.78 kB / 0.5605 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.01034, allocations: 25.7 kB / 0.5606 GB, free: 12.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.01049, allocations: 334.8 kB / 0.5609 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.527e-05/0.01055, allocations: 27.98 kB / 0.5609 GB, free: 12.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.01065, allocations: 76.27 kB / 0.561 GB, free: 11.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.01079, allocations: 90.02 kB / 0.5611 GB, free: 11.86 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01079, allocations: 3.938 kB / 0.5611 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002043/0.011, allocations: 117.5 kB / 0.5612 GB, free: 11.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.01101, allocations: 4 kB / 0.5612 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01102, allocations: 4 kB / 0.5612 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.01103, allocations: 0 / 0.5612 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.764e-05/0.0111, allocations: 8 kB / 0.5612 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.0111, allocations: 0 / 0.5612 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.84e-05/0.01117, allocations: 19.97 kB / 0.5612 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.01118, allocations: 4 kB / 0.5612 GB, free: 11.7 MB / 478.1 MB 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.000125/0.0113, allocations: 149.6 kB / 0.5614 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.01133, allocations: 15.91 kB / 0.5614 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.01158, allocations: 130.1 kB / 0.5615 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.01159, allocations: 4 kB / 0.5615 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.0116, allocations: 0 / 0.5615 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.0116, allocations: 0 / 0.5615 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.01178, allocations: 181.1 kB / 0.5617 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01178, allocations: 0 / 0.5617 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.01181, allocations: 8 kB / 0.5617 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01181, allocations: 0 / 0.5617 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.01182, allocations: 0 / 0.5617 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01182, allocations: 7.938 kB / 0.5617 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01182, allocations: 0 / 0.5617 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.01207, allocations: 152.9 kB / 0.5618 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.01211, allocations: 19.91 kB / 0.5619 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.01214, allocations: 3.984 kB / 0.5619 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.01219, allocations: 4 kB / 0.5619 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.01222, allocations: 3.984 kB / 0.5619 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.01223, allocations: 8 kB / 0.5619 GB, free: 10.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.01243, allocations: 204.6 kB / 0.5621 GB, free: 10.76 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01243, allocations: 4 kB / 0.5621 GB, free: 10.76 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.01266, allocations: 35.88 kB / 0.5621 GB, free: 10.72 MB / 478.1 MB 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.00154/0.0142, allocations: 462.8 kB / 0.5625 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.01441, allocations: 75.91 kB / 0.5626 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01441, allocations: 0 / 0.5626 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.0145, allocations: 40.05 kB / 0.5627 GB, free: 10.37 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.01478, allocations: 41.19 kB / 0.5627 GB, free: 10.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.01528, allocations: 314 kB / 0.563 GB, free: 9.988 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01539, allocations: 110.8 kB / 0.5631 GB, free: 9.863 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.01545, allocations: 25.78 kB / 0.5631 GB, free: 9.84 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.0155, allocations: 24.5 kB / 0.5631 GB, free: 9.816 MB / 478.1 MB Notification: Performance of SimCode: time 3.1e-07/0.0155, allocations: 0 / 0.5631 GB, free: 9.816 MB / 478.1 MB Notification: Performance of Templates: time 0.005775/0.02127, allocations: 2.406 MB / 0.5655 GB, free: 7.465 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.227321408689022] Failed to read output from testmodel.py, exit status != 0: 0.028866980224847794 0.042727161 0.032570100000000005 Calling exit ...