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.00141/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001619/0.001619, allocations: 194.1 kB / 16.14 MB, free: 6.66 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.747/1.747, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002027, allocations: 282.7 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.153/1.153, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 95.19 kB / 0.5945 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1701, allocations: 86.98 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003105/0.1732, allocations: 1.826 MB / 0.6812 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1747, allocations: 1.013 MB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.1748, allocations: 0 / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.1754, allocations: 152.9 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.1756, allocations: 102.3 kB / 0.6825 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.176, allocations: 150.3 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.1762, allocations: 169.5 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.721e-05/0.1763, allocations: 25.09 kB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.1764, allocations: 63.69 kB / 0.6828 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1765, allocations: 64.47 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.1765, allocations: 4 kB / 0.6829 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.1767, allocations: 56.78 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.1767, allocations: 39.84 kB / 0.683 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.756e-05/0.1768, allocations: 59.59 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1771, allocations: 192.2 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1771, allocations: 1.406 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1771, allocations: 0 / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1771, allocations: 0 / 0.6832 GB, free: 13.27 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.0006657/0.1778, allocations: 496.9 kB / 0.6837 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1778, allocations: 12.03 kB / 0.6837 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1779, allocations: 28.73 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.1781, allocations: 245.5 kB / 0.684 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.1782, allocations: 4.375 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.1782, allocations: 8.125 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.1784, allocations: 91.25 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1784, allocations: 4 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.1784, allocations: 7.984 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.1785, allocations: 4 kB / 0.6841 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.773e-05/0.1786, allocations: 31.98 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.1791, allocations: 356.6 kB / 0.6845 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.1793, allocations: 70.67 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.1793, allocations: 40.84 kB / 0.6846 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1794, allocations: 0 / 0.6846 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1795, allocations: 79.33 kB / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1795, allocations: 0 / 0.6847 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003294/0.1799, allocations: 149.4 kB / 0.6848 GB, free: 11.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1799, allocations: 77.11 kB / 0.6849 GB, free: 11.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.1802, allocations: 263 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1802, allocations: 29.7 kB / 0.6851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.1803, allocations: 120 kB / 0.6853 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1803, allocations: 27.62 kB / 0.6853 GB, free: 10.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.1804, allocations: 26 kB / 0.6853 GB, free: 10.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1805, allocations: 334.8 kB / 0.6856 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.792e-05/0.1806, allocations: 27.98 kB / 0.6857 GB, free: 10.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-05/0.1807, allocations: 63.36 kB / 0.6857 GB, free: 10.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.1808, allocations: 73.64 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1808, allocations: 0 / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002054/0.181, allocations: 113.5 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.181, allocations: 7.938 kB / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1811, allocations: 0 / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1811, allocations: 0 / 0.6859 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.1811, allocations: 24.05 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1812, allocations: 0 / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.1812, allocations: 11.88 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1812, allocations: 0 / 0.6859 GB, free: 10.25 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.0001244/0.1814, allocations: 146.4 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.1814, allocations: 15.81 kB / 0.6861 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.228e-05/0.1815, allocations: 17.39 kB / 0.6861 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1815, allocations: 4 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1815, allocations: 4 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1815, allocations: 3.938 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1817, allocations: 229.5 kB / 0.6863 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1817, allocations: 4 kB / 0.6863 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.1817, allocations: 3.984 kB / 0.6863 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1817, allocations: 4 kB / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1817, allocations: 0 / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1817, allocations: 0 / 0.6864 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1817, allocations: 3.984 kB / 0.6864 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.182, allocations: 156.8 kB / 0.6865 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.182, allocations: 92.92 kB / 0.6866 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.1821, allocations: 0 / 0.6866 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.137e-05/0.1821, allocations: 4 kB / 0.6866 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.1822, allocations: 3.984 kB / 0.6866 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.749e-06/0.1822, allocations: 7.938 kB / 0.6866 GB, free: 9.461 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001772/0.1824, allocations: 196.6 kB / 0.6868 GB, free: 9.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1824, allocations: 4 kB / 0.6868 GB, free: 9.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002308/0.1826, allocations: 24 kB / 0.6868 GB, free: 9.242 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.0009234/0.1835, allocations: 430.5 kB / 0.6872 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.1838, allocations: 75.91 kB / 0.6873 GB, free: 8.898 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1838, allocations: 0 / 0.6873 GB, free: 8.898 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.147e-05/0.1838, allocations: 32 kB / 0.6873 GB, free: 8.867 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1841, allocations: 38.66 kB / 0.6874 GB, free: 8.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.1846, allocations: 336.8 kB / 0.6877 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1849, allocations: 0.7243 MB / 0.6884 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.185, allocations: 21.42 kB / 0.6884 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.1851, allocations: 23.36 kB / 0.6884 GB, free: 7.684 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1851, allocations: 0 / 0.6884 GB, free: 7.684 MB / 494.1 MB Notification: Performance of Templates: time 0.005144/0.1902, allocations: 2.197 MB / 0.6906 GB, free: 5.52 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)