Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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: "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002981/0.002982, allocations: 175.2 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.73/2.73, allocations: 223.2 MB / 240.5 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.314/1.314, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006867/0.0006869, allocations: 11.98 kB / 493 MB, free: 8.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3238, allocations: 77.12 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.006771/0.3307, allocations: 2.602 MB / 0.5593 GB, free: 9.117 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003528/0.3344, allocations: 0.8964 MB / 0.5601 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006542/0.3351, allocations: 11.94 kB / 0.5602 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.3353, allocations: 31.64 kB / 0.5602 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009162/0.3362, allocations: 115.6 kB / 0.5603 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.3372, allocations: 171.1 kB / 0.5605 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009707/0.3382, allocations: 348.5 kB / 0.5608 GB, free: 7.555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006652/0.3388, allocations: 171.7 kB / 0.561 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004833/0.3393, allocations: 147.3 kB / 0.5611 GB, free: 7.238 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.3397, allocations: 143.1 kB / 0.5612 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.183e-05/0.3398, allocations: 20 kB / 0.5612 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.197e-05/0.3399, allocations: 15.94 kB / 0.5613 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3401, allocations: 59.69 kB / 0.5613 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.3402, allocations: 105.4 kB / 0.5614 GB, free: 6.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008028/0.341, allocations: 435.1 kB / 0.5618 GB, free: 6.469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3411, allocations: 4 kB / 0.5618 GB, free: 6.465 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.036e-05/0.3411, allocations: 3.984 kB / 0.5618 GB, free: 6.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.3411, allocations: 0 / 0.5618 GB, free: 6.461 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002839/0.344, allocations: 0.6842 MB / 0.5625 GB, free: 5.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.738e-05/0.3441, allocations: 8.031 kB / 0.5625 GB, free: 5.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.3443, allocations: 82.52 kB / 0.5626 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.3445, allocations: 55.34 kB / 0.5626 GB, free: 5.574 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.3457, allocations: 395.6 kB / 0.563 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7e-05/0.3458, allocations: 29 kB / 0.5631 GB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3459, allocations: 36 kB / 0.5631 GB, free: 5.082 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.3475, allocations: 397.5 kB / 0.5635 GB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.3476, allocations: 3.984 kB / 0.5635 GB, free: 4.672 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.589e-05/0.3476, allocations: 16 kB / 0.5635 GB, free: 4.656 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.672e-05/0.3477, allocations: 12 kB / 0.5635 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.3488, allocations: 263.8 kB / 0.5637 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003887/0.3527, allocations: 1.332 MB / 0.5651 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3539, allocations: 312.2 kB / 0.5653 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/0.354, allocations: 4.5 kB / 0.5654 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007833/0.3548, allocations: 177.5 kB / 0.5655 GB, free: 2.473 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 7.224e-06/0.3548, allocations: 0 / 0.5655 GB, free: 2.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.001467/0.3563, allocations: 379.5 kB / 0.5659 GB, free: 2.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.3565, allocations: 93.06 kB / 0.566 GB, free: 1.988 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007185/0.3572, allocations: 349.6 kB / 0.5663 GB, free: 1.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.3573, allocations: 33.7 kB / 0.5663 GB, free: 1.598 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.3577, allocations: 232.9 kB / 0.5666 GB, free: 1.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.3579, allocations: 110.5 kB / 0.5667 GB, free: 1.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.3579, allocations: 12 kB / 0.5667 GB, free: 1.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002787/0.3582, allocations: 350.8 kB / 0.567 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.3586, allocations: 100.7 kB / 0.5671 GB, free: 0.793 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.3592, allocations: 160.6 kB / 0.5673 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.3596, allocations: 118.2 kB / 0.5674 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3597, allocations: 0 / 0.5674 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00121/0.3609, allocations: 354.8 kB / 0.5677 GB, free: 148 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.3609, allocations: 4 kB / 0.5677 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.361, allocations: 4 kB / 0.5677 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.118e-05/0.361, allocations: 4 kB / 0.5677 GB, free: 136 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004634/0.3615, allocations: 63.91 kB / 0.5678 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.3615, allocations: 7.953 kB / 0.5678 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.3619, allocations: 39.92 kB / 0.5678 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.3619, allocations: 19.98 kB / 0.5678 GB, free: 4 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.0004157/0.3624, allocations: 177.6 kB / 0.568 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.3625, allocations: 39.53 kB / 0.5681 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.3626, allocations: 44.25 kB / 0.5681 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.3627, allocations: 8 kB / 0.5681 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-05/0.3627, allocations: 0 / 0.5681 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/0.3627, allocations: 7.938 kB / 0.5681 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.3648, allocations: 0.8067 MB / 0.5689 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3648, allocations: 0 / 0.5689 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.3652, allocations: 51.97 kB / 0.569 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.3652, allocations: 0 / 0.569 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.3652, allocations: 8 kB / 0.569 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.077e-05/0.3652, allocations: 7.938 kB / 0.569 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/0.3653, allocations: 4 kB / 0.569 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.3669, allocations: 0.5144 MB / 0.5695 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.3672, allocations: 132.6 kB / 0.5696 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.278e-05/0.3673, allocations: 12 kB / 0.5696 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.3676, allocations: 19.98 kB / 0.5696 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3678, allocations: 31.91 kB / 0.5697 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.3678, allocations: 8 kB / 0.5697 GB, free: 14.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005153/0.3684, allocations: 243.2 kB / 0.5699 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3684, allocations: 0 / 0.5699 GB, free: 13.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007776/0.3692, allocations: 87.69 kB / 0.57 GB, free: 13.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.002075/0.3713, allocations: 1.061 MB / 0.571 GB, free: 12.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009037/0.3722, allocations: 275.6 kB / 0.5713 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3722, allocations: 448 / 0.5713 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.3728, allocations: 139.8 kB / 0.5714 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007871/0.3736, allocations: 71.3 kB / 0.5715 GB, free: 12.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008652/0.3822, allocations: 3.186 MB / 0.5746 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.3834, allocations: 0.8269 MB / 0.5754 GB, free: 8.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004045/0.3838, allocations: 43.25 kB / 0.5754 GB, free: 7.996 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/0.3843, allocations: 139.4 kB / 0.5756 GB, free: 7.859 MB / 446.1 MB Notification: Performance of SimCode: time 3.527e-06/0.3843, allocations: 0 / 0.5756 GB, free: 7.859 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04424/0.4286, allocations: 6.932 MB / 0.5823 GB, free: 1.121 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004344/0.4291, allocations: 191.6 kB / 0.5825 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.642/4.071, allocations: 0 / 0.5825 GB, free: 0.8828 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) Environment - environmentSimulation: