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.001238/0.001238, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001204/0.001204, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.255/1.255, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 294.2 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9104/0.9104, allocations: 169.3 MB / 0.4988 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 91.61 kB / 0.5959 GB, free: 15.12 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1435, allocations: 86.98 MB / 0.6808 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003042/0.1466, allocations: 1.772 MB / 0.6826 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.1482, allocations: 1.023 MB / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.1483, allocations: 4 kB / 0.6836 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.1489, allocations: 163.5 kB / 0.6837 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.1491, allocations: 111.6 kB / 0.6838 GB, free: 5.059 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.1496, allocations: 174.7 kB / 0.684 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.1498, allocations: 175.5 kB / 0.6842 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.462e-05/0.1499, allocations: 17.11 kB / 0.6842 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.15, allocations: 71.75 kB / 0.6843 GB, free: 4.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.1501, allocations: 71.69 kB / 0.6843 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.1501, allocations: 8 kB / 0.6843 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.1503, allocations: 55.97 kB / 0.6844 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.1504, allocations: 47.83 kB / 0.6844 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.1504, allocations: 63.61 kB / 0.6845 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1507, allocations: 191.6 kB / 0.6847 GB, free: 4.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1507, allocations: 0 / 0.6847 GB, free: 4.203 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1507, allocations: 0 / 0.6847 GB, free: 4.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1507, allocations: 4 kB / 0.6847 GB, free: 4.199 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.0006436/0.1514, allocations: 492.3 kB / 0.6851 GB, free: 3.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.1514, allocations: 12.03 kB / 0.6852 GB, free: 3.652 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.125e-05/0.1515, allocations: 20.73 kB / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.1518, allocations: 236.9 kB / 0.6854 GB, free: 3.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1518, allocations: 16.3 kB / 0.6854 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1518, allocations: 12.12 kB / 0.6854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.152, allocations: 87.31 kB / 0.6855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.152, allocations: 0 / 0.6855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.152, allocations: 0 / 0.6855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.152, allocations: 7.938 kB / 0.6855 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.1521, allocations: 35.98 kB / 0.6856 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.1526, allocations: 360.6 kB / 0.6859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1528, allocations: 70.67 kB / 0.686 GB, free: 2.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.465e-05/0.1529, allocations: 32.84 kB / 0.686 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.1529, allocations: 7.938 kB / 0.686 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.1531, allocations: 79.39 kB / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1531, allocations: 0 / 0.6861 GB, free: 2.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003295/0.1534, allocations: 153.4 kB / 0.6862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1535, allocations: 77.11 kB / 0.6863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1537, allocations: 259.7 kB / 0.6865 GB, free: 2.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1538, allocations: 25.7 kB / 0.6866 GB, free: 2.039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.1538, allocations: 120 kB / 0.6867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.1539, allocations: 27.73 kB / 0.6867 GB, free: 1.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.1539, allocations: 25.72 kB / 0.6867 GB, free: 1.859 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.154, allocations: 334.8 kB / 0.6871 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.191e-05/0.1541, allocations: 23.98 kB / 0.6871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.131e-05/0.1542, allocations: 59.42 kB / 0.6871 GB, free: 1.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.1543, allocations: 74.05 kB / 0.6872 GB, free: 1.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1543, allocations: 0 / 0.6872 GB, free: 1.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002084/0.1546, allocations: 125.3 kB / 0.6873 GB, free: 1.223 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1546, allocations: 4.109 kB / 0.6873 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1546, allocations: 3.938 kB / 0.6873 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.1546, allocations: 4 kB / 0.6873 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.1547, allocations: 11.98 kB / 0.6873 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1547, allocations: 4 kB / 0.6874 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.1548, allocations: 11.88 kB / 0.6874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1548, allocations: 12.03 kB / 0.6874 GB, free: 1.172 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.0001196/0.1549, allocations: 137.8 kB / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.1549, allocations: 15.81 kB / 0.6875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.155, allocations: 25.39 kB / 0.6875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.155, allocations: 0 / 0.6875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.155, allocations: 0 / 0.6875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.155, allocations: 7.938 kB / 0.6876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.1552, allocations: 217.6 kB / 0.6878 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1552, allocations: 0 / 0.6878 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.1552, allocations: 11.98 kB / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1553, allocations: 0 / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1553, allocations: 0 / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1553, allocations: 0 / 0.6878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1553, allocations: 4 kB / 0.6878 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1555, allocations: 152.7 kB / 0.6879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.1556, allocations: 85.02 kB / 0.688 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1556, allocations: 0 / 0.688 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.023e-05/0.1556, allocations: 12 kB / 0.688 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1557, allocations: 7.984 kB / 0.688 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1557, allocations: 7.938 kB / 0.688 GB, free: 412 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1559, allocations: 188.6 kB / 0.6882 GB, free: 224 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1559, allocations: 0 / 0.6882 GB, free: 224 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1561, allocations: 35.89 kB / 0.6882 GB, free: 188 kB / 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.2114/0.3675, allocations: 433.7 kB / 0.6887 GB, free: 18.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003018/0.3678, allocations: 80.86 kB / 0.6887 GB, free: 18.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3678, allocations: 0 / 0.6887 GB, free: 18.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.562e-05/0.3679, allocations: 40 kB / 0.6888 GB, free: 18.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.3683, allocations: 36.33 kB / 0.6888 GB, free: 18.27 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.3688, allocations: 332.9 kB / 0.6891 GB, free: 18.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.3689, allocations: 0.7221 MB / 0.6898 GB, free: 17.39 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.017e-05/0.369, allocations: 17.67 kB / 0.6898 GB, free: 17.38 MB / 494.1 MB Notification: Performance of SimCode: time 5.2e-07/0.369, allocations: 3.625 kB / 0.6899 GB, free: 17.38 MB / 494.1 MB Notification: Performance of Templates: time 0.004266/0.3733, allocations: 2.547 MB / 0.6923 GB, free: 17.18 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)