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.001456/0.001456, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001533/0.001533, allocations: 195.3 kB / 16.14 MB, free: 6.688 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.378/1.378, allocations: 222.9 MB / 239.8 MB, free: 4.617 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 0.9343/0.9343, allocations: 143 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 59.91 kB / 0.5135 GB, free: 12.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1505, allocations: 82.04 MB / 0.5936 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004393/0.1549, allocations: 3.017 MB / 0.5966 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1567, allocations: 0.869 MB / 0.5974 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.1569, allocations: 11.94 kB / 0.5974 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.1572, allocations: 51.58 kB / 0.5975 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001653/0.1573, allocations: 75.41 kB / 0.5975 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.1578, allocations: 197.9 kB / 0.5977 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004011/0.1582, allocations: 463.2 kB / 0.5982 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.1585, allocations: 201.2 kB / 0.5984 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.1587, allocations: 155.1 kB / 0.5985 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1589, allocations: 171 kB / 0.5987 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.159, allocations: 20 kB / 0.5987 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.368e-05/0.159, allocations: 20 kB / 0.5987 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1591, allocations: 59.7 kB / 0.5988 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1592, allocations: 182.8 kB / 0.5989 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.1596, allocations: 0.4946 MB / 0.5994 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1596, allocations: 0 / 0.5994 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1596, allocations: 0 / 0.5994 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.1596, allocations: 0 / 0.5994 GB, free: 4.062 MB / 0.4981 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.001035/0.1607, allocations: 0.7089 MB / 0.6001 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1607, allocations: 8.031 kB / 0.6001 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/0.1608, allocations: 52.38 kB / 0.6002 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.1613, allocations: 392.4 kB / 0.6005 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.1614, allocations: 25.03 kB / 0.6006 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.1614, allocations: 28.38 kB / 0.6006 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.162, allocations: 345.4 kB / 0.6009 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.162, allocations: 4 kB / 0.6009 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.162, allocations: 12 kB / 0.6009 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.162, allocations: 11.98 kB / 0.601 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004401/0.1625, allocations: 214.1 kB / 0.6012 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.1639, allocations: 1.182 MB / 0.6023 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005321/0.1644, allocations: 230.7 kB / 0.6025 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1646, allocations: 112.8 kB / 0.6026 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.1647, allocations: 8 kB / 0.6026 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1647, allocations: 34.94 kB / 0.6027 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.1647, allocations: 0 / 0.6027 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006242/0.1653, allocations: 293 kB / 0.603 GB, free: 224 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.1654, allocations: 110.8 kB / 0.6031 GB, free: 88 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2807/0.4461, allocations: 333.1 kB / 0.6034 GB, free: 44.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-05/0.4462, allocations: 29.61 kB / 0.6034 GB, free: 44.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.4463, allocations: 223.8 kB / 0.6036 GB, free: 44.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.4464, allocations: 83.17 kB / 0.6037 GB, free: 44.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.4465, allocations: 49.25 kB / 0.6037 GB, free: 44.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.4466, allocations: 348.3 kB / 0.6041 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.4468, allocations: 77.8 kB / 0.6042 GB, free: 43.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.447, allocations: 143.1 kB / 0.6043 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.4473, allocations: 207.7 kB / 0.6045 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4473, allocations: 0.5625 kB / 0.6045 GB, free: 43.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004822/0.4478, allocations: 290.6 kB / 0.6048 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4478, allocations: 6.562 kB / 0.6048 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4479, allocations: 1.406 kB / 0.6048 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4479, allocations: 2.875 kB / 0.6048 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.4481, allocations: 51.05 kB / 0.6048 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4481, allocations: 2.781 kB / 0.6048 GB, free: 43.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.4483, allocations: 35.92 kB / 0.6049 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.4483, allocations: 10.47 kB / 0.6049 GB, free: 43.59 MB / 0.4981 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.0001423/0.4485, allocations: 168.8 kB / 0.605 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.4485, allocations: 37.73 kB / 0.6051 GB, free: 43.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.4486, allocations: 43.22 kB / 0.6051 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4486, allocations: 2.094 kB / 0.6051 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4486, allocations: 0 / 0.6051 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4487, allocations: 0.5 kB / 0.6051 GB, free: 43.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003542/0.449, allocations: 398.1 kB / 0.6055 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.449, allocations: 2.094 kB / 0.6055 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.4492, allocations: 42.19 kB / 0.6055 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.4493, allocations: 3.859 kB / 0.6055 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.4493, allocations: 6.172 kB / 0.6055 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4493, allocations: 2.656 kB / 0.6055 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4493, allocations: 4.062 kB / 0.6056 GB, free: 43.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.4499, allocations: 421.7 kB / 0.606 GB, free: 43.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/0.45, allocations: 130 kB / 0.6061 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.45, allocations: 8.922 kB / 0.6061 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.4502, allocations: 19.36 kB / 0.6061 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.4502, allocations: 18.33 kB / 0.6061 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4503, allocations: 10.05 kB / 0.6061 GB, free: 42.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001762/0.4504, allocations: 240.7 kB / 0.6064 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4505, allocations: 0 / 0.6064 GB, free: 42.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003004/0.4508, allocations: 68.94 kB / 0.6064 GB, free: 42.88 MB / 0.4981 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 9.534e-05/0.4509, allocations: 104 kB / 0.6065 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004039/0.4513, allocations: 209.1 kB / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4513, allocations: 0 / 0.6067 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001712/0.4515, allocations: 99.22 kB / 0.6068 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005916/0.4521, allocations: 77.86 kB / 0.6069 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.4532, allocations: 0.844 MB / 0.6077 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.4534, allocations: 0.7894 MB / 0.6085 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.4535, allocations: 36.22 kB / 0.6085 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.4536, allocations: 30.33 kB / 0.6086 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.4536, allocations: 0 / 0.6086 GB, free: 41.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.005704/0.4593, allocations: 2.976 MB / 0.6115 GB, free: 41.47 MB / 0.4981 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)