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/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.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.0007958/0.0007958, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005769/0.00577, allocations: 169.5 kB / 16.26 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.316 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.9357/0.9357, allocations: 143.2 MB / 434.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002928/0.0002928, allocations: 8 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1642, allocations: 83.41 MB / 0.5978 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003096/0.1673, allocations: 2.777 MB / 0.6006 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001822/0.1691, allocations: 0.9117 MB / 0.6014 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.1694, allocations: 11.94 kB / 0.6015 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.1696, allocations: 51.52 kB / 0.6015 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1699, allocations: 83.41 kB / 0.6016 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006141/0.1705, allocations: 218.4 kB / 0.6018 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.171, allocations: 0.5075 MB / 0.6023 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000433/0.1714, allocations: 231.4 kB / 0.6025 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.1717, allocations: 147.1 kB / 0.6026 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.1719, allocations: 162.9 kB / 0.6028 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.172, allocations: 12 kB / 0.6028 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.653e-05/0.172, allocations: 12 kB / 0.6028 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.1721, allocations: 63.58 kB / 0.6029 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.1724, allocations: 208.5 kB / 0.6031 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000647/0.173, allocations: 0.5528 MB / 0.6036 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.173, allocations: 4 kB / 0.6036 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1731, allocations: 0 / 0.6036 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.1731, allocations: 0 / 0.6036 GB, free: 1.688 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.001221/0.1743, allocations: 0.6843 MB / 0.6043 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.1743, allocations: 12.03 kB / 0.6043 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.1744, allocations: 52.38 kB / 0.6044 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005223/0.175, allocations: 412.5 kB / 0.6048 GB, free: 460 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.51e-05/0.175, allocations: 33.38 kB / 0.6048 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1751, allocations: 36.38 kB / 0.6048 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2521/0.4272, allocations: 401.2 kB / 0.6052 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.4272, allocations: 0 / 0.6052 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/0.4273, allocations: 17.22 kB / 0.6052 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.4274, allocations: 8.719 kB / 0.6052 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006196/0.428, allocations: 265.4 kB / 0.6055 GB, free: 40.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.4294, allocations: 1.331 MB / 0.6068 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.43, allocations: 316.3 kB / 0.6071 GB, free: 40.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.4302, allocations: 147.5 kB / 0.6072 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.4303, allocations: 2.938 kB / 0.6072 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/0.4306, allocations: 175.8 kB / 0.6074 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.4307, allocations: 0 / 0.6074 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007463/0.4314, allocations: 395.8 kB / 0.6078 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.4315, allocations: 82.52 kB / 0.6078 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.4318, allocations: 353.1 kB / 0.6082 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.4318, allocations: 35.77 kB / 0.6082 GB, free: 40.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.432, allocations: 233.8 kB / 0.6084 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.432, allocations: 102.1 kB / 0.6085 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.4321, allocations: 47.58 kB / 0.6086 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.4322, allocations: 351.4 kB / 0.6089 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.4324, allocations: 107.9 kB / 0.609 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.4326, allocations: 171.6 kB / 0.6092 GB, free: 39.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.433, allocations: 260.4 kB / 0.6094 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4331, allocations: 0 / 0.6094 GB, free: 39.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005391/0.4336, allocations: 355.3 kB / 0.6098 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4336, allocations: 10.64 kB / 0.6098 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4336, allocations: 0.7188 kB / 0.6098 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4337, allocations: 5.562 kB / 0.6098 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.4339, allocations: 67.25 kB / 0.6099 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4339, allocations: 2.812 kB / 0.6099 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.4341, allocations: 43.69 kB / 0.6099 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.4341, allocations: 14.88 kB / 0.6099 GB, free: 39.27 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.0001537/0.4343, allocations: 176.1 kB / 0.6101 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.4343, allocations: 42.22 kB / 0.6101 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.835e-05/0.4344, allocations: 45.27 kB / 0.6102 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4345, allocations: 6.812 kB / 0.6102 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4345, allocations: 0 / 0.6102 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4345, allocations: 3.234 kB / 0.6102 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009039/0.4354, allocations: 0.8082 MB / 0.611 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.4354, allocations: 0.5 kB / 0.611 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.4356, allocations: 56.06 kB / 0.611 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4356, allocations: 0 / 0.611 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.4356, allocations: 6.812 kB / 0.611 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4357, allocations: 2.594 kB / 0.611 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.4357, allocations: 3.938 kB / 0.611 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/0.4363, allocations: 0.5238 MB / 0.6115 GB, free: 38.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.103e-05/0.4364, allocations: 136.2 kB / 0.6117 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.4365, allocations: 9.906 kB / 0.6117 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.4367, allocations: 23.02 kB / 0.6117 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.4368, allocations: 30.61 kB / 0.6117 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.4368, allocations: 10.09 kB / 0.6117 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001881/0.437, allocations: 242.4 kB / 0.612 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.553e-06/0.437, allocations: 0 / 0.612 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002956/0.4373, allocations: 89.81 kB / 0.6121 GB, free: 38.39 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 9.947e-05/0.4374, allocations: 114.6 kB / 0.6122 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.4379, allocations: 272.2 kB / 0.6124 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4379, allocations: 0 / 0.6124 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.4381, allocations: 135 kB / 0.6126 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.4386, allocations: 87.69 kB / 0.6126 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.4398, allocations: 1.01 MB / 0.6136 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.44, allocations: 0.8089 MB / 0.6144 GB, free: 37.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001515/0.4402, allocations: 50.28 kB / 0.6145 GB, free: 37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.514e-05/0.4403, allocations: 32 kB / 0.6145 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.4403, allocations: 0 / 0.6145 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.00583/0.4461, allocations: 3.357 MB / 0.6178 GB, free: 36.83 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)