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.0009327/0.0009326, allocations: 91.92 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009179/0.0009179, allocations: 182.2 kB / 16.92 MB, free: 6.926 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.493/1.493, allocations: 223.3 MB / 241 MB, free: 5.348 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.012/1.012, allocations: 143.2 MB / 435.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8 kB / 0.517 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1908, allocations: 83.41 MB / 0.5985 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00324/0.1941, allocations: 2.629 MB / 0.6011 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1956, allocations: 0.873 MB / 0.6019 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.1958, allocations: 11.94 kB / 0.6019 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.196, allocations: 51.56 kB / 0.602 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001766/0.1962, allocations: 67.5 kB / 0.602 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1967, allocations: 198 kB / 0.6022 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.1971, allocations: 451.2 kB / 0.6027 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003379/0.1975, allocations: 205.2 kB / 0.6029 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1977, allocations: 131.1 kB / 0.603 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.1979, allocations: 131.1 kB / 0.6031 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.1979, allocations: 12 kB / 0.6031 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.1979, allocations: 16 kB / 0.6031 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.198, allocations: 55.64 kB / 0.6032 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1982, allocations: 188.5 kB / 0.6034 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.1985, allocations: 407.2 kB / 0.6038 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1985, allocations: 0 / 0.6038 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1985, allocations: 0 / 0.6038 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1985, allocations: 0 / 0.6038 GB, free: 2.297 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.0009739/0.1995, allocations: 0.639 MB / 0.6044 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1996, allocations: 12.03 kB / 0.6044 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.901e-05/0.1997, allocations: 44.38 kB / 0.6044 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005222/0.2002, allocations: 404.3 kB / 0.6048 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.2002, allocations: 21.03 kB / 0.6048 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.2003, allocations: 28.38 kB / 0.6049 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005621/0.2009, allocations: 349.4 kB / 0.6052 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2009, allocations: 0 / 0.6052 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.2009, allocations: 12 kB / 0.6052 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.2009, allocations: 8 kB / 0.6052 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.2014, allocations: 218.1 kB / 0.6054 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3415/0.543, allocations: 1.187 MB / 0.6066 GB, free: 40.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.5436, allocations: 241.4 kB / 0.6068 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.5438, allocations: 113.4 kB / 0.6069 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.5439, allocations: 4.188 kB / 0.6069 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.5439, allocations: 39.47 kB / 0.607 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.394e-06/0.5439, allocations: 3.281 kB / 0.607 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006888/0.5446, allocations: 306.2 kB / 0.6073 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.5447, allocations: 105.2 kB / 0.6074 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.5451, allocations: 333.2 kB / 0.6077 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.5451, allocations: 31.83 kB / 0.6077 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.5452, allocations: 221.3 kB / 0.6079 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-05/0.5453, allocations: 83.91 kB / 0.608 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.5454, allocations: 28.92 kB / 0.608 GB, free: 39.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.5455, allocations: 346.1 kB / 0.6084 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.5456, allocations: 76.5 kB / 0.6084 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.5458, allocations: 152.1 kB / 0.6086 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.5462, allocations: 209 kB / 0.6088 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5462, allocations: 0 / 0.6088 GB, free: 39.35 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004845/0.5467, allocations: 292.6 kB / 0.6091 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5467, allocations: 5.25 kB / 0.6091 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5467, allocations: 2.875 kB / 0.6091 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5468, allocations: 3.031 kB / 0.6091 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.547, allocations: 61.31 kB / 0.6091 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.547, allocations: 2.688 kB / 0.6091 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.5472, allocations: 42.25 kB / 0.6092 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.5473, allocations: 7.406 kB / 0.6092 GB, free: 39.29 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.0001538/0.5474, allocations: 163 kB / 0.6093 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.329e-05/0.5475, allocations: 37.91 kB / 0.6094 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.572e-05/0.5476, allocations: 37.06 kB / 0.6094 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5476, allocations: 6.422 kB / 0.6094 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5476, allocations: 2.688 kB / 0.6094 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.5476, allocations: 1.109 kB / 0.6094 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003759/0.548, allocations: 398.8 kB / 0.6098 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.548, allocations: 0 / 0.6098 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.5482, allocations: 44.89 kB / 0.6098 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5482, allocations: 2.625 kB / 0.6098 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.5482, allocations: 3.5 kB / 0.6098 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5482, allocations: 4.25 kB / 0.6098 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5482, allocations: 0 / 0.6098 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006258/0.5489, allocations: 433 kB / 0.6103 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.549, allocations: 135.9 kB / 0.6104 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.549, allocations: 6.344 kB / 0.6104 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.5492, allocations: 21.8 kB / 0.6104 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.401e-05/0.5493, allocations: 16.41 kB / 0.6104 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.5493, allocations: 8.734 kB / 0.6104 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001998/0.5495, allocations: 243.8 kB / 0.6107 GB, free: 38.58 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5495, allocations: 3.672 kB / 0.6107 GB, free: 38.58 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000304/0.5498, allocations: 61.84 kB / 0.6107 GB, free: 38.57 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 0.0001021/0.5499, allocations: 103.5 kB / 0.6108 GB, free: 38.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004101/0.5504, allocations: 221.3 kB / 0.611 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5504, allocations: 0 / 0.611 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/0.5506, allocations: 99.27 kB / 0.6111 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.5511, allocations: 73.67 kB / 0.6112 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.5523, allocations: 0.9173 MB / 0.6121 GB, free: 37.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.5526, allocations: 0.7921 MB / 0.6129 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.5527, allocations: 30.44 kB / 0.6129 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5527, allocations: 0 / 0.6129 GB, free: 37.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.005516/0.5582, allocations: 4.171 MB / 0.617 GB, free: 36.96 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)