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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7488/0.7488, allocations: 143.4 MB / 159.2 MB, free: 4.848 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 197.7 kB / 191.9 MB, free: 5.711 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 447.3 MB, free: 5.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 103.8 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.00184, allocations: 281.8 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 91.84 kB / 0.6885 GB, free: 3.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3068, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.00235/0.3092, allocations: 1.521 MB / 0.7694 GB, free: 26.14 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005184/0.3098, allocations: 447 kB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.3098, allocations: 4 kB / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.3099, allocations: 0 / 0.7698 GB, free: 25.7 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.31, allocations: 7.922 kB / 0.7698 GB, free: 25.69 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3101, allocations: 15.94 kB / 0.7699 GB, free: 25.67 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.655e-05/0.3102, allocations: 59.77 kB / 0.7699 GB, free: 25.61 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.3103, allocations: 12 kB / 0.7699 GB, free: 25.6 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.913e-05/0.3103, allocations: 11.98 kB / 0.7699 GB, free: 25.59 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.914e-05/0.3104, allocations: 31.84 kB / 0.77 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.3104, allocations: 4 kB / 0.77 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.124e-05/0.3104, allocations: 0 / 0.77 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.3104, allocations: 8 kB / 0.77 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.3105, allocations: 23.86 kB / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 7.67e-05/0.3106, allocations: 46.55 kB / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3106, allocations: 0 / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3106, allocations: 0 / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.066e-06/0.3106, allocations: 3.938 kB / 0.77 GB, free: 25.48 MB / 458.7 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.0003828/0.311, allocations: 363.4 kB / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.311, allocations: 8.031 kB / 0.7704 GB, free: 25.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.311, allocations: 8.844 kB / 0.7704 GB, free: 25.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.799e-05/0.3111, allocations: 164.4 kB / 0.7706 GB, free: 24.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.3112, allocations: 4.375 kB / 0.7706 GB, free: 24.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.3112, allocations: 8.375 kB / 0.7706 GB, free: 24.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.3113, allocations: 61.92 kB / 0.7706 GB, free: 24.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3113, allocations: 0 / 0.7706 GB, free: 24.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3113, allocations: 8 kB / 0.7706 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3113, allocations: 4 kB / 0.7707 GB, free: 24.77 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.154e-05/0.3114, allocations: 23.98 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.3118, allocations: 300.7 kB / 0.771 GB, free: 24.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.364e-05/0.3118, allocations: 54.59 kB / 0.771 GB, free: 24.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.612e-05/0.3119, allocations: 28.94 kB / 0.771 GB, free: 24.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.3119, allocations: 4 kB / 0.771 GB, free: 24.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001214/0.312, allocations: 71.38 kB / 0.7711 GB, free: 24.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.312, allocations: 0 / 0.7711 GB, free: 24.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001769/0.3122, allocations: 105.5 kB / 0.7712 GB, free: 24.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.3123, allocations: 59.33 kB / 0.7713 GB, free: 24.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.481e-05/0.3123, allocations: 109.8 kB / 0.7714 GB, free: 23.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3123, allocations: 37.64 kB / 0.7714 GB, free: 23.88 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.3124, allocations: 88.12 kB / 0.7715 GB, free: 23.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3124, allocations: 19.72 kB / 0.7715 GB, free: 23.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.3124, allocations: 29.7 kB / 0.7715 GB, free: 23.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 3.927e-05/0.3125, allocations: 318.8 kB / 0.7718 GB, free: 23.42 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.026e-05/0.3125, allocations: 19.98 kB / 0.7719 GB, free: 23.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.3125, allocations: 43.42 kB / 0.7719 GB, free: 23.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.107e-05/0.3126, allocations: 67.38 kB / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3126, allocations: 0 / 0.772 GB, free: 23.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001054/0.3127, allocations: 89.61 kB / 0.7721 GB, free: 23.17 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.3128, allocations: 4.625 kB / 0.7721 GB, free: 23.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3128, allocations: 4 kB / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3128, allocations: 0 / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.3129, allocations: 11.94 kB / 0.7721 GB, free: 23.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.3129, allocations: 12.02 kB / 0.7721 GB, free: 23.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.3129, allocations: 15.84 kB / 0.7721 GB, free: 23.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3129, allocations: 4 kB / 0.7721 GB, free: 23.12 MB / 458.7 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,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 5.264e-05/0.313, allocations: 118.7 kB / 0.7722 GB, free: 23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.313, allocations: 0 / 0.7722 GB, free: 23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.3131, allocations: 15.95 kB / 0.7722 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3131, allocations: 0 / 0.7722 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3131, allocations: 0 / 0.7722 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3131, allocations: 0 / 0.7722 GB, free: 22.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.3133, allocations: 370.3 kB / 0.7726 GB, free: 22.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3134, allocations: 0 / 0.7726 GB, free: 22.56 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.3134, allocations: 4.469 kB / 0.7726 GB, free: 22.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3134, allocations: 4 kB / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3134, allocations: 0 / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3134, allocations: 3.938 kB / 0.7726 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3134, allocations: 7.922 kB / 0.7726 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.3137, allocations: 0.7514 MB / 0.7733 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.3137, allocations: 81.09 kB / 0.7734 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3137, allocations: 7.984 kB / 0.7734 GB, free: 21.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.3138, allocations: 8 kB / 0.7734 GB, free: 21.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.958e-05/0.3138, allocations: 7.984 kB / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.3138, allocations: 0 / 0.7734 GB, free: 21.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.165e-05/0.3139, allocations: 91.27 kB / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3139, allocations: 0 / 0.7735 GB, free: 21.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003139/0.3142, allocations: 12 kB / 0.7735 GB, free: 21.51 MB / 458.7 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 (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.095e-05/0.3143, allocations: 99.78 kB / 0.7736 GB, free: 21.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.3144, allocations: 47.92 kB / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3144, allocations: 0 / 0.7737 GB, free: 21.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.3145, allocations: 31.92 kB / 0.7737 GB, free: 21.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3147, allocations: 22.56 kB / 0.7737 GB, free: 21.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.3151, allocations: 290.1 kB / 0.774 GB, free: 20.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.568e-05/0.3152, allocations: 0.6887 MB / 0.7747 GB, free: 20.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.635e-05/0.3152, allocations: 11.94 kB / 0.7747 GB, free: 20.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.334e-05/0.3153, allocations: 11.44 kB / 0.7747 GB, free: 20.25 MB / 458.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3153, allocations: 0 / 0.7747 GB, free: 20.25 MB / 458.7 MB Notification: Performance of Templates: time 0.00233/0.3176, allocations: 0.7326 MB / 0.7754 GB, free: 19.52 MB / 458.7 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)