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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 172.7 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4683/0.4683, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.537/1.537, allocations: 223.2 MB / 348.4 MB, free: 4.898 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.0008495/0.0008496, allocations: 91.77 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004227, allocations: 15.98 kB / 0.4901 GB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4685, allocations: 71.01 MB / 0.5594 GB, free: 43.75 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.6132, allocations: 107.1 MB / 0.664 GB, free: 2.383 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.6135, allocations: 87.95 kB / 0.6641 GB, free: 2.297 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01801/0.6315, allocations: 6.903 MB / 0.6709 GB, free: 11.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6315, allocations: 0 / 0.6709 GB, free: 11.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.545e-05/0.6316, allocations: 12 kB / 0.6709 GB, free: 11.36 MB / 490.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.001236/0.6328, allocations: 0.6432 MB / 0.6715 GB, free: 10.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.6329, allocations: 12.03 kB / 0.6715 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.6331, allocations: 48.38 kB / 0.6716 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007158/0.6338, allocations: 388.5 kB / 0.6719 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.6338, allocations: 24.97 kB / 0.672 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.6339, allocations: 32.38 kB / 0.672 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006536/0.6346, allocations: 362.6 kB / 0.6723 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.6346, allocations: 11.86 kB / 0.6723 GB, free: 9.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.6346, allocations: 15.94 kB / 0.6724 GB, free: 9.715 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.6346, allocations: 8 kB / 0.6724 GB, free: 9.707 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005415/0.6352, allocations: 250.1 kB / 0.6726 GB, free: 9.461 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.637, allocations: 1.248 MB / 0.6738 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/0.6377, allocations: 288.7 kB / 0.6741 GB, free: 7.852 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002456/0.6379, allocations: 120.8 kB / 0.6742 GB, free: 7.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.638, allocations: 4 kB / 0.6742 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.638, allocations: 34.56 kB / 0.6743 GB, free: 7.684 MB / 490.7 MB Notification: Performance of pre-optimization done (n=22): time 2.395e-06/0.638, allocations: 0 / 0.6743 GB, free: 7.684 MB / 490.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007207/0.6388, allocations: 352.2 kB / 0.6746 GB, free: 7.336 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.165e-05/0.6389, allocations: 154.2 kB / 0.6747 GB, free: 7.148 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003882/0.6393, allocations: 353.6 kB / 0.6751 GB, free: 6.797 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.6393, allocations: 29.7 kB / 0.6751 GB, free: 6.762 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.6395, allocations: 220.3 kB / 0.6753 GB, free: 6.543 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/0.6395, allocations: 78.83 kB / 0.6754 GB, free: 6.465 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.6396, allocations: 4 kB / 0.6754 GB, free: 6.461 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6397, allocations: 342.8 kB / 0.6757 GB, free: 6.117 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.6399, allocations: 91.95 kB / 0.6758 GB, free: 6.027 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.6402, allocations: 172.4 kB / 0.676 GB, free: 5.832 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/0.6406, allocations: 220.8 kB / 0.6762 GB, free: 5.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6406, allocations: 0 / 0.6762 GB, free: 5.602 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005556/0.6412, allocations: 295 kB / 0.6765 GB, free: 5.309 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.6412, allocations: 8 kB / 0.6765 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6412, allocations: 128 / 0.6765 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.6413, allocations: 8 kB / 0.6765 GB, free: 5.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.6415, allocations: 55.91 kB / 0.6765 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.6415, allocations: 4 kB / 0.6765 GB, free: 5.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.6418, allocations: 47.72 kB / 0.6766 GB, free: 5.188 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.6418, allocations: 8 kB / 0.6766 GB, free: 5.18 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.0001949/0.642, allocations: 157.8 kB / 0.6767 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.6421, allocations: 43.55 kB / 0.6768 GB, free: 4.973 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.6422, allocations: 39.47 kB / 0.6768 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.6422, allocations: 8.031 kB / 0.6768 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.6422, allocations: 0 / 0.6768 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.6422, allocations: 0 / 0.6768 GB, free: 4.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.6427, allocations: 421.1 kB / 0.6772 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6427, allocations: 0 / 0.6772 GB, free: 4.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.6429, allocations: 55.92 kB / 0.6773 GB, free: 4.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.643, allocations: 3.938 kB / 0.6773 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.643, allocations: 7.984 kB / 0.6773 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.643, allocations: 0 / 0.6773 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.643, allocations: 4 kB / 0.6773 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007642/0.6438, allocations: 488.4 kB / 0.6778 GB, free: 3.906 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.6439, allocations: 140.7 kB / 0.6779 GB, free: 3.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.644, allocations: 8 kB / 0.6779 GB, free: 3.742 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.6442, allocations: 28.03 kB / 0.6779 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.6443, allocations: 19.97 kB / 0.6779 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.6443, allocations: 4 kB / 0.678 GB, free: 3.691 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.6446, allocations: 251.2 kB / 0.6782 GB, free: 3.445 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6446, allocations: 0 / 0.6782 GB, free: 3.445 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.6449, allocations: 67.75 kB / 0.6783 GB, free: 3.379 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.0001401/0.645, allocations: 107.2 kB / 0.6784 GB, free: 3.266 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004629/0.6455, allocations: 236.6 kB / 0.6786 GB, free: 3.035 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6455, allocations: 0 / 0.6786 GB, free: 3.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.6457, allocations: 115.9 kB / 0.6787 GB, free: 2.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.6464, allocations: 74.31 kB / 0.6788 GB, free: 2.848 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.6478, allocations: 0.8549 MB / 0.6796 GB, free: 1.969 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.6483, allocations: 0.7992 MB / 0.6804 GB, free: 1.145 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001608/0.6485, allocations: 38.95 kB / 0.6804 GB, free: 1.105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.6486, allocations: 27.44 kB / 0.6804 GB, free: 1.078 MB / 490.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6486, allocations: 0 / 0.6804 GB, free: 1.078 MB / 490.7 MB Notification: Performance of Templates: time 0.008545/0.6571, allocations: 3.39 MB / 0.6838 GB, free: 13.73 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (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 & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)