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.001235/0.001235, allocations: 104.6 kB / 16.35 MB, free: 5.828 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.00128/0.00128, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.228/1.228, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 289.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8738/0.8738, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 90.52 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1596, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003589/0.1632, allocations: 1.779 MB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1649, allocations: 1.019 MB / 0.6843 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.165, allocations: 0 / 0.6843 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.1656, allocations: 167.5 kB / 0.6845 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003022/0.1659, allocations: 115.6 kB / 0.6846 GB, free: 4.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.1664, allocations: 174.6 kB / 0.6848 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.1667, allocations: 163.6 kB / 0.6849 GB, free: 4.059 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1668, allocations: 33.08 kB / 0.6849 GB, free: 4.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1669, allocations: 63.77 kB / 0.685 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1671, allocations: 71.69 kB / 0.6851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.1671, allocations: 8 kB / 0.6851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.1673, allocations: 63.95 kB / 0.6851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1674, allocations: 39.84 kB / 0.6852 GB, free: 3.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.254e-05/0.1675, allocations: 59.61 kB / 0.6852 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.1678, allocations: 203.3 kB / 0.6854 GB, free: 3.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1678, allocations: 0 / 0.6854 GB, free: 3.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1678, allocations: 4 kB / 0.6854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1678, allocations: 4 kB / 0.6854 GB, free: 3.52 MB / 494.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.0007278/0.1685, allocations: 492.3 kB / 0.6859 GB, free: 2.984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.1686, allocations: 15.97 kB / 0.6859 GB, free: 2.969 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.962e-05/0.1687, allocations: 16.75 kB / 0.6859 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.169, allocations: 244.8 kB / 0.6862 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.169, allocations: 4.375 kB / 0.6862 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.169, allocations: 12.12 kB / 0.6862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1692, allocations: 91.36 kB / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1692, allocations: 0 / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1692, allocations: 0 / 0.6863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.1693, allocations: 11.94 kB / 0.6863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.727e-05/0.1694, allocations: 39.91 kB / 0.6863 GB, free: 2.504 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.1699, allocations: 348.7 kB / 0.6867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1701, allocations: 78.61 kB / 0.6867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.958e-05/0.1702, allocations: 32.84 kB / 0.6868 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.1702, allocations: 4 kB / 0.6868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1704, allocations: 79.38 kB / 0.6868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.1704, allocations: 0 / 0.6868 GB, free: 1.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.000336/0.1707, allocations: 149.4 kB / 0.687 GB, free: 1.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/0.1708, allocations: 77.11 kB / 0.6871 GB, free: 1.652 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.171, allocations: 259.7 kB / 0.6873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.1711, allocations: 29.7 kB / 0.6873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1712, allocations: 116 kB / 0.6874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/0.1713, allocations: 23.73 kB / 0.6875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.857e-05/0.1713, allocations: 29.7 kB / 0.6875 GB, free: 1.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1714, allocations: 342.8 kB / 0.6878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.1715, allocations: 23.98 kB / 0.6878 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.114e-05/0.1716, allocations: 63.41 kB / 0.6879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1717, allocations: 66.08 kB / 0.688 GB, free: 0.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1717, allocations: 4 kB / 0.688 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002054/0.172, allocations: 129.3 kB / 0.6881 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.172, allocations: 4 kB / 0.6881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.172, allocations: 0 / 0.6881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.172, allocations: 7.984 kB / 0.6881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.1721, allocations: 11.94 kB / 0.6881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1721, allocations: 0 / 0.6881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.1722, allocations: 15.88 kB / 0.6881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.1722, allocations: 4 kB / 0.6881 GB, free: 500 kB / 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.0001218/0.1723, allocations: 145.8 kB / 0.6883 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.1723, allocations: 15.81 kB / 0.6883 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.128e-05/0.1724, allocations: 17.41 kB / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.1724, allocations: 0 / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1724, allocations: 0 / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1724, allocations: 11.92 kB / 0.6883 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1726, allocations: 213.6 kB / 0.6885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1726, allocations: 0 / 0.6885 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.1727, allocations: 4 kB / 0.6885 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1727, allocations: 0 / 0.6885 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1727, allocations: 4 kB / 0.6885 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1727, allocations: 4 kB / 0.6885 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1727, allocations: 7.938 kB / 0.6885 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2367/0.4094, allocations: 142.3 kB / 0.6887 GB, free: 18.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.4095, allocations: 90.12 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.4095, allocations: 3.906 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.4096, allocations: 4.641 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.4096, allocations: 5.25 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4097, allocations: 8.438 kB / 0.6888 GB, free: 18.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001881/0.4099, allocations: 194.4 kB / 0.689 GB, free: 18.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4099, allocations: 6.5 kB / 0.689 GB, free: 18.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000288/0.4102, allocations: 27.89 kB / 0.689 GB, free: 18.05 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.000913/0.4111, allocations: 427.8 kB / 0.6894 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.4113, allocations: 78.08 kB / 0.6895 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4113, allocations: 0.9375 kB / 0.6895 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.68e-05/0.4114, allocations: 38.92 kB / 0.6895 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.4117, allocations: 47.03 kB / 0.6896 GB, free: 17.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.4121, allocations: 295.2 kB / 0.6899 GB, free: 17.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.4123, allocations: 0.7261 MB / 0.6906 GB, free: 17.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.221e-05/0.4123, allocations: 23.25 kB / 0.6906 GB, free: 17.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.4124, allocations: 17.97 kB / 0.6906 GB, free: 17.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4124, allocations: 2.781 kB / 0.6906 GB, free: 17.07 MB / 494.1 MB Notification: Performance of Templates: time 0.005315/0.4177, allocations: 2.286 MB / 0.6928 GB, free: 16.92 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)