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.001432/0.001433, allocations: 105.2 kB / 15.98 MB, free: 6.355 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.001693/0.001693, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.8732/0.8732, allocations: 143.1 MB / 433.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 0.5143 GB, free: 15.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.4252, allocations: 82.03 MB / 0.5944 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004041/0.4292, allocations: 4.116 MB / 0.5985 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.431, allocations: 1.276 MB / 0.5997 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.4312, allocations: 23.88 kB / 0.5997 GB, free: 10.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.4315, allocations: 92.34 kB / 0.5998 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.4318, allocations: 146.7 kB / 0.5999 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.4325, allocations: 383 kB / 0.6003 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005586/0.433, allocations: 0.965 MB / 0.6013 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.4335, allocations: 462.5 kB / 0.6017 GB, free: 8.875 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002204/0.4337, allocations: 326.8 kB / 0.602 GB, free: 8.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.434, allocations: 342.3 kB / 0.6023 GB, free: 8.219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-05/0.4341, allocations: 92.5 kB / 0.6024 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.4341, allocations: 88 kB / 0.6025 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.4342, allocations: 173.9 kB / 0.6027 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.4344, allocations: 398 kB / 0.6031 GB, free: 7.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.4349, allocations: 0.8904 MB / 0.6039 GB, free: 6.594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.4349, allocations: 0 / 0.6039 GB, free: 6.594 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4349, allocations: 0 / 0.6039 GB, free: 6.594 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.435, allocations: 4 kB / 0.6039 GB, free: 6.59 MB / 446.1 MB 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.001423/0.4364, allocations: 1.076 MB / 0.605 GB, free: 5.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.4364, allocations: 8.031 kB / 0.605 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.4365, allocations: 84 kB / 0.6051 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.4371, allocations: 0.5501 MB / 0.6056 GB, free: 4.785 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.4372, allocations: 47.19 kB / 0.6056 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.4373, allocations: 60.38 kB / 0.6057 GB, free: 4.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008591/0.4381, allocations: 0.6059 MB / 0.6063 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.4382, allocations: 1.375 kB / 0.6063 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.4382, allocations: 27.98 kB / 0.6063 GB, free: 4.027 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.4382, allocations: 19.94 kB / 0.6063 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/0.439, allocations: 459.2 kB / 0.6068 GB, free: 3.562 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.4411, allocations: 2.018 MB / 0.6088 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/0.4418, allocations: 444.1 kB / 0.6092 GB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003432/0.4422, allocations: 235 kB / 0.6094 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.4422, allocations: 9.781 kB / 0.6094 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.4428, allocations: 262.6 kB / 0.6097 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 1.784e-06/0.4428, allocations: 0 / 0.6097 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001078/0.4439, allocations: 0.5908 MB / 0.6102 GB, free: 15.95 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.4439, allocations: 55.84 kB / 0.6103 GB, free: 15.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/0.4444, allocations: 439.3 kB / 0.6107 GB, free: 15.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.4445, allocations: 37.7 kB / 0.6107 GB, free: 15.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.4447, allocations: 321 kB / 0.6111 GB, free: 15.08 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.4448, allocations: 170.5 kB / 0.6112 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.445, allocations: 94.19 kB / 0.6113 GB, free: 14.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4452, allocations: 364.2 kB / 0.6117 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.4455, allocations: 170.3 kB / 0.6118 GB, free: 14.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.4459, allocations: 248.6 kB / 0.612 GB, free: 14.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.4467, allocations: 452.8 kB / 0.6125 GB, free: 13.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4467, allocations: 0 / 0.6125 GB, free: 13.54 MB / 462.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001008/0.4478, allocations: 0.5614 MB / 0.613 GB, free: 12.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.793e-05/0.4478, allocations: 40.33 kB / 0.6131 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4478, allocations: 0 / 0.6131 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.4479, allocations: 8 kB / 0.6131 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.4484, allocations: 111.8 kB / 0.6132 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4484, allocations: 7.984 kB / 0.6132 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003458/0.4487, allocations: 65.81 kB / 0.6133 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.4488, allocations: 19.94 kB / 0.6133 GB, free: 12.72 MB / 462.1 MB 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.000256/0.449, allocations: 202.9 kB / 0.6135 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.52e-05/0.4491, allocations: 59.28 kB / 0.6135 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.4492, allocations: 66.42 kB / 0.6136 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.4493, allocations: 12 kB / 0.6136 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.4493, allocations: 2.594 kB / 0.6136 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4493, allocations: 3.984 kB / 0.6136 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.451, allocations: 1.178 MB / 0.6148 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.451, allocations: 0 / 0.6148 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/0.4515, allocations: 93.17 kB / 0.6148 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4515, allocations: 0 / 0.6148 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.4515, allocations: 12.55 kB / 0.6149 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4515, allocations: 4 kB / 0.6149 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4515, allocations: 5.094 kB / 0.6149 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.4528, allocations: 0.7625 MB / 0.6156 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.453, allocations: 172.3 kB / 0.6158 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.471e-05/0.4531, allocations: 13.56 kB / 0.6158 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.4534, allocations: 24.62 kB / 0.6158 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.4535, allocations: 40.38 kB / 0.6158 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.4535, allocations: 12.75 kB / 0.6159 GB, free: 9.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003367/0.4539, allocations: 311.5 kB / 0.6162 GB, free: 9.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.4539, allocations: 4 kB / 0.6162 GB, free: 9.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000435/0.4543, allocations: 140.3 kB / 0.6163 GB, free: 9.539 MB / 462.1 MB 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.0001488/0.4545, allocations: 113.7 kB / 0.6164 GB, free: 9.418 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.4555, allocations: 0.4996 MB / 0.6169 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4556, allocations: 0.5625 kB / 0.6169 GB, free: 8.914 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.456, allocations: 219.7 kB / 0.6171 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000775/0.4568, allocations: 157.7 kB / 0.6173 GB, free: 8.555 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.4594, allocations: 1.642 MB / 0.6189 GB, free: 6.895 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.4599, allocations: 0.8899 MB / 0.6197 GB, free: 5.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.4601, allocations: 47.42 kB / 0.6198 GB, free: 5.934 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4601, allocations: 4 kB / 0.6198 GB, free: 5.93 MB / 462.1 MB Notification: Performance of Templates: time 0.0109/0.471, allocations: 7.603 MB / 0.6272 GB, free: 14.38 MB / 478.1 MB 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)