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.0008888/0.0008886, allocations: 93.86 kB / 16.67 MB, free: 6.594 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.0009359/0.0009359, allocations: 181.8 kB / 17.58 MB, free: 6.188 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.329/1.329, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6962/0.6962, allocations: 115.5 MB / 408.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 8 kB / 496.5 MB, free: 15.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4177, allocations: 77.52 MB / 0.5606 GB, free: 35.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.001514/0.4192, allocations: 1.175 MB / 0.5617 GB, free: 34.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006182/0.4199, allocations: 430.9 kB / 0.5621 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.4199, allocations: 1.031 kB / 0.5621 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.807e-05/0.42, allocations: 2.141 kB / 0.5621 GB, free: 34.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.751e-05/0.4201, allocations: 11.72 kB / 0.5621 GB, free: 34.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.4202, allocations: 17.78 kB / 0.5622 GB, free: 34.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.454e-05/0.4203, allocations: 48.3 kB / 0.5622 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4204, allocations: 16.73 kB / 0.5622 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.4205, allocations: 20.67 kB / 0.5622 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.4205, allocations: 22.52 kB / 0.5623 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.4206, allocations: 3.625 kB / 0.5623 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.4206, allocations: 2.812 kB / 0.5623 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.4206, allocations: 3.484 kB / 0.5623 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.4207, allocations: 51.55 kB / 0.5623 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.875e-05/0.4207, allocations: 27.22 kB / 0.5623 GB, free: 34.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4207, allocations: 0 / 0.5623 GB, free: 34.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4208, allocations: 0 / 0.5623 GB, free: 34.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.4208, allocations: 0 / 0.5623 GB, free: 34.21 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.000439/0.4212, allocations: 356.2 kB / 0.5627 GB, free: 33.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4213, allocations: 13.84 kB / 0.5627 GB, free: 33.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.4213, allocations: 8.281 kB / 0.5627 GB, free: 33.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.439e-05/0.4214, allocations: 172.7 kB / 0.5629 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.4214, allocations: 3.594 kB / 0.5629 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.4214, allocations: 5.312 kB / 0.5629 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.4216, allocations: 59.84 kB / 0.5629 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4216, allocations: 0 / 0.5629 GB, free: 33.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.4216, allocations: 7.406 kB / 0.5629 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4216, allocations: 1.594 kB / 0.5629 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.435e-05/0.4217, allocations: 21.55 kB / 0.563 GB, free: 33.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.4221, allocations: 317 kB / 0.5633 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.4223, allocations: 54.14 kB / 0.5633 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.4223, allocations: 26.14 kB / 0.5633 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.4223, allocations: 5.688 kB / 0.5633 GB, free: 33.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.4225, allocations: 73.77 kB / 0.5634 GB, free: 33.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.4225, allocations: 1.188 kB / 0.5634 GB, free: 33.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002135/0.4227, allocations: 97.64 kB / 0.5635 GB, free: 33.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4228, allocations: 58.53 kB / 0.5636 GB, free: 33.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.519e-05/0.4228, allocations: 111.9 kB / 0.5637 GB, free: 32.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.4229, allocations: 29.73 kB / 0.5637 GB, free: 32.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.4229, allocations: 85.17 kB / 0.5638 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.4229, allocations: 26.66 kB / 0.5638 GB, free: 32.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.423, allocations: 20.31 kB / 0.5638 GB, free: 32.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.02e-05/0.423, allocations: 322.3 kB / 0.5641 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.4231, allocations: 14.98 kB / 0.5642 GB, free: 32.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.922e-05/0.4231, allocations: 51.2 kB / 0.5642 GB, free: 32.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.314e-05/0.4232, allocations: 65.22 kB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4232, allocations: 5.094 kB / 0.5643 GB, free: 32.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001255/0.4233, allocations: 90.89 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4234, allocations: 6.75 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4234, allocations: 0 / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4234, allocations: 3.219 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.4235, allocations: 10.17 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4235, allocations: 5.828 kB / 0.5644 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.983e-05/0.4235, allocations: 21.58 kB / 0.5644 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.4236, allocations: 7.719 kB / 0.5644 GB, free: 32.3 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 6.465e-05/0.4236, allocations: 121.5 kB / 0.5645 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.4236, allocations: 2.469 kB / 0.5645 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.4237, allocations: 10.81 kB / 0.5645 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.4237, allocations: 1.188 kB / 0.5645 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4237, allocations: 1.344 kB / 0.5645 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4237, allocations: 0.9062 kB / 0.5645 GB, free: 32.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.424, allocations: 367.7 kB / 0.5649 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4241, allocations: 1.344 kB / 0.5649 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.4241, allocations: 2.844 kB / 0.5649 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4241, allocations: 2.594 kB / 0.5649 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.4241, allocations: 0.9688 kB / 0.5649 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4241, allocations: 9.125 kB / 0.5649 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4241, allocations: 5.031 kB / 0.5649 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.4242, allocations: 179.7 kB / 0.5651 GB, free: 31.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.4243, allocations: 83.36 kB / 0.5652 GB, free: 31.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.4243, allocations: 11.97 kB / 0.5652 GB, free: 31.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.4244, allocations: 16.88 kB / 0.5652 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.4244, allocations: 6.625 kB / 0.5652 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.4245, allocations: 4.031 kB / 0.5652 GB, free: 31.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.62e-05/0.4245, allocations: 84.23 kB / 0.5653 GB, free: 31.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4245, allocations: 1.406 kB / 0.5653 GB, free: 31.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.4247, allocations: 10.66 kB / 0.5653 GB, free: 31.49 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 8.298e-05/0.4248, allocations: 102 kB / 0.5654 GB, free: 31.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.425, allocations: 52.92 kB / 0.5654 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.425, allocations: 0.5312 kB / 0.5654 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.425, allocations: 28.14 kB / 0.5655 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.4253, allocations: 16.45 kB / 0.5655 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.4257, allocations: 204.6 kB / 0.5657 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.4258, allocations: 0.6893 MB / 0.5663 GB, free: 30.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.4259, allocations: 10.97 kB / 0.5664 GB, free: 30.5 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4259, allocations: 0 / 0.5664 GB, free: 30.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002332/0.4282, allocations: 0.8475 MB / 0.5672 GB, free: 30.47 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)