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.001652/0.001652, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.00192/0.00192, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7334/0.7334, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 67.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.318, allocations: 77.91 MB / 0.5673 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004138/0.3222, allocations: 3.121 MB / 0.5703 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.324, allocations: 0.9646 MB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.3244, allocations: 14.12 kB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.3248, allocations: 73.23 kB / 0.5714 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.3251, allocations: 88.73 kB / 0.5714 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.3257, allocations: 244.1 kB / 0.5717 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.3262, allocations: 0.5486 MB / 0.5722 GB, free: 29.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.3266, allocations: 258 kB / 0.5725 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.3268, allocations: 208.8 kB / 0.5727 GB, free: 29.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.327, allocations: 210.2 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.069e-05/0.3271, allocations: 53.16 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.3272, allocations: 53.06 kB / 0.573 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.953e-05/0.3273, allocations: 108.4 kB / 0.5731 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.3274, allocations: 240.5 kB / 0.5733 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.328, allocations: 0.5619 MB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.328, allocations: 1.062 kB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.328, allocations: 0 / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.328, allocations: 1.094 kB / 0.5738 GB, free: 28.46 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.00105/0.329, allocations: 0.7745 MB / 0.5746 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.3291, allocations: 9.547 kB / 0.5746 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.3292, allocations: 77.16 kB / 0.5747 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.3293, allocations: 55.78 kB / 0.5747 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000487/0.3297, allocations: 410.4 kB / 0.5751 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.3298, allocations: 30.62 kB / 0.5752 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.3298, allocations: 38 kB / 0.5752 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/0.3304, allocations: 399.6 kB / 0.5756 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3305, allocations: 1.344 kB / 0.5756 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.185e-05/0.3305, allocations: 17.64 kB / 0.5756 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.3305, allocations: 7.812 kB / 0.5756 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.331, allocations: 266.5 kB / 0.5758 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.3325, allocations: 1.312 MB / 0.5771 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.3332, allocations: 317.6 kB / 0.5774 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3334, allocations: 138.4 kB / 0.5776 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3335, allocations: 7.766 kB / 0.5776 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002974/0.3338, allocations: 169.8 kB / 0.5777 GB, free: 25.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.883e-06/0.3338, allocations: 1.719 kB / 0.5777 GB, free: 25.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007311/0.3345, allocations: 386.3 kB / 0.5781 GB, free: 25.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3346, allocations: 82.95 kB / 0.5782 GB, free: 25.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.3349, allocations: 350.3 kB / 0.5785 GB, free: 25.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3349, allocations: 39.97 kB / 0.5786 GB, free: 25.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.335, allocations: 237.5 kB / 0.5788 GB, free: 25.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.3351, allocations: 106.2 kB / 0.5789 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.3352, allocations: 70.81 kB / 0.579 GB, free: 25.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.3353, allocations: 348.4 kB / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.3355, allocations: 99.89 kB / 0.5794 GB, free: 24.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.3357, allocations: 169.8 kB / 0.5795 GB, free: 24.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004005/0.3361, allocations: 262.9 kB / 0.5798 GB, free: 24.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3362, allocations: 5.266 kB / 0.5798 GB, free: 24.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005539/0.3367, allocations: 353.7 kB / 0.5801 GB, free: 24.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3367, allocations: 7.203 kB / 0.5801 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3368, allocations: 1.375 kB / 0.5801 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3368, allocations: 5.406 kB / 0.5801 GB, free: 24.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.337, allocations: 62.58 kB / 0.5802 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3371, allocations: 6.688 kB / 0.5802 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3372, allocations: 41.3 kB / 0.5803 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.3373, allocations: 19.62 kB / 0.5803 GB, free: 24.27 MB / 446.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 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.3374, allocations: 179.6 kB / 0.5804 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.3375, allocations: 39.41 kB / 0.5805 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.072e-05/0.3376, allocations: 41.77 kB / 0.5805 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3376, allocations: 3.719 kB / 0.5805 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3376, allocations: 4.047 kB / 0.5805 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.3376, allocations: 3.234 kB / 0.5805 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.3385, allocations: 0.8089 MB / 0.5813 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3386, allocations: 0 / 0.5813 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3388, allocations: 51.66 kB / 0.5814 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.3388, allocations: 2.297 kB / 0.5814 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.3389, allocations: 7.156 kB / 0.5814 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3389, allocations: 1.875 kB / 0.5814 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3389, allocations: 1.359 kB / 0.5814 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.3396, allocations: 0.5147 MB / 0.5819 GB, free: 23.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.3397, allocations: 138.3 kB / 0.582 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.3398, allocations: 7.953 kB / 0.582 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.34, allocations: 17.42 kB / 0.582 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.34, allocations: 26.31 kB / 0.5821 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.3401, allocations: 11.16 kB / 0.5821 GB, free: 23.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000209/0.3403, allocations: 250.7 kB / 0.5823 GB, free: 22.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3403, allocations: 3.938 kB / 0.5823 GB, free: 22.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003311/0.3406, allocations: 85.38 kB / 0.5824 GB, free: 22.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008637/0.3415, allocations: 1.063 MB / 0.5834 GB, free: 22.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000559/0.3421, allocations: 274.8 kB / 0.5837 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3421, allocations: 2.531 kB / 0.5837 GB, free: 21.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.3423, allocations: 131.9 kB / 0.5838 GB, free: 21.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.3428, allocations: 87.17 kB / 0.5839 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.3465, allocations: 3.499 MB / 0.5873 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/0.3467, allocations: 0.8127 MB / 0.5881 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001681/0.3469, allocations: 40.83 kB / 0.5882 GB, free: 18.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.347, allocations: 144.3 kB / 0.5883 GB, free: 18.48 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.347, allocations: 4 kB / 0.5883 GB, free: 18.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.3704, allocations: 7.308 MB / 0.5954 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.103/7.473, allocations: 12.8 kB / 0.5955 GB, free: 13.57 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)