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.0008846/0.0008847, allocations: 90.52 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.009639/0.00964, allocations: 171.1 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.355 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.9472/0.9472, allocations: 143.2 MB / 434.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 8 kB / 0.5164 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1516, allocations: 83.41 MB / 0.5978 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.002865/0.1545, allocations: 2.629 MB / 0.6004 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001319/0.1558, allocations: 0.8613 MB / 0.6012 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.156, allocations: 15.94 kB / 0.6013 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.1562, allocations: 47.58 kB / 0.6013 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1563, allocations: 79.41 kB / 0.6014 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004039/0.1567, allocations: 196.1 kB / 0.6016 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.1571, allocations: 455.2 kB / 0.602 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.1574, allocations: 197.2 kB / 0.6022 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1576, allocations: 143.1 kB / 0.6023 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1578, allocations: 131.1 kB / 0.6025 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.1578, allocations: 8 kB / 0.6025 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.098e-05/0.1578, allocations: 12 kB / 0.6025 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.1579, allocations: 59.64 kB / 0.6025 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.158, allocations: 188.5 kB / 0.6027 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.1584, allocations: 490.3 kB / 0.6032 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1584, allocations: 0 / 0.6032 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.424e-06/0.1585, allocations: 3.984 kB / 0.6032 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.1585, allocations: 0 / 0.6032 GB, free: 2.234 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.0009135/0.1594, allocations: 0.6351 MB / 0.6038 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1594, allocations: 8.031 kB / 0.6038 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.395e-05/0.1595, allocations: 52.36 kB / 0.6039 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004689/0.16, allocations: 396.3 kB / 0.6042 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.16, allocations: 25.03 kB / 0.6043 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1601, allocations: 28.38 kB / 0.6043 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.1606, allocations: 341.4 kB / 0.6046 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1606, allocations: 4 kB / 0.6046 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.1606, allocations: 12 kB / 0.6046 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1606, allocations: 8 kB / 0.6046 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.1611, allocations: 218.1 kB / 0.6048 GB, free: 424 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2743/0.4353, allocations: 1.191 MB / 0.606 GB, free: 37.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.4359, allocations: 239.9 kB / 0.6062 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.4361, allocations: 113.9 kB / 0.6063 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.4361, allocations: 2.812 kB / 0.6063 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.4361, allocations: 38.97 kB / 0.6064 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 3.446e-06/0.4361, allocations: 7.484 kB / 0.6064 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0005811/0.4367, allocations: 293.2 kB / 0.6067 GB, free: 37.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.4368, allocations: 108.3 kB / 0.6068 GB, free: 37.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.437, allocations: 344.2 kB / 0.6071 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.4371, allocations: 33.98 kB / 0.6071 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4372, allocations: 221.6 kB / 0.6073 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.4372, allocations: 77.09 kB / 0.6074 GB, free: 36.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.4373, allocations: 27.19 kB / 0.6074 GB, free: 36.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/0.4373, allocations: 348.4 kB / 0.6078 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4375, allocations: 77.09 kB / 0.6079 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.4377, allocations: 152 kB / 0.608 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.438, allocations: 208.5 kB / 0.6082 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.438, allocations: 3.125 kB / 0.6082 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004066/0.4384, allocations: 281.8 kB / 0.6085 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4385, allocations: 9.594 kB / 0.6085 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4385, allocations: 0 / 0.6085 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4385, allocations: 11.17 kB / 0.6085 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.4387, allocations: 55.31 kB / 0.6085 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4387, allocations: 3.625 kB / 0.6085 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.4389, allocations: 38.92 kB / 0.6086 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.4389, allocations: 12.97 kB / 0.6086 GB, free: 36.24 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.0001228/0.439, allocations: 156.8 kB / 0.6087 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.4391, allocations: 31.09 kB / 0.6088 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.4392, allocations: 38.16 kB / 0.6088 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4392, allocations: 6.844 kB / 0.6088 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.4392, allocations: 1.5 kB / 0.6088 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4392, allocations: 6.234 kB / 0.6088 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.4395, allocations: 399.1 kB / 0.6092 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.4395, allocations: 0 / 0.6092 GB, free: 35.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.4397, allocations: 46.66 kB / 0.6092 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4397, allocations: 2.281 kB / 0.6092 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.4397, allocations: 9.906 kB / 0.6093 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4397, allocations: 1.109 kB / 0.6093 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4397, allocations: 0 / 0.6093 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005265/0.4403, allocations: 435.9 kB / 0.6097 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.4403, allocations: 128.1 kB / 0.6098 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.4404, allocations: 10.31 kB / 0.6098 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.4406, allocations: 22.25 kB / 0.6098 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.4406, allocations: 20.98 kB / 0.6098 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4406, allocations: 2.969 kB / 0.6099 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001744/0.4408, allocations: 243.2 kB / 0.6101 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4408, allocations: 0.5625 kB / 0.6101 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002847/0.4411, allocations: 65.69 kB / 0.6101 GB, free: 35.52 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 8.8e-05/0.4412, allocations: 107.3 kB / 0.6102 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003928/0.4416, allocations: 218 kB / 0.6105 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4416, allocations: 0 / 0.6105 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.4418, allocations: 101.6 kB / 0.6106 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.4423, allocations: 79.75 kB / 0.6106 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4433, allocations: 0.8748 MB / 0.6115 GB, free: 34.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.4435, allocations: 0.7922 MB / 0.6123 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.4436, allocations: 40.67 kB / 0.6123 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.4437, allocations: 27.53 kB / 0.6123 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.4437, allocations: 2.156 kB / 0.6123 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.005177/0.4489, allocations: 2.955 MB / 0.6152 GB, free: 34.08 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)