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.005927/0.005927, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001067/0.001067, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 298.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8957/0.8957, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 91.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3594, allocations: 86.98 MB / 0.7663 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002596/0.362, allocations: 1.457 MB / 0.7678 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000682/0.3627, allocations: 444.7 kB / 0.7682 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.3628, allocations: 0 / 0.7682 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.3628, allocations: 7.922 kB / 0.7682 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.438e-05/0.3629, allocations: 7.938 kB / 0.7682 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.363, allocations: 19.92 kB / 0.7682 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.074e-05/0.3631, allocations: 55.78 kB / 0.7683 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.373e-05/0.3632, allocations: 15.97 kB / 0.7683 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.3633, allocations: 15.94 kB / 0.7683 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.411e-05/0.3633, allocations: 23.91 kB / 0.7683 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.3634, allocations: 12 kB / 0.7683 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.068e-05/0.3634, allocations: 4 kB / 0.7683 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3634, allocations: 7.984 kB / 0.7684 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.3634, allocations: 27.88 kB / 0.7684 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.915e-05/0.3635, allocations: 43.53 kB / 0.7684 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3635, allocations: 3.984 kB / 0.7684 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3636, allocations: 0 / 0.7684 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.3636, allocations: 0 / 0.7684 GB, free: 1.781 MB / 0.5294 GB 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.0004569/0.364, allocations: 365.9 kB / 0.7688 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3641, allocations: 15.97 kB / 0.7688 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.3641, allocations: 4.844 kB / 0.7688 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3642, allocations: 164.4 kB / 0.769 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3642, allocations: 8.375 kB / 0.769 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3643, allocations: 4.375 kB / 0.769 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3644, allocations: 61.97 kB / 0.769 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.3644, allocations: 3.938 kB / 0.769 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3644, allocations: 4 kB / 0.769 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3644, allocations: 4 kB / 0.769 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.3645, allocations: 27.98 kB / 0.7691 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.3649, allocations: 304.6 kB / 0.7694 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.365, allocations: 54.59 kB / 0.7694 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.039e-05/0.3651, allocations: 24.95 kB / 0.7694 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.3651, allocations: 0 / 0.7694 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/0.3652, allocations: 75.38 kB / 0.7695 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.3652, allocations: 0 / 0.7695 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0002206/0.3654, allocations: 101.5 kB / 0.7696 GB, free: 424 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3655, allocations: 59.34 kB / 0.7697 GB, free: 352 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.3656, allocations: 105.9 kB / 0.7698 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.3656, allocations: 29.69 kB / 0.7698 GB, free: 200 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.3656, allocations: 88.12 kB / 0.7699 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3657, allocations: 23.72 kB / 0.7699 GB, free: 84 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.3657, allocations: 26.08 kB / 0.7699 GB, free: 52 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3658, allocations: 322.8 kB / 0.7702 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/0.3659, allocations: 15.98 kB / 0.7702 GB, free: 15.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.77e-05/0.3659, allocations: 43.42 kB / 0.7703 GB, free: 15.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.958e-05/0.366, allocations: 71.31 kB / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.366, allocations: 0 / 0.7703 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001364/0.3662, allocations: 101.5 kB / 0.7704 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3662, allocations: 4 kB / 0.7704 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3662, allocations: 0 / 0.7704 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3662, allocations: 4 kB / 0.7705 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.3663, allocations: 19.92 kB / 0.7705 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3663, allocations: 0 / 0.7705 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.3663, allocations: 7.938 kB / 0.7705 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.3664, allocations: 8.031 kB / 0.7705 GB, free: 15.43 MB / 0.545 GB 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/0.3664, allocations: 131.3 kB / 0.7706 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.3665, allocations: 8 kB / 0.7706 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.3665, allocations: 3.969 kB / 0.7706 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3665, allocations: 4 kB / 0.7706 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3665, allocations: 0 / 0.7706 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3665, allocations: 0 / 0.7706 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003588/0.3669, allocations: 370.3 kB / 0.771 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3669, allocations: 4.062 kB / 0.771 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.3669, allocations: 7.984 kB / 0.771 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3669, allocations: 0 / 0.771 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.3669, allocations: 0 / 0.771 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.367, allocations: 7.938 kB / 0.771 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.367, allocations: 0 / 0.771 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.3671, allocations: 183.4 kB / 0.7712 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.3672, allocations: 81.11 kB / 0.7713 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3672, allocations: 0 / 0.7713 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.3673, allocations: 11.92 kB / 0.7713 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.3673, allocations: 8 kB / 0.7713 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3673, allocations: 4.188 kB / 0.7713 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.847e-05/0.3674, allocations: 87.27 kB / 0.7714 GB, free: 14.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3674, allocations: 3.938 kB / 0.7714 GB, free: 14.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002336/0.3676, allocations: 15.94 kB / 0.7714 GB, free: 14.42 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.709e-05/0.3677, allocations: 106.5 kB / 0.7715 GB, free: 14.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3678, allocations: 51.86 kB / 0.7715 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.3678, allocations: 0 / 0.7715 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.042e-05/0.3679, allocations: 27.98 kB / 0.7716 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.3682, allocations: 11.98 kB / 0.7716 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.3685, allocations: 165.4 kB / 0.7717 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.3687, allocations: 0.6924 MB / 0.7724 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.3688, allocations: 7.984 kB / 0.7724 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.3688, allocations: 11.44 kB / 0.7724 GB, free: 13.29 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.3688, allocations: 0 / 0.7724 GB, free: 13.29 MB / 0.545 GB Notification: Performance of Templates: time 0.002683/0.3715, allocations: 0.8116 MB / 0.7732 GB, free: 12.48 MB / 0.545 GB 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)