Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") translateModel(BuildingSystems.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007916/0.000792, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0007757/0.0007757, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001726/0.001726, allocations: 266.9 kB / 291.3 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9117/0.9117, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004172, allocations: 19.06 kB / 0.598 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1497, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.001478/0.1513, allocations: 1.168 MB / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005866/0.1519, allocations: 407.5 kB / 0.686 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.1519, allocations: 0 / 0.686 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.1519, allocations: 3.938 kB / 0.686 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/0.152, allocations: 11.92 kB / 0.686 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.1522, allocations: 19.98 kB / 0.686 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.122e-05/0.1522, allocations: 46.62 kB / 0.6861 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.1523, allocations: 15.98 kB / 0.6861 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.1524, allocations: 11.94 kB / 0.6861 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.1524, allocations: 23.91 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1525, allocations: 3.938 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.1525, allocations: 4 kB / 0.6861 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.1525, allocations: 9.422 kB / 0.6861 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.1525, allocations: 37.64 kB / 0.6862 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.233e-05/0.1526, allocations: 32.16 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1526, allocations: 0 / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1526, allocations: 0.5 kB / 0.6862 GB, free: 13.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.745e-06/0.1526, allocations: 0 / 0.6862 GB, free: 13.68 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00044/0.1531, allocations: 354.6 kB / 0.6865 GB, free: 13.29 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.1531, allocations: 8.031 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.952e-05/0.1531, allocations: 4 kB / 0.6866 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.1533, allocations: 174.9 kB / 0.6867 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1533, allocations: 0 / 0.6867 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.1534, allocations: 8.625 kB / 0.6867 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.1535, allocations: 58.28 kB / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1535, allocations: 3.984 kB / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1535, allocations: 1.375 kB / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1535, allocations: 0 / 0.6868 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.1536, allocations: 27.98 kB / 0.6868 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.1541, allocations: 304.9 kB / 0.6871 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.672e-05/0.1542, allocations: 54.56 kB / 0.6872 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.1543, allocations: 28.94 kB / 0.6872 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.1543, allocations: 4.766 kB / 0.6872 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.1544, allocations: 72.89 kB / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.1545, allocations: 0 / 0.6873 GB, free: 12.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002034/0.1547, allocations: 106.4 kB / 0.6874 GB, free: 12.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.1547, allocations: 53.38 kB / 0.6874 GB, free: 12.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.1548, allocations: 105.9 kB / 0.6875 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1548, allocations: 33.64 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.968e-05/0.1549, allocations: 88.05 kB / 0.6876 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1549, allocations: 27.73 kB / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1549, allocations: 4 kB / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.155, allocations: 310.8 kB / 0.688 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.1551, allocations: 23.92 kB / 0.688 GB, free: 11.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.1551, allocations: 43.42 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.1552, allocations: 20 kB / 0.688 GB, free: 11.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1552, allocations: 0 / 0.688 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.1553, allocations: 105.5 kB / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1553, allocations: 4 kB / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1553, allocations: 0 / 0.6881 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1553, allocations: 7.953 kB / 0.6882 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.1554, allocations: 8.062 kB / 0.6882 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1554, allocations: 4 kB / 0.6882 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.1555, allocations: 11.98 kB / 0.6882 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1555, allocations: 4 kB / 0.6882 GB, free: 11.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.333e-05/0.1556, allocations: 126.5 kB / 0.6883 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.1556, allocations: 3.906 kB / 0.6883 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.1557, allocations: 15.95 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1557, allocations: 0 / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1557, allocations: 3.953 kB / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1557, allocations: 0 / 0.6883 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.156, allocations: 362.4 kB / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1561, allocations: 0 / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.1561, allocations: 4 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1561, allocations: 4 kB / 0.6887 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1561, allocations: 3.953 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1561, allocations: 0 / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1561, allocations: 3.938 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1563, allocations: 183.5 kB / 0.6889 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.646e-05/0.1563, allocations: 81.11 kB / 0.6889 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1563, allocations: 11.92 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/0.1564, allocations: 8.234 kB / 0.689 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1565, allocations: 11.98 kB / 0.689 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1565, allocations: 4 kB / 0.689 GB, free: 10.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.226e-05/0.1565, allocations: 87.25 kB / 0.6891 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1565, allocations: 3.938 kB / 0.6891 GB, free: 10.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1568, allocations: 15.91 kB / 0.6891 GB, free: 10.43 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001002/0.1569, allocations: 100.7 kB / 0.6892 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.157, allocations: 51.92 kB / 0.6892 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.157, allocations: 0 / 0.6892 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.357e-05/0.1571, allocations: 35.92 kB / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.1573, allocations: 7.984 kB / 0.6893 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.1577, allocations: 176.8 kB / 0.6894 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.1579, allocations: 0.6861 MB / 0.6901 GB, free: 9.316 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.73e-05/0.158, allocations: 7.938 kB / 0.6901 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.158, allocations: 15.42 kB / 0.6901 GB, free: 9.293 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.158, allocations: 4 kB / 0.6901 GB, free: 9.289 MB / 494.1 MB Notification: Performance of Templates: time 0.002564/0.1606, allocations: 0.6653 MB / 0.6908 GB, free: 8.637 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)