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.001207/0.001207, allocations: 114.2 kB / 17.09 MB, free: 6.012 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.00115/0.00115, allocations: 193.8 kB / 18.02 MB, free: 5.094 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.332/1.332, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7379/0.7379, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 72.31 kB / 0.5583 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1475, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003462/0.151, allocations: 1.765 MB / 0.6345 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1528, allocations: 1.033 MB / 0.6355 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1529, allocations: 0 / 0.6355 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.1536, allocations: 170.1 kB / 0.6356 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00032/0.1539, allocations: 107.6 kB / 0.6357 GB, free: 1.316 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.1545, allocations: 174.1 kB / 0.6359 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1547, allocations: 163.6 kB / 0.6361 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1549, allocations: 29.09 kB / 0.6361 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.155, allocations: 79.62 kB / 0.6362 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.1552, allocations: 63.75 kB / 0.6362 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.1552, allocations: 8 kB / 0.6362 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.1554, allocations: 59.97 kB / 0.6363 GB, free: 0.7539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.949e-05/0.1554, allocations: 51.77 kB / 0.6363 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.16e-05/0.1555, allocations: 55.67 kB / 0.6364 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.1559, allocations: 199.4 kB / 0.6366 GB, free: 464 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1559, allocations: 0 / 0.6366 GB, free: 464 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1559, allocations: 3.938 kB / 0.6366 GB, free: 460 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1559, allocations: 3.938 kB / 0.6366 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.0008044/0.1567, allocations: 0.4885 MB / 0.6371 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1567, allocations: 12.03 kB / 0.6371 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.1568, allocations: 12.75 kB / 0.6371 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.1571, allocations: 244.9 kB / 0.6373 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1572, allocations: 4.375 kB / 0.6373 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1572, allocations: 8.125 kB / 0.6373 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.1574, allocations: 95.31 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1574, allocations: 3.938 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1574, allocations: 0 / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.1575, allocations: 7.984 kB / 0.6374 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.806e-05/0.1576, allocations: 27.98 kB / 0.6375 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005388/0.1581, allocations: 352.6 kB / 0.6378 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.1583, allocations: 78.67 kB / 0.6379 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.558e-05/0.1584, allocations: 32.84 kB / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.1584, allocations: 0 / 0.6379 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.1586, allocations: 87.31 kB / 0.638 GB, free: 14.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.1586, allocations: 0 / 0.638 GB, free: 14.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003446/0.159, allocations: 141.5 kB / 0.6381 GB, free: 14.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.159, allocations: 85.05 kB / 0.6382 GB, free: 14.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.1593, allocations: 262.9 kB / 0.6385 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1593, allocations: 29.7 kB / 0.6385 GB, free: 14.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.185e-05/0.1594, allocations: 120.1 kB / 0.6386 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.1595, allocations: 23.66 kB / 0.6386 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/0.1595, allocations: 25.7 kB / 0.6386 GB, free: 14.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1597, allocations: 330.8 kB / 0.639 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.1597, allocations: 31.98 kB / 0.639 GB, free: 13.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.541e-05/0.1598, allocations: 59.7 kB / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.16, allocations: 77.66 kB / 0.6391 GB, free: 13.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.16, allocations: 4 kB / 0.6391 GB, free: 13.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002017/0.1602, allocations: 117.4 kB / 0.6392 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1602, allocations: 4 kB / 0.6392 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1602, allocations: 4.062 kB / 0.6392 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1602, allocations: 4 kB / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.1603, allocations: 8.109 kB / 0.6393 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1603, allocations: 3.938 kB / 0.6393 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.1604, allocations: 11.92 kB / 0.6393 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.1604, allocations: 4 kB / 0.6393 GB, free: 13.43 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.0001286/0.1606, allocations: 145.8 kB / 0.6394 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.1606, allocations: 15.81 kB / 0.6394 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.1606, allocations: 21.41 kB / 0.6394 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.1607, allocations: 3.984 kB / 0.6395 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1607, allocations: 3.938 kB / 0.6395 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1607, allocations: 3.938 kB / 0.6395 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1609, allocations: 225.5 kB / 0.6397 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1609, allocations: 0 / 0.6397 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.175e-05/0.1609, allocations: 4 kB / 0.6397 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.1609, allocations: 3.984 kB / 0.6397 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.161, allocations: 0 / 0.6397 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.161, allocations: 0 / 0.6397 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.161, allocations: 4 kB / 0.6397 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.1612, allocations: 156.7 kB / 0.6398 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.1613, allocations: 88.92 kB / 0.6399 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1613, allocations: 0 / 0.6399 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.1614, allocations: 7.984 kB / 0.6399 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1614, allocations: 8 kB / 0.6399 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1614, allocations: 7.922 kB / 0.6399 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.1616, allocations: 204.2 kB / 0.6401 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1616, allocations: 0 / 0.6401 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1619, allocations: 31.98 kB / 0.6402 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.001006/0.1629, allocations: 427.3 kB / 0.6406 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1631, allocations: 71.91 kB / 0.6406 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1631, allocations: 0 / 0.6406 GB, free: 12.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.1632, allocations: 48.03 kB / 0.6407 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.0003045/0.1636, allocations: 41.44 kB / 0.6407 GB, free: 11.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.1641, allocations: 320.8 kB / 0.641 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1644, allocations: 0.724 MB / 0.6417 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.1645, allocations: 19.44 kB / 0.6418 GB, free: 10.88 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1645, allocations: 0 / 0.6418 GB, free: 10.88 MB / 494.1 MB Notification: Performance of Templates: time 0.00477/0.1692, allocations: 2.568 MB / 0.6443 GB, free: 8.316 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)