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.001913/0.001913, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001673/0.001673, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002562/0.002562, allocations: 276 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.507 GB, free: 4.676 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004002/0.004002, allocations: 103.2 kB / 0.6059 GB, free: 25.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1604, allocations: 89.15 MB / 0.693 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003336/0.1638, allocations: 1.843 MB / 0.6948 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.1656, allocations: 1.006 MB / 0.6958 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.362e-05/0.1657, allocations: 0 / 0.6958 GB, free: 1.816 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006475/0.1663, allocations: 160.6 kB / 0.6959 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.1666, allocations: 103.6 kB / 0.696 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.1671, allocations: 154.3 kB / 0.6962 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002341/0.1673, allocations: 167.6 kB / 0.6963 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1674, allocations: 29.09 kB / 0.6963 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1676, allocations: 67.77 kB / 0.6964 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1677, allocations: 71.69 kB / 0.6965 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.1677, allocations: 8 kB / 0.6965 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.1679, allocations: 59.95 kB / 0.6965 GB, free: 1.016 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.1679, allocations: 43.84 kB / 0.6966 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.942e-05/0.168, allocations: 71.48 kB / 0.6967 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.1683, allocations: 191.7 kB / 0.6968 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.902e-06/0.1683, allocations: 4 kB / 0.6968 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1683, allocations: 0 / 0.6968 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1683, allocations: 0 / 0.6968 GB, free: 0.7109 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.0007985/0.1692, allocations: 496.3 kB / 0.6973 GB, free: 176 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1692, allocations: 12.03 kB / 0.6973 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.1693, allocations: 12.75 kB / 0.6973 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1696, allocations: 248.8 kB / 0.6976 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1696, allocations: 4.375 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.1696, allocations: 8.062 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1698, allocations: 95.38 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1699, allocations: 0 / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1699, allocations: 0 / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.1699, allocations: 4 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.17, allocations: 35.91 kB / 0.6977 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.1705, allocations: 348.7 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001992/0.1708, allocations: 78.61 kB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.1708, allocations: 36.84 kB / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.1709, allocations: 0 / 0.6982 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001729/0.1711, allocations: 87.36 kB / 0.6982 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.1711, allocations: 0 / 0.6982 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003608/0.1714, allocations: 145.4 kB / 0.6984 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.1715, allocations: 77.11 kB / 0.6985 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.1718, allocations: 260.1 kB / 0.6987 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.1718, allocations: 29.7 kB / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.1719, allocations: 116.1 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.172, allocations: 27.92 kB / 0.6989 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.172, allocations: 25.7 kB / 0.6989 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1722, allocations: 330.8 kB / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.882e-05/0.1723, allocations: 35.92 kB / 0.6992 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1724, allocations: 71.3 kB / 0.6993 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1725, allocations: 69.69 kB / 0.6994 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1725, allocations: 0 / 0.6994 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002232/0.1728, allocations: 121.5 kB / 0.6995 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1728, allocations: 12.05 kB / 0.6995 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1728, allocations: 0 / 0.6995 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1728, allocations: 0 / 0.6995 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/0.1729, allocations: 12 kB / 0.6995 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1729, allocations: 3.938 kB / 0.6995 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.84e-05/0.173, allocations: 7.938 kB / 0.6995 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.173, allocations: 4 kB / 0.6995 GB, free: 13.7 MB / 0.4981 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.0001642/0.1731, allocations: 145.8 kB / 0.6997 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1732, allocations: 19.81 kB / 0.6997 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.23e-05/0.1732, allocations: 13.41 kB / 0.6997 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.1733, allocations: 7.984 kB / 0.6997 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1733, allocations: 0 / 0.6997 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1733, allocations: 3.938 kB / 0.6997 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.1735, allocations: 225.5 kB / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1735, allocations: 0 / 0.6999 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.1735, allocations: 4 kB / 0.6999 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1736, allocations: 0 / 0.6999 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1736, allocations: 3.984 kB / 0.6999 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1736, allocations: 0 / 0.6999 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1736, allocations: 4 kB / 0.6999 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1738, allocations: 152.8 kB / 0.7001 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.1739, allocations: 92.92 kB / 0.7002 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1739, allocations: 0 / 0.7002 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-05/0.174, allocations: 11.97 kB / 0.7002 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.174, allocations: 4 kB / 0.7002 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1741, allocations: 7.938 kB / 0.7002 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000205/0.1743, allocations: 207.3 kB / 0.7004 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1743, allocations: 0 / 0.7004 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002364/0.1745, allocations: 28 kB / 0.7004 GB, free: 12.68 MB / 0.4981 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.001536/0.1761, allocations: 424.2 kB / 0.7008 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.1763, allocations: 79.89 kB / 0.7009 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1763, allocations: 0 / 0.7009 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.1764, allocations: 40.05 kB / 0.7009 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.1767, allocations: 43.73 kB / 0.701 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005505/0.1773, allocations: 323.4 kB / 0.7013 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1776, allocations: 0.724 MB / 0.702 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.531e-05/0.1777, allocations: 25.72 kB / 0.702 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.1778, allocations: 23.44 kB / 0.702 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1778, allocations: 0 / 0.702 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.006031/0.1838, allocations: 2.249 MB / 0.7042 GB, free: 8.91 MB / 0.4981 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)