Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009919/0.0009917, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006264/0.006264, allocations: 170 kB / 16.26 MB, free: 6.613 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.091/1.091, allocations: 143.4 MB / 434.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003606/0.0003606, allocations: 8 kB / 0.5166 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 83.41 MB / 0.5981 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003999/0.2322, allocations: 2.781 MB / 0.6008 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.2342, allocations: 0.9078 MB / 0.6017 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002898/0.2345, allocations: 11.94 kB / 0.6017 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.2347, allocations: 55.5 kB / 0.6018 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.235, allocations: 75.44 kB / 0.6018 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.2356, allocations: 223.2 kB / 0.602 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.2361, allocations: 0.4998 MB / 0.6025 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.2366, allocations: 235.3 kB / 0.6028 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.2368, allocations: 147.1 kB / 0.6029 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.237, allocations: 158.9 kB / 0.603 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.2371, allocations: 12 kB / 0.6031 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.57e-05/0.2371, allocations: 12 kB / 0.6031 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.26e-05/0.2372, allocations: 59.64 kB / 0.6031 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.2374, allocations: 212.4 kB / 0.6033 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.2379, allocations: 0.5489 MB / 0.6039 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2379, allocations: 4 kB / 0.6039 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2379, allocations: 0 / 0.6039 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.2379, allocations: 0 / 0.6039 GB, free: 1.512 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001209/0.2392, allocations: 0.6921 MB / 0.6045 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.2392, allocations: 12.03 kB / 0.6046 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.2393, allocations: 52.38 kB / 0.6046 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005916/0.2399, allocations: 412.6 kB / 0.605 GB, free: 272 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.24, allocations: 29.38 kB / 0.605 GB, free: 244 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.24, allocations: 36.38 kB / 0.6051 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4229/0.6629, allocations: 400.2 kB / 0.6054 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.663, allocations: 0 / 0.6054 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.6631, allocations: 14.12 kB / 0.6055 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/0.6631, allocations: 10.31 kB / 0.6055 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005969/0.6637, allocations: 272.2 kB / 0.6057 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.6653, allocations: 1.332 MB / 0.607 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/0.6659, allocations: 310.8 kB / 0.6073 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.6661, allocations: 147.1 kB / 0.6075 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.6662, allocations: 3.969 kB / 0.6075 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.6665, allocations: 179.6 kB / 0.6076 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.6665, allocations: 0 / 0.6076 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007381/0.6673, allocations: 388.6 kB / 0.608 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.6673, allocations: 85.05 kB / 0.6081 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.6677, allocations: 347 kB / 0.6084 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.6677, allocations: 37.33 kB / 0.6085 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6678, allocations: 234.5 kB / 0.6087 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.6679, allocations: 105.6 kB / 0.6088 GB, free: 39.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.6679, allocations: 41.7 kB / 0.6088 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.668, allocations: 358.1 kB / 0.6092 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.6682, allocations: 99.98 kB / 0.6093 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.6685, allocations: 176.4 kB / 0.6094 GB, free: 39.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.6689, allocations: 262.8 kB / 0.6097 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6689, allocations: 0 / 0.6097 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005431/0.6694, allocations: 351.6 kB / 0.61 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.6695, allocations: 6.156 kB / 0.61 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6695, allocations: 3.062 kB / 0.61 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.6695, allocations: 7.156 kB / 0.61 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.6697, allocations: 63.69 kB / 0.6101 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.6698, allocations: 9.625 kB / 0.6101 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.67, allocations: 43.59 kB / 0.6101 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.67, allocations: 12.47 kB / 0.6102 GB, free: 39.02 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: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001518/0.6701, allocations: 181.3 kB / 0.6103 GB, free: 38.89 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.933e-05/0.6702, allocations: 38.08 kB / 0.6104 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.6703, allocations: 42.67 kB / 0.6104 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6703, allocations: 3.625 kB / 0.6104 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6703, allocations: 0 / 0.6104 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6703, allocations: 3.375 kB / 0.6104 GB, free: 38.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008955/0.6712, allocations: 0.8147 MB / 0.6112 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6712, allocations: 0.5625 kB / 0.6112 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.6715, allocations: 56.45 kB / 0.6113 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.6715, allocations: 3.594 kB / 0.6113 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.6715, allocations: 7.125 kB / 0.6113 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6715, allocations: 2.969 kB / 0.6113 GB, free: 38.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6715, allocations: 3.938 kB / 0.6113 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007258/0.6722, allocations: 0.5217 MB / 0.6118 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.375e-05/0.6723, allocations: 135.7 kB / 0.6119 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/0.6724, allocations: 11.91 kB / 0.6119 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.6726, allocations: 22.55 kB / 0.6119 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.6727, allocations: 28.69 kB / 0.612 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.6727, allocations: 12.02 kB / 0.612 GB, free: 38.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001909/0.6729, allocations: 241.8 kB / 0.6122 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.61e-07/0.6729, allocations: 0 / 0.6122 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003254/0.6732, allocations: 93.56 kB / 0.6123 GB, free: 38.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001039/0.6733, allocations: 108.2 kB / 0.6124 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.6738, allocations: 273.5 kB / 0.6127 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6738, allocations: 0 / 0.6127 GB, free: 38.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.6741, allocations: 138.7 kB / 0.6128 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.6746, allocations: 76.81 kB / 0.6129 GB, free: 38.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.676, allocations: 1.011 MB / 0.6139 GB, free: 37.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.6762, allocations: 0.8137 MB / 0.6147 GB, free: 36.77 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.6764, allocations: 44.52 kB / 0.6147 GB, free: 36.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.213e-05/0.6764, allocations: 34.23 kB / 0.6147 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.6765, allocations: 0 / 0.6147 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.006825/0.6833, allocations: 3.364 MB / 0.618 GB, free: 36.6 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)