Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005614/0.005614, allocations: 100.5 kB / 15.73 MB, free: 6.016 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.001303/0.001303, allocations: 187.8 kB / 16.67 MB, free: 5.938 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 279 kB / 290.8 MB, free: 1.762 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9241/0.9241, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 87.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1552, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002946/0.1582, allocations: 1.775 MB / 0.7681 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1597, allocations: 1.026 MB / 0.7691 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.536e-05/0.1598, allocations: 3.938 kB / 0.7691 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006222/0.1604, allocations: 166.2 kB / 0.7693 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.1607, allocations: 115.5 kB / 0.7694 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1611, allocations: 166.7 kB / 0.7696 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.1614, allocations: 167.6 kB / 0.7697 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.1615, allocations: 24.86 kB / 0.7697 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.545e-05/0.1616, allocations: 75.69 kB / 0.7698 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1617, allocations: 67.73 kB / 0.7699 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1617, allocations: 8 kB / 0.7699 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1619, allocations: 67.91 kB / 0.7699 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.558e-05/0.1619, allocations: 47.83 kB / 0.77 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.709e-05/0.162, allocations: 63.61 kB / 0.7701 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.1623, allocations: 187.2 kB / 0.7702 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1623, allocations: 7.984 kB / 0.7702 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1623, allocations: 3.938 kB / 0.7702 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.1623, allocations: 0 / 0.7702 GB, free: 4.484 MB / 0.5606 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.0006686/0.163, allocations: 0.4922 MB / 0.7707 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.163, allocations: 8.031 kB / 0.7707 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.1631, allocations: 20.84 kB / 0.7708 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.1634, allocations: 257.5 kB / 0.771 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1634, allocations: 384 / 0.771 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1634, allocations: 8.125 kB / 0.771 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1636, allocations: 99.23 kB / 0.7711 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.433e-06/0.1636, allocations: 0 / 0.7711 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1636, allocations: 0 / 0.7711 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1636, allocations: 4 kB / 0.7711 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.984e-05/0.1637, allocations: 39.92 kB / 0.7711 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.1642, allocations: 348.7 kB / 0.7715 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1644, allocations: 74.67 kB / 0.7715 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.1645, allocations: 32.86 kB / 0.7716 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.1645, allocations: 7.984 kB / 0.7716 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.1647, allocations: 79.33 kB / 0.7717 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.1647, allocations: 0 / 0.7717 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003196/0.165, allocations: 149.4 kB / 0.7718 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.165, allocations: 81.09 kB / 0.7719 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.1653, allocations: 259.2 kB / 0.7721 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1653, allocations: 25.7 kB / 0.7722 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1655, allocations: 124.1 kB / 0.7723 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.1655, allocations: 23.8 kB / 0.7723 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.232e-05/0.1656, allocations: 29.7 kB / 0.7723 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1657, allocations: 330.8 kB / 0.7726 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.075e-05/0.1658, allocations: 23.98 kB / 0.7727 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.356e-05/0.1659, allocations: 67.41 kB / 0.7727 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.166, allocations: 78.16 kB / 0.7728 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.166, allocations: 3.938 kB / 0.7728 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000228/0.1662, allocations: 121.4 kB / 0.7729 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.1663, allocations: 4 kB / 0.7729 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1663, allocations: 4 kB / 0.7729 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.1663, allocations: 0 / 0.7729 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.1663, allocations: 11.98 kB / 0.7729 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.1664, allocations: 0 / 0.7729 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.506e-05/0.1664, allocations: 11.97 kB / 0.7729 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1664, allocations: 4 kB / 0.773 GB, free: 1.445 MB / 0.5606 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 0.0001149/0.1666, allocations: 141.8 kB / 0.7731 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.1666, allocations: 19.86 kB / 0.7731 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.1666, allocations: 21.39 kB / 0.7731 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.1666, allocations: 4 kB / 0.7731 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1667, allocations: 0 / 0.7731 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1667, allocations: 3.938 kB / 0.7731 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.1668, allocations: 229.5 kB / 0.7734 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1669, allocations: 0 / 0.7734 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.1669, allocations: 4 kB / 0.7734 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1669, allocations: 0 / 0.7734 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1669, allocations: 7.984 kB / 0.7734 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1669, allocations: 0 / 0.7734 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1669, allocations: 0 / 0.7734 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1671, allocations: 140.9 kB / 0.7735 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/0.1672, allocations: 101 kB / 0.7736 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1672, allocations: 4 kB / 0.7736 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.623e-05/0.1673, allocations: 0 / 0.7736 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.1673, allocations: 11.98 kB / 0.7736 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1673, allocations: 11.94 kB / 0.7736 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001753/0.1675, allocations: 193.1 kB / 0.7738 GB, free: 484 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1675, allocations: 0 / 0.7738 GB, free: 484 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002269/0.1678, allocations: 35.92 kB / 0.7738 GB, free: 448 kB / 0.5606 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.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.00089/0.1687, allocations: 420.9 kB / 0.7742 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.1689, allocations: 75.91 kB / 0.7743 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1689, allocations: 0 / 0.7743 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.766e-05/0.169, allocations: 39.92 kB / 0.7744 GB, free: 64 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.1693, allocations: 49.59 kB / 0.7744 GB, free: 24 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2998/0.469, allocations: 289.1 kB / 0.7747 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001714/0.4693, allocations: 0.7285 MB / 0.7754 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.4694, allocations: 23.22 kB / 0.7754 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.4694, allocations: 17.78 kB / 0.7754 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.724e-06/0.4694, allocations: 1.156 kB / 0.7754 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.006317/0.4758, allocations: 2.286 MB / 0.7777 GB, free: 14.78 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)