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.001238/0.001238, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001197/0.001197, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7256/0.7256, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 72.64 kB / 0.5577 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1505, allocations: 76.18 MB / 0.6321 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002982/0.1535, allocations: 1.769 MB / 0.6338 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1552, allocations: 1.033 MB / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.107e-05/0.1553, allocations: 0 / 0.6348 GB, free: 1.57 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.156, allocations: 163.5 kB / 0.635 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1563, allocations: 107.6 kB / 0.6351 GB, free: 1.305 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.1567, allocations: 176.9 kB / 0.6352 GB, free: 1.137 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.1569, allocations: 167.6 kB / 0.6354 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1571, allocations: 21.12 kB / 0.6354 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1572, allocations: 79.62 kB / 0.6355 GB, free: 0.875 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1573, allocations: 67.73 kB / 0.6356 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1573, allocations: 8 kB / 0.6356 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.1575, allocations: 59.97 kB / 0.6356 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.1575, allocations: 47.83 kB / 0.6357 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.1576, allocations: 59.61 kB / 0.6357 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002676/0.1579, allocations: 191.4 kB / 0.6359 GB, free: 460 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1579, allocations: 7.875 kB / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1579, allocations: 4 kB / 0.6359 GB, free: 448 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1579, allocations: 0 / 0.6359 GB, free: 448 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.0007293/0.1587, allocations: 496.3 kB / 0.6364 GB, free: 15.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1587, allocations: 8.031 kB / 0.6364 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.1588, allocations: 16.75 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1591, allocations: 248.8 kB / 0.6367 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1591, allocations: 8.359 kB / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1591, allocations: 4.125 kB / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.1593, allocations: 103.2 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1593, allocations: 0 / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1593, allocations: 0 / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1594, allocations: 4 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.822e-05/0.1595, allocations: 27.98 kB / 0.6368 GB, free: 15.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.1599, allocations: 352.7 kB / 0.6371 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1601, allocations: 86.59 kB / 0.6372 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/0.1602, allocations: 28.86 kB / 0.6372 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1602, allocations: 3.984 kB / 0.6373 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.1604, allocations: 79.39 kB / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1604, allocations: 0 / 0.6373 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003235/0.1607, allocations: 149.4 kB / 0.6375 GB, free: 14.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1608, allocations: 77.11 kB / 0.6375 GB, free: 14.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.1611, allocations: 266.9 kB / 0.6378 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1611, allocations: 29.7 kB / 0.6378 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.1612, allocations: 116.1 kB / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.744e-05/0.1612, allocations: 23.66 kB / 0.638 GB, free: 14.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/0.1613, allocations: 29.64 kB / 0.638 GB, free: 14.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1614, allocations: 331 kB / 0.6383 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.1614, allocations: 31.98 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.164e-05/0.1615, allocations: 63.34 kB / 0.6384 GB, free: 13.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.1617, allocations: 69.7 kB / 0.6385 GB, free: 13.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1617, allocations: 3.938 kB / 0.6385 GB, free: 13.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001856/0.1619, allocations: 117.4 kB / 0.6386 GB, free: 13.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1619, allocations: 8.062 kB / 0.6386 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1619, allocations: 0 / 0.6386 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1619, allocations: 112 / 0.6386 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.753e-05/0.162, allocations: 15.94 kB / 0.6386 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.162, allocations: 7.984 kB / 0.6386 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.1621, allocations: 7.938 kB / 0.6386 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1621, allocations: 0 / 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.0001155/0.1622, allocations: 145.8 kB / 0.6388 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1623, allocations: 19.81 kB / 0.6388 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.458e-05/0.1623, allocations: 17.39 kB / 0.6388 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.1623, allocations: 4 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1623, allocations: 0 / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1623, allocations: 3.938 kB / 0.6388 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.1626, allocations: 229.5 kB / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1626, allocations: 0 / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.1626, allocations: 7.938 kB / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1626, allocations: 0 / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.1626, allocations: 3.984 kB / 0.639 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1626, allocations: 4 kB / 0.639 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1626, allocations: 0 / 0.639 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.1628, allocations: 144.9 kB / 0.6392 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.1629, allocations: 96.91 kB / 0.6393 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1629, allocations: 3.938 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.666e-05/0.163, allocations: 4 kB / 0.6393 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.163, allocations: 11.98 kB / 0.6393 GB, free: 12.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.163, allocations: 3.938 kB / 0.6393 GB, free: 12.62 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001758/0.1632, allocations: 200.2 kB / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1632, allocations: 4 kB / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.1635, allocations: 31.98 kB / 0.6395 GB, free: 12.39 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.0009848/0.1645, allocations: 425.8 kB / 0.6399 GB, free: 12.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1647, allocations: 75.91 kB / 0.64 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1647, allocations: 64 / 0.64 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.709e-05/0.1648, allocations: 35.98 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.0003031/0.1651, allocations: 49.78 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.000501/0.1656, allocations: 287.1 kB / 0.6403 GB, free: 11.68 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1659, allocations: 0.724 MB / 0.6411 GB, free: 10.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.425e-05/0.166, allocations: 33.64 kB / 0.6411 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.977e-05/0.1661, allocations: 19.44 kB / 0.6411 GB, free: 10.88 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1661, allocations: 0 / 0.6411 GB, free: 10.88 MB / 494.1 MB Notification: Performance of Templates: time 0.005395/0.1715, allocations: 2.285 MB / 0.6433 GB, free: 8.605 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)