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.001671/0.001671, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5268/0.5268, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.656/1.656, allocations: 223.2 MB / 354.3 MB, free: 12.19 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.0009826/0.0009825, allocations: 103.2 kB / 427.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.000454, allocations: 12 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.184, allocations: 72.31 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6075/0.7916, allocations: 108.5 MB / 0.6748 GB, free: 11.91 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/0.792, allocations: 91.94 kB / 0.6749 GB, free: 11.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01981/0.8118, allocations: 6.915 MB / 0.6817 GB, free: 4.902 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.8118, allocations: 0 / 0.6817 GB, free: 4.902 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.57e-05/0.8119, allocations: 8 kB / 0.6817 GB, free: 4.895 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.001385/0.8133, allocations: 0.6549 MB / 0.6823 GB, free: 4.188 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8133, allocations: 8.031 kB / 0.6823 GB, free: 4.18 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.8135, allocations: 74.41 kB / 0.6824 GB, free: 4.098 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.8137, allocations: 47.44 kB / 0.6825 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007736/0.8144, allocations: 375.4 kB / 0.6828 GB, free: 3.648 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.8145, allocations: 24.66 kB / 0.6828 GB, free: 3.625 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.8146, allocations: 32 kB / 0.6829 GB, free: 3.594 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007539/0.8153, allocations: 366 kB / 0.6832 GB, free: 3.199 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.8153, allocations: 3.953 kB / 0.6832 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.8154, allocations: 12 kB / 0.6832 GB, free: 3.184 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.8154, allocations: 4 kB / 0.6832 GB, free: 3.18 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005724/0.816, allocations: 250.1 kB / 0.6835 GB, free: 2.938 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00209/0.8181, allocations: 1.248 MB / 0.6847 GB, free: 1.605 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.8188, allocations: 287.3 kB / 0.685 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.8189, allocations: 4.188 kB / 0.685 GB, free: 1.312 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.512e-05/0.8189, allocations: 38.75 kB / 0.685 GB, free: 1.266 MB / 474.7 MB Notification: Performance of pre-optimization done (n=22): time 2.525e-06/0.8189, allocations: 0 / 0.685 GB, free: 1.266 MB / 474.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008534/0.8198, allocations: 351.2 kB / 0.6853 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.8199, allocations: 162.2 kB / 0.6855 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004591/0.8204, allocations: 308.9 kB / 0.6858 GB, free: 428 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.8204, allocations: 33.7 kB / 0.6858 GB, free: 388 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.8207, allocations: 208.3 kB / 0.686 GB, free: 172 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.8208, allocations: 82.83 kB / 0.6861 GB, free: 88 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.8208, allocations: 8 kB / 0.6861 GB, free: 80 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001997/0.821, allocations: 342.8 kB / 0.6864 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.8212, allocations: 91.95 kB / 0.6865 GB, free: 15.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.8215, allocations: 163.6 kB / 0.6867 GB, free: 15.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.8218, allocations: 100.8 kB / 0.6868 GB, free: 15.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8218, allocations: 0 / 0.6868 GB, free: 15.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006251/0.8224, allocations: 309.8 kB / 0.6871 GB, free: 15.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.8224, allocations: 4 kB / 0.6871 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.8225, allocations: 0 / 0.6871 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.8225, allocations: 4 kB / 0.6871 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.8227, allocations: 64.03 kB / 0.6871 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.8228, allocations: 0 / 0.6871 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.823, allocations: 43.77 kB / 0.6872 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.8231, allocations: 8 kB / 0.6872 GB, free: 14.93 MB / 490.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 () * Number of clocked 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.0002335/0.8233, allocations: 161.8 kB / 0.6873 GB, free: 14.77 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.8234, allocations: 39.58 kB / 0.6874 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.8235, allocations: 39.47 kB / 0.6874 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8235, allocations: 4 kB / 0.6874 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.8236, allocations: 0 / 0.6874 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.8236, allocations: 0 / 0.6874 GB, free: 14.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.8242, allocations: 421.2 kB / 0.6878 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.8242, allocations: 0 / 0.6878 GB, free: 14.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.8244, allocations: 43.97 kB / 0.6879 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.8245, allocations: 0 / 0.6879 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.8245, allocations: 15.95 kB / 0.6879 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.8245, allocations: 3.938 kB / 0.6879 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8245, allocations: 0 / 0.6879 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008231/0.8253, allocations: 474.9 kB / 0.6883 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.8255, allocations: 144.6 kB / 0.6885 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.8256, allocations: 8 kB / 0.6885 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.8258, allocations: 39.89 kB / 0.6885 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.83e-05/0.8259, allocations: 19.97 kB / 0.6885 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.8259, allocations: 4 kB / 0.6885 GB, free: 13.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003177/0.8263, allocations: 247.2 kB / 0.6888 GB, free: 13.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8263, allocations: 0 / 0.6888 GB, free: 13.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003689/0.8266, allocations: 71.84 kB / 0.6888 GB, free: 13.14 MB / 490.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) * 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.001311/0.828, allocations: 1.018 MB / 0.6898 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005672/0.8285, allocations: 227.9 kB / 0.6901 GB, free: 11.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.8286, allocations: 8.312 kB / 0.6901 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.8288, allocations: 117.6 kB / 0.6902 GB, free: 11.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.8294, allocations: 71.39 kB / 0.6902 GB, free: 11.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004743/0.8341, allocations: 2.738 MB / 0.6929 GB, free: 8.891 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.8348, allocations: 0.8069 MB / 0.6937 GB, free: 8.059 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002259/0.835, allocations: 30.97 kB / 0.6937 GB, free: 8.027 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.8352, allocations: 119.4 kB / 0.6939 GB, free: 7.91 MB / 490.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8352, allocations: 0 / 0.6939 GB, free: 7.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.8637, allocations: 6.684 MB / 0.7004 GB, free: 1.395 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003128/0.8641, allocations: 186.4 kB / 0.7006 GB, free: 1.152 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.308, allocations: 0 / 0.7006 GB, free: 1.152 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)