Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001503/0.001508, allocations: 99.59 kB / 16.63 MB, free: 6.824 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.001157/0.001157, allocations: 189.9 kB / 17.57 MB, free: 5.934 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.395/1.395, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7991/0.7991, allocations: 125.4 MB / 416.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 63.89 kB / 0.4943 GB, free: 4.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2994, allocations: 78.56 MB / 0.571 GB, free: 31.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002303/0.3018, allocations: 1.512 MB / 0.5725 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000573/0.3023, allocations: 431.1 kB / 0.5729 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.598e-05/0.3024, allocations: 1.312 kB / 0.5729 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3024, allocations: 6.984 kB / 0.5729 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.687e-05/0.3025, allocations: 10.38 kB / 0.5729 GB, free: 30.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001172/0.3026, allocations: 22.86 kB / 0.5729 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.889e-05/0.3027, allocations: 50.5 kB / 0.573 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.252e-05/0.3028, allocations: 14.94 kB / 0.573 GB, free: 30.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.3029, allocations: 29.81 kB / 0.573 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.3029, allocations: 19.09 kB / 0.573 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3029, allocations: 4.375 kB / 0.573 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.197e-05/0.3029, allocations: 3.906 kB / 0.573 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.303, allocations: 9.938 kB / 0.5731 GB, free: 30.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.303, allocations: 25.56 kB / 0.5731 GB, free: 30.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.738e-05/0.3031, allocations: 32.31 kB / 0.5731 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3031, allocations: 1.188 kB / 0.5731 GB, free: 30.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3031, allocations: 0.75 kB / 0.5731 GB, free: 30.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.3031, allocations: 0 / 0.5731 GB, free: 30.09 MB / 446.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.0003969/0.3035, allocations: 361.3 kB / 0.5735 GB, free: 29.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.3036, allocations: 9.188 kB / 0.5735 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.3036, allocations: 10.12 kB / 0.5735 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.392e-05/0.3037, allocations: 165.1 kB / 0.5736 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3037, allocations: 2.812 kB / 0.5736 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.3037, allocations: 12.55 kB / 0.5736 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.925e-05/0.3038, allocations: 58.69 kB / 0.5737 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.3038, allocations: 4.578 kB / 0.5737 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.3038, allocations: 1.859 kB / 0.5737 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3039, allocations: 2.031 kB / 0.5737 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.549e-05/0.3039, allocations: 26.02 kB / 0.5737 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.3043, allocations: 305.1 kB / 0.574 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/0.3044, allocations: 56.05 kB / 0.5741 GB, free: 29.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.87e-05/0.3044, allocations: 22.22 kB / 0.5741 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.3045, allocations: 1.656 kB / 0.5741 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.3046, allocations: 75.83 kB / 0.5742 GB, free: 29.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.3046, allocations: 0 / 0.5742 GB, free: 29.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002013/0.3048, allocations: 113.2 kB / 0.5743 GB, free: 29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.24e-05/0.3048, allocations: 56.14 kB / 0.5743 GB, free: 28.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.989e-05/0.3049, allocations: 103.9 kB / 0.5744 GB, free: 28.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.3049, allocations: 30.98 kB / 0.5745 GB, free: 28.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.3049, allocations: 86.52 kB / 0.5745 GB, free: 28.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.305, allocations: 21.17 kB / 0.5746 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.305, allocations: 29.75 kB / 0.5746 GB, free: 28.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.3051, allocations: 324 kB / 0.5749 GB, free: 28.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.516e-05/0.3051, allocations: 15.44 kB / 0.5749 GB, free: 28.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.592e-05/0.3051, allocations: 48.66 kB / 0.575 GB, free: 28.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.3052, allocations: 68 kB / 0.575 GB, free: 28.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3052, allocations: 0 / 0.575 GB, free: 28.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001184/0.3054, allocations: 97.48 kB / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3054, allocations: 7.938 kB / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3054, allocations: 0 / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3054, allocations: 3.438 kB / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.187e-05/0.3055, allocations: 7.938 kB / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.3055, allocations: 3.781 kB / 0.5751 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.3055, allocations: 13.28 kB / 0.5752 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3056, allocations: 8.281 kB / 0.5752 GB, free: 28.19 MB / 446.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,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.463e-05/0.3056, allocations: 129.1 kB / 0.5753 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.3056, allocations: 10.61 kB / 0.5753 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.3057, allocations: 12.67 kB / 0.5753 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3057, allocations: 1.094 kB / 0.5753 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.3057, allocations: 0 / 0.5753 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3057, allocations: 1.562 kB / 0.5753 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002978/0.306, allocations: 351.8 kB / 0.5757 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.306, allocations: 1.906 kB / 0.5757 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.306, allocations: 5.312 kB / 0.5757 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.306, allocations: 4.734 kB / 0.5757 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.306, allocations: 1.562 kB / 0.5757 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3061, allocations: 5.641 kB / 0.5757 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3061, allocations: 1 kB / 0.5757 GB, free: 27.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.3062, allocations: 187.3 kB / 0.5758 GB, free: 27.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.3062, allocations: 80.3 kB / 0.5759 GB, free: 27.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.3062, allocations: 6.891 kB / 0.5759 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.3063, allocations: 9.797 kB / 0.5759 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.3064, allocations: 11.09 kB / 0.576 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3064, allocations: 2.969 kB / 0.576 GB, free: 27.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.304e-05/0.3064, allocations: 85.38 kB / 0.576 GB, free: 27.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3064, allocations: 1.5 kB / 0.576 GB, free: 27.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002271/0.3067, allocations: 15.19 kB / 0.5761 GB, free: 27.38 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.046e-05/0.3067, allocations: 99.39 kB / 0.5761 GB, free: 27.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3069, allocations: 59.25 kB / 0.5762 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.3069, allocations: 0 / 0.5762 GB, free: 27.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.3069, allocations: 28.81 kB / 0.5762 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3072, allocations: 12.3 kB / 0.5762 GB, free: 27.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.3075, allocations: 202.4 kB / 0.5764 GB, free: 27.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.329e-05/0.3076, allocations: 0.6845 MB / 0.5771 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.3077, allocations: 11.34 kB / 0.5771 GB, free: 26.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3077, allocations: 1.094 kB / 0.5771 GB, free: 26.38 MB / 446.1 MB Notification: Performance of Templates: time 0.002242/0.3099, allocations: 0.862 MB / 0.578 GB, free: 26.34 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1)