Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007814/0.007815, allocations: 104.4 kB / 15.73 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 196.9 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.003/1.003, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 55.91 kB / 0.5955 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5546, allocations: 82.03 MB / 0.6756 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004231/0.5588, allocations: 2.976 MB / 0.6785 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.5608, allocations: 0.9083 MB / 0.6794 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.5611, allocations: 13.16 kB / 0.6794 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.5613, allocations: 68.23 kB / 0.6795 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.5615, allocations: 100.9 kB / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005033/0.5621, allocations: 211.6 kB / 0.6798 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005165/0.5626, allocations: 498 kB / 0.6802 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.563, allocations: 216.2 kB / 0.6805 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.5632, allocations: 185.7 kB / 0.6806 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.5634, allocations: 177 kB / 0.6808 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.193e-05/0.5635, allocations: 50.95 kB / 0.6808 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.696e-05/0.5636, allocations: 43.94 kB / 0.6809 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.618e-05/0.5637, allocations: 85.89 kB / 0.681 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.5639, allocations: 202.2 kB / 0.6812 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.5644, allocations: 0.5341 MB / 0.6817 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.5644, allocations: 0 / 0.6817 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5644, allocations: 3.938 kB / 0.6817 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.5645, allocations: 0 / 0.6817 GB, free: 12.72 MB / 0.5137 GB 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.001148/0.5656, allocations: 0.7092 MB / 0.6824 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.5657, allocations: 9.844 kB / 0.6824 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.657e-05/0.5658, allocations: 47.62 kB / 0.6824 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007024/0.5665, allocations: 407.4 kB / 0.6828 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.5665, allocations: 21.03 kB / 0.6828 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.5666, allocations: 31.86 kB / 0.6829 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.5672, allocations: 346.2 kB / 0.6832 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5672, allocations: 1.156 kB / 0.6832 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.558e-05/0.5673, allocations: 10.47 kB / 0.6832 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.5673, allocations: 7.562 kB / 0.6832 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.5678, allocations: 212.4 kB / 0.6834 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.5694, allocations: 1.176 MB / 0.6846 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.57, allocations: 239.3 kB / 0.6848 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.5702, allocations: 111.8 kB / 0.6849 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.5703, allocations: 2.75 kB / 0.6849 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.5703, allocations: 41.69 kB / 0.685 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.5703, allocations: 0 / 0.685 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0006751/0.571, allocations: 288 kB / 0.6852 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.5711, allocations: 105.6 kB / 0.6853 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003738/0.5715, allocations: 339.8 kB / 0.6857 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.5715, allocations: 31.27 kB / 0.6857 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.5717, allocations: 229.5 kB / 0.6859 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/0.5717, allocations: 76.3 kB / 0.686 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/0.5719, allocations: 55.81 kB / 0.686 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.572, allocations: 339.8 kB / 0.6864 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.5722, allocations: 77.92 kB / 0.6864 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.5725, allocations: 156.5 kB / 0.6866 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.5729, allocations: 209.9 kB / 0.6868 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5729, allocations: 3.938 kB / 0.6868 GB, free: 8.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000559/0.5735, allocations: 280 kB / 0.687 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.5735, allocations: 15.33 kB / 0.6871 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5735, allocations: 1.438 kB / 0.6871 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.5736, allocations: 2.375 kB / 0.6871 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.5738, allocations: 53.7 kB / 0.6871 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.5738, allocations: 5.734 kB / 0.6871 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.574, allocations: 29.55 kB / 0.6871 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.574, allocations: 7.219 kB / 0.6872 GB, free: 8.363 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.5742, allocations: 169.4 kB / 0.6873 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.5743, allocations: 36.62 kB / 0.6874 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.908e-05/0.5744, allocations: 39.39 kB / 0.6874 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.5744, allocations: 3.031 kB / 0.6874 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.5744, allocations: 0 / 0.6874 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.5744, allocations: 3.984 kB / 0.6874 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.575, allocations: 391.8 kB / 0.6878 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.575, allocations: 1.531 kB / 0.6878 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.5752, allocations: 39.08 kB / 0.6878 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.5752, allocations: 5.266 kB / 0.6878 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.5753, allocations: 13.2 kB / 0.6878 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.5753, allocations: 1.312 kB / 0.6878 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5753, allocations: 0 / 0.6878 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.5761, allocations: 427.7 kB / 0.6882 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.5762, allocations: 127.2 kB / 0.6884 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.5763, allocations: 7.312 kB / 0.6884 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.5765, allocations: 24.16 kB / 0.6884 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-05/0.5766, allocations: 15.92 kB / 0.6884 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.5766, allocations: 11.89 kB / 0.6884 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003068/0.5769, allocations: 234.2 kB / 0.6886 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5769, allocations: 1.281 kB / 0.6886 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003463/0.5773, allocations: 68.59 kB / 0.6887 GB, free: 7.164 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.5774, allocations: 109.5 kB / 0.6888 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.578, allocations: 198.7 kB / 0.689 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.578, allocations: 1.188 kB / 0.689 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.5782, allocations: 101.6 kB / 0.6891 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005584/0.5788, allocations: 85.89 kB / 0.6892 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5803, allocations: 0.6917 MB / 0.6899 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.5807, allocations: 0.7906 MB / 0.6906 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001582/0.5809, allocations: 37.28 kB / 0.6907 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.581, allocations: 33.36 kB / 0.6907 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.581, allocations: 1.469 kB / 0.6907 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of Templates: time 0.007577/0.5886, allocations: 3.237 MB / 0.6939 GB, free: 3.379 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)