Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",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.001602/0.001602, allocations: 95.88 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.002358/0.002358, allocations: 174.7 kB / 16.56 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.602/2.602, allocations: 223.2 MB / 240.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.272/1.272, allocations: 113.7 MB / 405.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007028/0.0007032, allocations: 8 kB / 493 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3435, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.006272/0.3499, allocations: 2.477 MB / 0.5591 GB, free: 9.195 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003265/0.3533, allocations: 0.8306 MB / 0.56 GB, free: 8.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007874/0.3541, allocations: 15.88 kB / 0.56 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.3543, allocations: 35.64 kB / 0.56 GB, free: 8.309 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008186/0.3552, allocations: 103.7 kB / 0.5601 GB, free: 8.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.356, allocations: 161.5 kB / 0.5603 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008718/0.3569, allocations: 304 kB / 0.5605 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.3575, allocations: 149 kB / 0.5607 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.3579, allocations: 131.4 kB / 0.5608 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.3582, allocations: 127.2 kB / 0.5609 GB, free: 7.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.3583, allocations: 12 kB / 0.5609 GB, free: 7.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.449e-05/0.3584, allocations: 12 kB / 0.561 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.414e-05/0.3585, allocations: 51.69 kB / 0.561 GB, free: 7.277 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3586, allocations: 93.52 kB / 0.5611 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.3592, allocations: 379.2 kB / 0.5615 GB, free: 6.809 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3593, allocations: 0 / 0.5615 GB, free: 6.809 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3593, allocations: 0 / 0.5615 GB, free: 6.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3593, allocations: 0 / 0.5615 GB, free: 6.809 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.00193/0.3612, allocations: 0.6505 MB / 0.5621 GB, free: 6.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.372e-05/0.3613, allocations: 8.031 kB / 0.5621 GB, free: 6.102 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.3615, allocations: 66.53 kB / 0.5622 GB, free: 6.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001501/0.3617, allocations: 47.44 kB / 0.5622 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3627, allocations: 375.3 kB / 0.5626 GB, free: 5.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.3628, allocations: 24.66 kB / 0.5626 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.345e-05/0.3629, allocations: 28 kB / 0.5626 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.364, allocations: 341.1 kB / 0.5629 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.364, allocations: 0 / 0.5629 GB, free: 5.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.331e-05/0.3641, allocations: 16 kB / 0.563 GB, free: 5.145 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.3641, allocations: 8 kB / 0.563 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.365, allocations: 218.1 kB / 0.5632 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003811/0.3688, allocations: 1.198 MB / 0.5643 GB, free: 3.648 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/0.3699, allocations: 243.2 kB / 0.5646 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.48e-05/0.37, allocations: 4.188 kB / 0.5646 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.37, allocations: 30.75 kB / 0.5646 GB, free: 3.359 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 5.08e-06/0.37, allocations: 0 / 0.5646 GB, free: 3.359 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001067/0.3711, allocations: 298.8 kB / 0.5649 GB, free: 3.066 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.3713, allocations: 106.8 kB / 0.565 GB, free: 2.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.3719, allocations: 341.5 kB / 0.5653 GB, free: 2.602 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.372, allocations: 29.7 kB / 0.5653 GB, free: 2.566 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/0.3724, allocations: 224.2 kB / 0.5656 GB, free: 2.344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.3726, allocations: 78.89 kB / 0.5656 GB, free: 2.266 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.3726, allocations: 4 kB / 0.5656 GB, free: 2.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003107/0.3729, allocations: 346.8 kB / 0.566 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.3734, allocations: 79.91 kB / 0.566 GB, free: 1.836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004153/0.3738, allocations: 147.7 kB / 0.5662 GB, free: 1.664 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.3741, allocations: 99.89 kB / 0.5663 GB, free: 1.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3741, allocations: 0 / 0.5663 GB, free: 1.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009551/0.3751, allocations: 285 kB / 0.5666 GB, free: 1.285 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.3751, allocations: 8 kB / 0.5666 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3752, allocations: 0 / 0.5666 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-05/0.3752, allocations: 4 kB / 0.5666 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.3756, allocations: 51.91 kB / 0.5666 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.3756, allocations: 4 kB / 0.5666 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/0.376, allocations: 43.86 kB / 0.5667 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.3761, allocations: 12 kB / 0.5667 GB, free: 1.164 MB / 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0003909/0.3765, allocations: 157.8 kB / 0.5668 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3766, allocations: 35.58 kB / 0.5669 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.3768, allocations: 47.34 kB / 0.5669 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.3768, allocations: 0 / 0.5669 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.3768, allocations: 4 kB / 0.5669 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.3769, allocations: 0 / 0.5669 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000721/0.3776, allocations: 393.2 kB / 0.5673 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.3776, allocations: 0 / 0.5673 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.378, allocations: 43.92 kB / 0.5673 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.272e-05/0.378, allocations: 11.94 kB / 0.5673 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.378, allocations: 3.938 kB / 0.5673 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3781, allocations: 4 kB / 0.5673 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3781, allocations: 0 / 0.5673 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3791, allocations: 434.9 kB / 0.5678 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/0.3793, allocations: 124.7 kB / 0.5679 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.3794, allocations: 7.953 kB / 0.5679 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.3796, allocations: 28.05 kB / 0.5679 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.668e-05/0.3798, allocations: 19.97 kB / 0.5679 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.3798, allocations: 4 kB / 0.5679 GB, free: 15.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003737/0.3802, allocations: 239.2 kB / 0.5682 GB, free: 15.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3802, allocations: 3.938 kB / 0.5682 GB, free: 15.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005129/0.3807, allocations: 67.69 kB / 0.5682 GB, free: 15.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.00139/0.3821, allocations: 0.9681 MB / 0.5692 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006773/0.3828, allocations: 199.9 kB / 0.5694 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.3828, allocations: 4 kB / 0.5694 GB, free: 14.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.3831, allocations: 101.5 kB / 0.5695 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007386/0.3839, allocations: 75.59 kB / 0.5695 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.3896, allocations: 2.921 MB / 0.5724 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005507/0.3902, allocations: 0.807 MB / 0.5732 GB, free: 10.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.3905, allocations: 34.95 kB / 0.5732 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.3908, allocations: 123.4 kB / 0.5733 GB, free: 10.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.154e-06/0.3908, allocations: 0 / 0.5733 GB, free: 10.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.4254, allocations: 6.173 MB / 0.5794 GB, free: 4.137 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003106/0.4258, allocations: 196.7 kB / 0.5795 GB, free: 3.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/4.024, allocations: 5.547 kB / 0.5796 GB, free: 3.887 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) Environment - environmentSimulation: