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.0008028/0.0008028, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007857/0.0007857, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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.8879/0.8879, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.5446/0.5446, allocations: 114 MB / 374.7 MB, free: 8.727 MB / 346.7 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.302e-06/1.302e-06, allocations: 0 / 0.5554 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.556e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002043/0.002058, allocations: 1.787 MB / 0.5572 GB, free: 488 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.003615, allocations: 1.116 MB / 0.5583 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.003691, allocations: 7.938 kB / 0.5583 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004947/0.004186, allocations: 167.5 kB / 0.5584 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.004447, allocations: 163.3 kB / 0.5586 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.004671, allocations: 138.6 kB / 0.5587 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004845, allocations: 175.5 kB / 0.5589 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.004935, allocations: 17.28 kB / 0.5589 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 9.867e-05/0.005034, allocations: 95.75 kB / 0.559 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.005123, allocations: 63.86 kB / 0.559 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.005141, allocations: 15.94 kB / 0.5591 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.005247, allocations: 67.81 kB / 0.5591 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.005311, allocations: 51.83 kB / 0.5592 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.005354, allocations: 27.92 kB / 0.5592 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.005576, allocations: 215.2 kB / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005578, allocations: 0 / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005579, allocations: 0 / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.005583, allocations: 0 / 0.5594 GB, free: 14.18 MB / 0.5261 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.0005152/0.006098, allocations: 434.9 kB / 0.5598 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.006133, allocations: 12.61 kB / 0.5598 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.145e-05/0.006175, allocations: 16.84 kB / 0.5599 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.006387, allocations: 189.4 kB / 0.56 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.006398, allocations: 4.375 kB / 0.56 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.006409, allocations: 4.375 kB / 0.56 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.006537, allocations: 86.08 kB / 0.5601 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006544, allocations: 3.938 kB / 0.5601 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.006553, allocations: 4 kB / 0.5601 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.006561, allocations: 0 / 0.5601 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.462e-05/0.006626, allocations: 47.91 kB / 0.5602 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.006963, allocations: 284.5 kB / 0.5604 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.007085, allocations: 78.55 kB / 0.5605 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.007126, allocations: 28.84 kB / 0.5606 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.007138, allocations: 8 kB / 0.5606 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001242/0.007263, allocations: 79.31 kB / 0.5606 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.007264, allocations: 0 / 0.5606 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0002275/0.007491, allocations: 149.6 kB / 0.5608 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.007517, allocations: 51.41 kB / 0.5608 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.007711, allocations: 283.8 kB / 0.5611 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.007723, allocations: 25.7 kB / 0.5611 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.007785, allocations: 124.1 kB / 0.5612 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.007809, allocations: 23.8 kB / 0.5613 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.007841, allocations: 29.7 kB / 0.5613 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.202e-05/0.007923, allocations: 330.8 kB / 0.5616 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.863e-05/0.007962, allocations: 24 kB / 0.5616 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.008026, allocations: 87.86 kB / 0.5617 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.01e-05/0.008106, allocations: 77.61 kB / 0.5618 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.008108, allocations: 4.375 kB / 0.5618 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001282/0.008236, allocations: 121.4 kB / 0.5619 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.00825, allocations: 11.98 kB / 0.5619 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.008256, allocations: 112 / 0.5619 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.008266, allocations: 3.938 kB / 0.5619 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.417e-05/0.00832, allocations: 16 kB / 0.5619 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.008326, allocations: 4 kB / 0.5619 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.008358, allocations: 4 kB / 0.5619 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.008366, allocations: 8.016 kB / 0.562 GB, free: 11.38 MB / 0.5261 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.546e-05/0.008451, allocations: 145.8 kB / 0.5621 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.458e-05/0.008466, allocations: 15.91 kB / 0.5621 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.008629, allocations: 135 kB / 0.5622 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.008636, allocations: 4 kB / 0.5622 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.008641, allocations: 3.984 kB / 0.5622 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008644, allocations: 0 / 0.5622 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.008756, allocations: 165.1 kB / 0.5624 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.008757, allocations: 0 / 0.5624 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.597e-05/0.008773, allocations: 11.98 kB / 0.5624 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008775, allocations: 0 / 0.5624 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.008784, allocations: 8 kB / 0.5624 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.008785, allocations: 0 / 0.5624 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.008785, allocations: 0 / 0.5624 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.008915, allocations: 156.8 kB / 0.5626 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.008934, allocations: 19.86 kB / 0.5626 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.00895, allocations: 0 / 0.5626 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.507e-05/0.008975, allocations: 7.984 kB / 0.5626 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.009007, allocations: 8 kB / 0.5626 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.009015, allocations: 7.984 kB / 0.5626 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001282/0.009144, allocations: 204.6 kB / 0.5628 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.009144, allocations: 0 / 0.5628 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001668/0.00931, allocations: 35.91 kB / 0.5628 GB, free: 10.39 MB / 0.5261 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.0006864/0.009997, allocations: 445.1 kB / 0.5633 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.01014, allocations: 79.89 kB / 0.5633 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01015, allocations: 0 / 0.5633 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.671e-05/0.01019, allocations: 40.05 kB / 0.5634 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.01037, allocations: 40.94 kB / 0.5634 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.01076, allocations: 339.7 kB / 0.5637 GB, free: 9.645 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.883e-05/0.01083, allocations: 122.6 kB / 0.5639 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.01086, allocations: 20.5 kB / 0.5639 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.01086, allocations: 0 / 0.5639 GB, free: 9.488 MB / 0.5261 GB Notification: Performance of Templates: time 0.003142/0.014, allocations: 2.686 MB / 0.5665 GB, free: 6.816 MB / 0.5261 GB " [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.33219894580543] Failed to read output from testmodel.py, exit status != 0: 0.01845042034983635 0.029366468000000003 0.021167534000000002 Calling exit ...