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.001664/0.001664, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5134/0.5134, allocations: 90.91 MB / 99.34 MB, free: 2.195 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.59/1.59, allocations: 221.5 MB / 343.2 MB, free: 1.539 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009602/0.0009601, allocations: 102 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.913e-05/1.915e-05, allocations: 0 / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1841, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6117/0.7959, allocations: 107.7 MB / 0.6588 GB, free: 2.348 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.7962, allocations: 87.94 kB / 0.6589 GB, free: 2.301 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0171/0.8133, allocations: 6.824 MB / 0.6656 GB, free: 12.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.8133, allocations: 0 / 0.6656 GB, free: 12.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.8134, allocations: 8 kB / 0.6656 GB, free: 12.65 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.0008613/0.8142, allocations: 0.5985 MB / 0.6662 GB, free: 12.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.8143, allocations: 12.03 kB / 0.6662 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.87e-05/0.8144, allocations: 51.34 kB / 0.6662 GB, free: 11.97 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.815, allocations: 388.3 kB / 0.6666 GB, free: 11.61 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.815, allocations: 11.98 kB / 0.6666 GB, free: 11.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.815, allocations: 16 kB / 0.6666 GB, free: 11.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003704/0.8154, allocations: 187.3 kB / 0.6668 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.8159, allocations: 298.3 kB / 0.6671 GB, free: 11.22 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.8159, allocations: 3.984 kB / 0.6671 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.8159, allocations: 0 / 0.6671 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.816, allocations: 8 kB / 0.6671 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.8176, allocations: 1.173 MB / 0.6682 GB, free: 10.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.818, allocations: 223.1 kB / 0.6685 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.8182, allocations: 102.4 kB / 0.6685 GB, free: 9.969 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.8182, allocations: 4.188 kB / 0.6686 GB, free: 9.965 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.8183, allocations: 34.12 kB / 0.6686 GB, free: 9.926 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.8183, allocations: 0 / 0.6686 GB, free: 9.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004218/0.8187, allocations: 203.2 kB / 0.6688 GB, free: 9.773 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.521e-05/0.8188, allocations: 162 kB / 0.6689 GB, free: 9.582 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.8191, allocations: 267.9 kB / 0.6692 GB, free: 9.367 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.8192, allocations: 25.7 kB / 0.6692 GB, free: 9.336 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.8194, allocations: 215.8 kB / 0.6694 GB, free: 9.172 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.8194, allocations: 78.28 kB / 0.6695 GB, free: 9.102 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.8195, allocations: 0 / 0.6695 GB, free: 9.102 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8196, allocations: 345 kB / 0.6698 GB, free: 8.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.8197, allocations: 67.62 kB / 0.6699 GB, free: 8.734 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.8199, allocations: 136.2 kB / 0.67 GB, free: 8.609 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.8201, allocations: 80.19 kB / 0.6701 GB, free: 8.562 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8201, allocations: 0 / 0.6701 GB, free: 8.562 MB / 474.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003665/0.8204, allocations: 232 kB / 0.6703 GB, free: 8.387 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.8205, allocations: 16.08 kB / 0.6703 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.8205, allocations: 3.984 kB / 0.6703 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.8205, allocations: 4 kB / 0.6703 GB, free: 8.363 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.8208, allocations: 55.84 kB / 0.6704 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.8208, allocations: 4 kB / 0.6704 GB, free: 8.305 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.821, allocations: 35.83 kB / 0.6704 GB, free: 8.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.821, allocations: 11.38 kB / 0.6704 GB, free: 8.262 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.0001323/0.8212, allocations: 116.9 kB / 0.6706 GB, free: 8.141 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003006/0.8215, allocations: 192.3 kB / 0.6707 GB, free: 7.996 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.8215, allocations: 35.58 kB / 0.6708 GB, free: 7.961 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.986e-05/0.8216, allocations: 33 kB / 0.6708 GB, free: 7.941 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.8217, allocations: 4 kB / 0.6708 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8217, allocations: 0 / 0.6708 GB, free: 7.938 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8217, allocations: 7.984 kB / 0.6708 GB, free: 7.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004252/0.8221, allocations: 367.9 kB / 0.6712 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.8221, allocations: 0 / 0.6712 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.8224, allocations: 54.59 kB / 0.6712 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.8224, allocations: 0 / 0.6712 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.8224, allocations: 3.953 kB / 0.6712 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8224, allocations: 3.938 kB / 0.6712 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8224, allocations: 0 / 0.6712 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005437/0.823, allocations: 409.4 kB / 0.6716 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.8231, allocations: 129.4 kB / 0.6717 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.8232, allocations: 8 kB / 0.6717 GB, free: 7.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.8234, allocations: 23.94 kB / 0.6718 GB, free: 7.082 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.8235, allocations: 19.47 kB / 0.6718 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.8235, allocations: 12.05 kB / 0.6718 GB, free: 7.055 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002014/0.8237, allocations: 208.4 kB / 0.672 GB, free: 6.898 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8237, allocations: 0 / 0.672 GB, free: 6.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000332/0.8241, allocations: 67.69 kB / 0.6721 GB, free: 6.832 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.000839/0.8249, allocations: 0.9386 MB / 0.673 GB, free: 5.973 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.8253, allocations: 171.8 kB / 0.6731 GB, free: 5.867 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.8253, allocations: 0 / 0.6731 GB, free: 5.867 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.8254, allocations: 93.61 kB / 0.6732 GB, free: 5.805 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.8259, allocations: 59.88 kB / 0.6733 GB, free: 5.758 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.8271, allocations: 0.5662 MB / 0.6738 GB, free: 5.211 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.8275, allocations: 0.799 MB / 0.6746 GB, free: 4.387 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.8276, allocations: 43.27 kB / 0.6747 GB, free: 4.348 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.8278, allocations: 125.6 kB / 0.6748 GB, free: 4.309 MB / 474.7 MB Notification: Performance of SimCode: time 2.41e-07/0.8278, allocations: 0 / 0.6748 GB, free: 4.309 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.8558, allocations: 5.841 MB / 0.6805 GB, free: 14.52 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.856, allocations: 143.7 kB / 0.6806 GB, free: 14.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/2.985, allocations: 7.938 kB / 0.6806 GB, free: 14.32 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)