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.001499/0.001499, allocations: 109.9 kB / 15.99 MB, free: 6.359 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.001561/0.001561, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002418/0.002418, allocations: 288.9 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.12/1.12, allocations: 178.5 MB / 0.5076 GB, free: 12.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 95.84 kB / 0.6066 GB, free: 9.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1648, allocations: 89.14 MB / 0.6936 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003157/0.168, allocations: 1.85 MB / 0.6954 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1695, allocations: 0.9947 MB / 0.6964 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.1696, allocations: 7.938 kB / 0.6964 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.1701, allocations: 157.9 kB / 0.6966 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1704, allocations: 103.7 kB / 0.6967 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1708, allocations: 150.5 kB / 0.6968 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002128/0.171, allocations: 163.6 kB / 0.697 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1711, allocations: 41.08 kB / 0.697 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.84e-05/0.1712, allocations: 63.72 kB / 0.6971 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1714, allocations: 75.73 kB / 0.6971 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1714, allocations: 11.94 kB / 0.6971 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1715, allocations: 59.91 kB / 0.6972 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.1716, allocations: 43.89 kB / 0.6972 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.294e-05/0.1717, allocations: 59.61 kB / 0.6973 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1719, allocations: 144 kB / 0.6974 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1719, allocations: 0 / 0.6974 GB, free: 12.53 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1719, allocations: 4 kB / 0.6974 GB, free: 12.53 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.1719, allocations: 0 / 0.6974 GB, free: 12.53 MB / 0.545 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.000679/0.1726, allocations: 0.4924 MB / 0.6979 GB, free: 11.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.1726, allocations: 8.031 kB / 0.6979 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.1727, allocations: 16.75 kB / 0.6979 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.173, allocations: 248.8 kB / 0.6982 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.173, allocations: 384 / 0.6982 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.173, allocations: 12.12 kB / 0.6982 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.1732, allocations: 91.31 kB / 0.6983 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1732, allocations: 3.984 kB / 0.6983 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1733, allocations: 4 kB / 0.6983 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1733, allocations: 0 / 0.6983 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.1734, allocations: 35.98 kB / 0.6983 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005037/0.1739, allocations: 356.6 kB / 0.6987 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1741, allocations: 74.62 kB / 0.6987 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.1742, allocations: 32.84 kB / 0.6988 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.1742, allocations: 0 / 0.6988 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1744, allocations: 87.31 kB / 0.6988 GB, free: 10.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.1744, allocations: 4 kB / 0.6988 GB, free: 10.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003297/0.1747, allocations: 141.4 kB / 0.699 GB, free: 10.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.1748, allocations: 81.11 kB / 0.6991 GB, free: 10.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1751, allocations: 260 kB / 0.6993 GB, free: 10.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1751, allocations: 29.7 kB / 0.6993 GB, free: 10.36 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.1752, allocations: 120 kB / 0.6995 GB, free: 10.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1752, allocations: 23.66 kB / 0.6995 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1753, allocations: 37.64 kB / 0.6995 GB, free: 10.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1754, allocations: 334.8 kB / 0.6998 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.686e-05/0.1755, allocations: 27.98 kB / 0.6999 GB, free: 9.812 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.363e-05/0.1756, allocations: 59.34 kB / 0.6999 GB, free: 9.742 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.1757, allocations: 69.7 kB / 0.7 GB, free: 9.668 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1757, allocations: 3.938 kB / 0.7 GB, free: 9.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002045/0.1759, allocations: 117.5 kB / 0.7001 GB, free: 9.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.176, allocations: 8 kB / 0.7001 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.176, allocations: 384 / 0.7001 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.188e-06/0.176, allocations: 0 / 0.7001 GB, free: 9.535 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.1761, allocations: 8 kB / 0.7001 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1761, allocations: 4 kB / 0.7001 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.1761, allocations: 19.86 kB / 0.7001 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.1762, allocations: 0 / 0.7001 GB, free: 9.504 MB / 0.545 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.0001307/0.1763, allocations: 149.1 kB / 0.7003 GB, free: 9.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.1763, allocations: 15.92 kB / 0.7003 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.232e-05/0.1764, allocations: 29.33 kB / 0.7003 GB, free: 9.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.1764, allocations: 4 kB / 0.7003 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1764, allocations: 0 / 0.7003 GB, free: 9.301 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1764, allocations: 3.938 kB / 0.7003 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.1766, allocations: 221.5 kB / 0.7005 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1766, allocations: 0 / 0.7005 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.18e-05/0.1767, allocations: 7.938 kB / 0.7005 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1767, allocations: 0 / 0.7005 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1767, allocations: 15.98 kB / 0.7006 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.1767, allocations: 0 / 0.7006 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1767, allocations: 0 / 0.7006 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1769, allocations: 136.9 kB / 0.7007 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.108e-05/0.177, allocations: 100.9 kB / 0.7008 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.177, allocations: 7.938 kB / 0.7008 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.68e-05/0.1771, allocations: 4 kB / 0.7008 GB, free: 8.727 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.1771, allocations: 7.984 kB / 0.7008 GB, free: 8.719 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1771, allocations: 7.938 kB / 0.7008 GB, free: 8.711 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001874/0.1773, allocations: 195.3 kB / 0.701 GB, free: 8.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1773, allocations: 0 / 0.701 GB, free: 8.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002331/0.1776, allocations: 31.98 kB / 0.701 GB, free: 8.488 MB / 0.545 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.001408/0.179, allocations: 422 kB / 0.7014 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.1792, allocations: 83.91 kB / 0.7015 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1792, allocations: 0 / 0.7015 GB, free: 8.145 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.63e-05/0.1793, allocations: 31.98 kB / 0.7015 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1796, allocations: 37.17 kB / 0.7016 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.1801, allocations: 376.6 kB / 0.7019 GB, free: 7.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.1805, allocations: 0.7201 MB / 0.7026 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.1805, allocations: 23.42 kB / 0.7027 GB, free: 6.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1806, allocations: 4 kB / 0.7027 GB, free: 6.906 MB / 0.545 GB Notification: Performance of Templates: time 0.004482/0.185, allocations: 2.543 MB / 0.7052 GB, free: 4.371 MB / 0.545 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)