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.00107/0.00107, allocations: 103 kB / 16.36 MB, free: 6.336 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.001258/0.001258, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002014/0.002014, allocations: 277.3 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.8883/0.8883, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 102.4 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1511, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.002866/0.154, allocations: 1.771 MB / 0.6833 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.1554, allocations: 1.023 MB / 0.6843 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.1555, allocations: 3.938 kB / 0.6843 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.1561, allocations: 175.5 kB / 0.6845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.1563, allocations: 107.6 kB / 0.6846 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1567, allocations: 174.7 kB / 0.6848 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1569, allocations: 167.5 kB / 0.6849 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.157, allocations: 33.06 kB / 0.6849 GB, free: 4.016 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.018e-05/0.1571, allocations: 67.77 kB / 0.685 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.517e-05/0.1572, allocations: 67.75 kB / 0.6851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1573, allocations: 8 kB / 0.6851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.1574, allocations: 67.89 kB / 0.6852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.1575, allocations: 43.84 kB / 0.6852 GB, free: 3.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.1575, allocations: 63.55 kB / 0.6853 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.1578, allocations: 199.3 kB / 0.6854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1578, allocations: 0 / 0.6854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1578, allocations: 0 / 0.6854 GB, free: 3.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1578, allocations: 0 / 0.6854 GB, free: 3.508 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.0006029/0.1584, allocations: 0.4886 MB / 0.6859 GB, free: 2.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1585, allocations: 8.031 kB / 0.6859 GB, free: 2.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.1585, allocations: 24.69 kB / 0.686 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1588, allocations: 240.9 kB / 0.6862 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.1588, allocations: 8.375 kB / 0.6862 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.1588, allocations: 4.125 kB / 0.6862 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.159, allocations: 91.31 kB / 0.6863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.159, allocations: 4 kB / 0.6863 GB, free: 2.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.159, allocations: 4 kB / 0.6863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.159, allocations: 4 kB / 0.6863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1591, allocations: 31.97 kB / 0.6863 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1596, allocations: 352.6 kB / 0.6867 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.1598, allocations: 74.67 kB / 0.6867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.783e-05/0.1599, allocations: 36.84 kB / 0.6868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1599, allocations: 0 / 0.6868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.16, allocations: 91.3 kB / 0.6869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.16, allocations: 0 / 0.6869 GB, free: 1.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003013/0.1603, allocations: 141.4 kB / 0.687 GB, free: 1.738 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1604, allocations: 81.11 kB / 0.6871 GB, free: 1.641 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.1606, allocations: 259.7 kB / 0.6873 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1607, allocations: 29.7 kB / 0.6873 GB, free: 1.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.1607, allocations: 124 kB / 0.6875 GB, free: 1.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.1608, allocations: 20.03 kB / 0.6875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1608, allocations: 25.7 kB / 0.6875 GB, free: 1.168 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.658e-05/0.1609, allocations: 330.8 kB / 0.6878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.501e-05/0.161, allocations: 31.92 kB / 0.6878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.1611, allocations: 63.47 kB / 0.6879 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1612, allocations: 77.62 kB / 0.688 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1612, allocations: 0 / 0.688 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001885/0.1614, allocations: 121.3 kB / 0.6881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1614, allocations: 4 kB / 0.6881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1614, allocations: 0 / 0.6881 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1614, allocations: 4.062 kB / 0.6881 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.1615, allocations: 16 kB / 0.6881 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1615, allocations: 4.141 kB / 0.6881 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.912e-05/0.1616, allocations: 15.86 kB / 0.6881 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1616, allocations: 0 / 0.6881 GB, free: 492 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.0001132/0.1617, allocations: 149.8 kB / 0.6883 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1618, allocations: 15.81 kB / 0.6883 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.1618, allocations: 13.41 kB / 0.6883 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.1618, allocations: 15.97 kB / 0.6883 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1618, allocations: 0 / 0.6883 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1618, allocations: 3.938 kB / 0.6883 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.162, allocations: 221.6 kB / 0.6885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.162, allocations: 0 / 0.6885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.162, allocations: 0 / 0.6885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.162, allocations: 4 kB / 0.6885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1621, allocations: 0 / 0.6885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1621, allocations: 0 / 0.6885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1621, allocations: 0 / 0.6885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2576/0.4197, allocations: 151.6 kB / 0.6887 GB, free: 18.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.4198, allocations: 89.83 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.4198, allocations: 9 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.916e-05/0.4199, allocations: 3.656 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.4199, allocations: 9.453 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.42, allocations: 7.078 kB / 0.6888 GB, free: 18.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.4202, allocations: 193.4 kB / 0.689 GB, free: 18.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.4202, allocations: 0 / 0.689 GB, free: 18.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003033/0.4205, allocations: 30.72 kB / 0.689 GB, free: 18.1 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.0009051/0.4214, allocations: 427.2 kB / 0.6894 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.4216, allocations: 67.7 kB / 0.6895 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4216, allocations: 2.312 kB / 0.6895 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.4217, allocations: 41.12 kB / 0.6895 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.422, allocations: 35.41 kB / 0.6896 GB, free: 17.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.4225, allocations: 302.5 kB / 0.6899 GB, free: 17.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.4227, allocations: 0.7304 MB / 0.6906 GB, free: 17.12 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.857e-05/0.4227, allocations: 23.62 kB / 0.6906 GB, free: 17.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.4228, allocations: 20.67 kB / 0.6906 GB, free: 17.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4228, allocations: 0.875 kB / 0.6906 GB, free: 17.11 MB / 494.1 MB Notification: Performance of Templates: time 0.005694/0.4285, allocations: 2.294 MB / 0.6928 GB, free: 16.96 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)