Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001421, allocations: 108 kB / 15.61 MB, free: 148 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.001548/0.001548, allocations: 193.9 kB / 16.53 MB, free: 6.691 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.9436/0.9436, allocations: 143 MB / 433.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 59.89 kB / 0.5141 GB, free: 11.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1553, allocations: 82.04 MB / 0.5943 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004994/0.1604, allocations: 4.111 MB / 0.5983 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.1625, allocations: 1.305 MB / 0.5995 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.1628, allocations: 19.94 kB / 0.5996 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002892/0.1631, allocations: 126.7 kB / 0.5997 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.1634, allocations: 178.4 kB / 0.5999 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007256/0.1642, allocations: 427.7 kB / 0.6003 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007487/0.1649, allocations: 0.9593 MB / 0.6012 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000577/0.1655, allocations: 458.1 kB / 0.6016 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003118/0.1658, allocations: 322.8 kB / 0.6019 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.1662, allocations: 342.3 kB / 0.6023 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1663, allocations: 92 kB / 0.6024 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1664, allocations: 88 kB / 0.6024 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1665, allocations: 175.5 kB / 0.6026 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.1668, allocations: 398 kB / 0.603 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.239/0.4058, allocations: 1.082 MB / 0.604 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4059, allocations: 3.375 kB / 0.604 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4059, allocations: 0 / 0.604 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.335e-05/0.4059, allocations: 1.75 kB / 0.6041 GB, free: 39.3 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001648/0.4076, allocations: 1.069 MB / 0.6051 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.4076, allocations: 10.28 kB / 0.6051 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.4077, allocations: 85.72 kB / 0.6052 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006081/0.4083, allocations: 0.5502 MB / 0.6057 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.4084, allocations: 43.78 kB / 0.6058 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.4085, allocations: 62.97 kB / 0.6058 GB, free: 38.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.4093, allocations: 0.6087 MB / 0.6064 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.4094, allocations: 3.938 kB / 0.6064 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.4094, allocations: 23 kB / 0.6064 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4094, allocations: 16.19 kB / 0.6065 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008345/0.4103, allocations: 459.4 kB / 0.6069 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.4124, allocations: 2.016 MB / 0.6089 GB, free: 37.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/0.4131, allocations: 442.5 kB / 0.6093 GB, free: 37.6 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.4135, allocations: 242.1 kB / 0.6095 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.4135, allocations: 13.42 kB / 0.6095 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004913/0.414, allocations: 253.9 kB / 0.6098 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.414, allocations: 0 / 0.6098 GB, free: 37.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001043/0.4151, allocations: 0.5936 MB / 0.6104 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.4151, allocations: 54.72 kB / 0.6104 GB, free: 37.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.4155, allocations: 447.1 kB / 0.6108 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.4155, allocations: 34.3 kB / 0.6109 GB, free: 37.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.4156, allocations: 325.5 kB / 0.6112 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.4157, allocations: 169.5 kB / 0.6113 GB, free: 36.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.4158, allocations: 96.3 kB / 0.6114 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.4159, allocations: 369 kB / 0.6118 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.4163, allocations: 163.3 kB / 0.6119 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.4166, allocations: 247.8 kB / 0.6122 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/0.4173, allocations: 452.4 kB / 0.6126 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4173, allocations: 2.906 kB / 0.6126 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008451/0.4181, allocations: 0.5602 MB / 0.6132 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.4182, allocations: 38.02 kB / 0.6132 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.4182, allocations: 3.188 kB / 0.6132 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4182, allocations: 7.156 kB / 0.6132 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004383/0.4187, allocations: 110.4 kB / 0.6133 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4187, allocations: 8.344 kB / 0.6133 GB, free: 36.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.419, allocations: 58.97 kB / 0.6134 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.419, allocations: 22.56 kB / 0.6134 GB, free: 36.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0001808/0.4192, allocations: 209.2 kB / 0.6136 GB, free: 35.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.4192, allocations: 61.11 kB / 0.6137 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.4194, allocations: 63.78 kB / 0.6137 GB, free: 35.85 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.4194, allocations: 5.781 kB / 0.6137 GB, free: 35.85 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.4194, allocations: 0.7656 kB / 0.6137 GB, free: 35.85 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4194, allocations: 0.5156 kB / 0.6137 GB, free: 35.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.4207, allocations: 1.18 MB / 0.6149 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4207, allocations: 0 / 0.6149 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.4212, allocations: 97.64 kB / 0.615 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4212, allocations: 6.188 kB / 0.615 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.4212, allocations: 6.969 kB / 0.615 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4212, allocations: 2.453 kB / 0.615 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4212, allocations: 6.594 kB / 0.615 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.4223, allocations: 0.7604 MB / 0.6157 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.4224, allocations: 175.1 kB / 0.6159 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.708e-05/0.4225, allocations: 10.94 kB / 0.6159 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.4228, allocations: 26.27 kB / 0.6159 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.4229, allocations: 39.06 kB / 0.616 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.4229, allocations: 12.66 kB / 0.616 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002401/0.4231, allocations: 311.5 kB / 0.6163 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4231, allocations: 0 / 0.6163 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003865/0.4235, allocations: 138.6 kB / 0.6164 GB, free: 34.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001005/0.4236, allocations: 119.6 kB / 0.6165 GB, free: 34.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009141/0.4245, allocations: 0.4919 MB / 0.617 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4246, allocations: 7.172 kB / 0.617 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.4249, allocations: 216.9 kB / 0.6172 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000679/0.4256, allocations: 156 kB / 0.6174 GB, free: 34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.4277, allocations: 1.35 MB / 0.6187 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.428, allocations: 0.8832 MB / 0.6195 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00024/0.4282, allocations: 68.89 kB / 0.6196 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.4283, allocations: 45.12 kB / 0.6197 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.4283, allocations: 0 / 0.6197 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.009951/0.4383, allocations: 5.927 MB / 0.6254 GB, free: 32.17 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)