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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 105.1 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 196 kB / 17.34 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7179/0.7179, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 66.83 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1595, allocations: 76.18 MB / 0.6321 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003114/0.1627, allocations: 1.769 MB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1644, allocations: 1.03 MB / 0.6348 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.026e-05/0.1645, allocations: 0 / 0.6348 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.1652, allocations: 170 kB / 0.635 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.1655, allocations: 107.6 kB / 0.6351 GB, free: 1.312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.1661, allocations: 174.8 kB / 0.6352 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1663, allocations: 163.6 kB / 0.6354 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1664, allocations: 25.11 kB / 0.6354 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.1666, allocations: 75.69 kB / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1667, allocations: 71.69 kB / 0.6356 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.1667, allocations: 8 kB / 0.6356 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.1669, allocations: 63.95 kB / 0.6356 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.442e-05/0.167, allocations: 39.84 kB / 0.6357 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.1671, allocations: 59.67 kB / 0.6357 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1674, allocations: 199.3 kB / 0.6359 GB, free: 464 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1674, allocations: 4 kB / 0.6359 GB, free: 460 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1674, allocations: 3.938 kB / 0.6359 GB, free: 456 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1674, allocations: 0 / 0.6359 GB, free: 456 kB / 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.0008178/0.1682, allocations: 496.3 kB / 0.6364 GB, free: 15.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1683, allocations: 8.031 kB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.1683, allocations: 16.75 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1687, allocations: 244.8 kB / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1687, allocations: 384 / 0.6367 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.1687, allocations: 16.11 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.169, allocations: 91.31 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.169, allocations: 3.938 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.169, allocations: 0 / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.169, allocations: 7.984 kB / 0.6368 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1691, allocations: 39.92 kB / 0.6368 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.1696, allocations: 344.7 kB / 0.6371 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1698, allocations: 82.61 kB / 0.6372 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.224e-05/0.1699, allocations: 32.84 kB / 0.6372 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.1699, allocations: 0 / 0.6372 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1701, allocations: 87.36 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1701, allocations: 4 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003328/0.1705, allocations: 141.4 kB / 0.6375 GB, free: 14.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.1705, allocations: 85.11 kB / 0.6376 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.1708, allocations: 262.9 kB / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1708, allocations: 25.7 kB / 0.6378 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.1709, allocations: 120.1 kB / 0.6379 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.1709, allocations: 23.66 kB / 0.638 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.171, allocations: 33.7 kB / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1711, allocations: 330.8 kB / 0.6383 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.855e-05/0.1712, allocations: 27.98 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.387e-05/0.1713, allocations: 59.36 kB / 0.6384 GB, free: 13.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.1714, allocations: 78 kB / 0.6385 GB, free: 13.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1714, allocations: 0 / 0.6385 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002087/0.1716, allocations: 117.5 kB / 0.6386 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1717, allocations: 8 kB / 0.6386 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.1717, allocations: 0 / 0.6386 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1717, allocations: 0 / 0.6386 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.1718, allocations: 12.05 kB / 0.6386 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1718, allocations: 7.938 kB / 0.6386 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.182e-05/0.1719, allocations: 11.91 kB / 0.6386 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.1719, allocations: 4 kB / 0.6386 GB, free: 13.42 MB / 494.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.00014/0.172, allocations: 149.8 kB / 0.6388 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.1721, allocations: 11.81 kB / 0.6388 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.1721, allocations: 25.39 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.1721, allocations: 4 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1722, allocations: 0 / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1722, allocations: 3.938 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.1724, allocations: 221.5 kB / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1724, allocations: 0 / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.1724, allocations: 4 kB / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1724, allocations: 0 / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.1724, allocations: 8 kB / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1724, allocations: 0 / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.1725, allocations: 3.984 kB / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1727, allocations: 144.8 kB / 0.6392 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.82e-05/0.1728, allocations: 88.92 kB / 0.6393 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.1728, allocations: 7.984 kB / 0.6393 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.1729, allocations: 8 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.1729, allocations: 8 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.1729, allocations: 11.92 kB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001901/0.1731, allocations: 196.2 kB / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.1731, allocations: 3.938 kB / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1734, allocations: 32 kB / 0.6395 GB, free: 12.4 MB / 494.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.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.001151/0.1746, allocations: 428.4 kB / 0.6399 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.1748, allocations: 71.97 kB / 0.64 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1748, allocations: 0 / 0.64 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.1749, allocations: 39.92 kB / 0.64 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1753, allocations: 47.97 kB / 0.6401 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006342/0.1759, allocations: 299.1 kB / 0.6404 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1763, allocations: 0.7201 MB / 0.6411 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.53e-05/0.1763, allocations: 29.78 kB / 0.6411 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1764, allocations: 15.44 kB / 0.6411 GB, free: 10.88 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1764, allocations: 0 / 0.6411 GB, free: 10.88 MB / 494.1 MB Notification: Performance of Templates: time 0.005655/0.182, allocations: 2.283 MB / 0.6433 GB, free: 8.609 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (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)