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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5032/0.5032, allocations: 90.81 MB / 104.5 MB, free: 13.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 348.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008378/0.0008378, allocations: 88.72 kB / 421.1 MB, free: 5.641 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.022e-05, allocations: 0 / 0.4897 GB, free: 46.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1583, allocations: 72.31 MB / 0.5603 GB, free: 6.293 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5278/0.6861, allocations: 108.4 MB / 0.6662 GB, free: 15.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.6864, allocations: 83.77 kB / 0.6663 GB, free: 15.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01728/0.7037, allocations: 6.891 MB / 0.673 GB, free: 9.586 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.7038, allocations: 0 / 0.673 GB, free: 9.586 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.934e-05/0.7038, allocations: 8 kB / 0.673 GB, free: 9.578 MB / 474.7 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.0008406/0.7047, allocations: 0.5997 MB / 0.6736 GB, free: 8.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.7047, allocations: 11.98 kB / 0.6736 GB, free: 8.918 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.588e-05/0.7048, allocations: 62.55 kB / 0.6736 GB, free: 8.848 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.7049, allocations: 47.44 kB / 0.6737 GB, free: 8.801 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.7054, allocations: 376.4 kB / 0.6741 GB, free: 8.398 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.7055, allocations: 28.78 kB / 0.6741 GB, free: 8.367 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.7055, allocations: 24 kB / 0.6741 GB, free: 8.344 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.7061, allocations: 343.7 kB / 0.6744 GB, free: 7.973 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.7061, allocations: 3.953 kB / 0.6744 GB, free: 7.969 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.425e-05/0.7061, allocations: 20 kB / 0.6745 GB, free: 7.949 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.7062, allocations: 8 kB / 0.6745 GB, free: 7.941 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.7065, allocations: 202.2 kB / 0.6747 GB, free: 7.746 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.7081, allocations: 1.252 MB / 0.6759 GB, free: 6.414 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004888/0.7086, allocations: 239.5 kB / 0.6761 GB, free: 6.172 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/0.7088, allocations: 101.2 kB / 0.6762 GB, free: 6.07 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.7089, allocations: 8.188 kB / 0.6762 GB, free: 6.062 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.7089, allocations: 34.75 kB / 0.6762 GB, free: 6.02 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.7089, allocations: 0 / 0.6762 GB, free: 6.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004295/0.7093, allocations: 222.5 kB / 0.6765 GB, free: 5.801 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.7094, allocations: 158.2 kB / 0.6766 GB, free: 5.609 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003239/0.7098, allocations: 303.6 kB / 0.6769 GB, free: 5.305 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.7098, allocations: 29.7 kB / 0.6769 GB, free: 5.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.71, allocations: 212.1 kB / 0.6771 GB, free: 5.059 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.782e-05/0.71, allocations: 82.89 kB / 0.6772 GB, free: 4.977 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.7101, allocations: 4 kB / 0.6772 GB, free: 4.973 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7102, allocations: 346.8 kB / 0.6775 GB, free: 4.625 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.7104, allocations: 68 kB / 0.6776 GB, free: 4.559 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.7105, allocations: 143.7 kB / 0.6777 GB, free: 4.391 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.7107, allocations: 80.09 kB / 0.6778 GB, free: 4.312 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7107, allocations: 0 / 0.6778 GB, free: 4.312 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003752/0.7111, allocations: 253.1 kB / 0.6781 GB, free: 4.059 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7111, allocations: 12.12 kB / 0.6781 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7111, allocations: 0 / 0.6781 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.7112, allocations: 4 kB / 0.6781 GB, free: 4.043 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.7114, allocations: 51.91 kB / 0.6781 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.7114, allocations: 4 kB / 0.6781 GB, free: 3.988 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.7117, allocations: 51.67 kB / 0.6782 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.7117, allocations: 11.98 kB / 0.6782 GB, free: 3.926 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001175/0.7118, allocations: 120.9 kB / 0.6783 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.7119, allocations: 35.58 kB / 0.6783 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.69e-05/0.712, allocations: 39.25 kB / 0.6784 GB, free: 3.727 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.712, allocations: 4 kB / 0.6784 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.712, allocations: 0 / 0.6784 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.712, allocations: 0 / 0.6784 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.7125, allocations: 417.2 kB / 0.6788 GB, free: 3.266 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.7125, allocations: 4 kB / 0.6788 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002748/0.7128, allocations: 51.91 kB / 0.6788 GB, free: 3.211 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.7128, allocations: 3.953 kB / 0.6788 GB, free: 3.207 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.7128, allocations: 7.938 kB / 0.6788 GB, free: 3.199 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.7128, allocations: 4 kB / 0.6788 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7128, allocations: 3.938 kB / 0.6789 GB, free: 3.191 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005526/0.7134, allocations: 426.9 kB / 0.6793 GB, free: 2.758 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.7135, allocations: 132.7 kB / 0.6794 GB, free: 2.609 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.605e-05/0.7136, allocations: 7.953 kB / 0.6794 GB, free: 2.602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.7138, allocations: 27.98 kB / 0.6794 GB, free: 2.574 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.369e-05/0.7139, allocations: 20 kB / 0.6794 GB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.7139, allocations: 7.984 kB / 0.6794 GB, free: 2.547 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002477/0.7142, allocations: 246.2 kB / 0.6797 GB, free: 2.309 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7142, allocations: 0 / 0.6797 GB, free: 2.309 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003113/0.7145, allocations: 79.69 kB / 0.6798 GB, free: 2.23 MB / 474.7 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) * 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.0008479/0.7154, allocations: 0.9597 MB / 0.6807 GB, free: 1.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.7157, allocations: 196.1 kB / 0.6809 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7157, allocations: 0 / 0.6809 GB, free: 1.059 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.7159, allocations: 99.88 kB / 0.681 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.7164, allocations: 67.62 kB / 0.681 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.7179, allocations: 0.5748 MB / 0.6816 GB, free: 300 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.7184, allocations: 0.8031 MB / 0.6824 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001849/0.7186, allocations: 38.95 kB / 0.6824 GB, free: 15.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.7188, allocations: 123.4 kB / 0.6825 GB, free: 15.3 MB / 490.7 MB Notification: Performance of SimCode: time 7.22e-07/0.7188, allocations: 0 / 0.6825 GB, free: 15.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.7384, allocations: 6.583 MB / 0.689 GB, free: 8.883 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/0.7387, allocations: 158.1 kB / 0.6891 GB, free: 8.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.715, allocations: 3.938 kB / 0.6891 GB, free: 8.656 MB / 490.7 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)