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.0011/0.0011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001112/0.001112, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.315/1.315, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.9898/0.9898, allocations: 143 MB / 433.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.5137 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1832, allocations: 82.03 MB / 0.5938 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005209/0.1884, allocations: 4.129 MB / 0.5978 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.1909, allocations: 1.274 MB / 0.599 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003891/0.1913, allocations: 23.94 kB / 0.5991 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.1917, allocations: 95.2 kB / 0.5992 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.192, allocations: 142.8 kB / 0.5993 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008088/0.1928, allocations: 389.9 kB / 0.5997 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008557/0.1937, allocations: 0.9554 MB / 0.6006 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005795/0.1943, allocations: 458.1 kB / 0.601 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.1946, allocations: 330.8 kB / 0.6013 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.195, allocations: 334.4 kB / 0.6017 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1951, allocations: 88 kB / 0.6017 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1952, allocations: 95.94 kB / 0.6018 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1953, allocations: 171.5 kB / 0.602 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.1957, allocations: 402 kB / 0.6024 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.1965, allocations: 1.083 MB / 0.6034 GB, free: 8 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1966, allocations: 0 / 0.6034 GB, free: 8 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.1966, allocations: 0 / 0.6034 GB, free: 8 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.1966, allocations: 0 / 0.6034 GB, free: 8 kB / 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.2712/0.4677, allocations: 1.074 MB / 0.6045 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4678, allocations: 10.75 kB / 0.6045 GB, free: 43.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.4679, allocations: 84.81 kB / 0.6046 GB, free: 43.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006413/0.4686, allocations: 0.5507 MB / 0.6051 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.4686, allocations: 44.84 kB / 0.6052 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.4687, allocations: 63.8 kB / 0.6052 GB, free: 43.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009427/0.4697, allocations: 0.6044 MB / 0.6058 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.4697, allocations: 2.25 kB / 0.6058 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.4697, allocations: 29.28 kB / 0.6058 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.4698, allocations: 14.47 kB / 0.6059 GB, free: 43.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008219/0.4706, allocations: 460.6 kB / 0.6063 GB, free: 43.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.4729, allocations: 2.005 MB / 0.6083 GB, free: 42.71 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007638/0.4737, allocations: 446.3 kB / 0.6087 GB, free: 42.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.4741, allocations: 244 kB / 0.6089 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.4741, allocations: 6.391 kB / 0.6089 GB, free: 42.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005388/0.4747, allocations: 258 kB / 0.6092 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.514e-06/0.4747, allocations: 0 / 0.6092 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.00111/0.4758, allocations: 0.5922 MB / 0.6097 GB, free: 42.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.4758, allocations: 57.47 kB / 0.6098 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.4762, allocations: 446 kB / 0.6102 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.4763, allocations: 37.14 kB / 0.6103 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4764, allocations: 328 kB / 0.6106 GB, free: 41.49 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.4765, allocations: 166.2 kB / 0.6107 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.4766, allocations: 90.56 kB / 0.6108 GB, free: 41.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.4767, allocations: 369.1 kB / 0.6112 GB, free: 40.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.4771, allocations: 164.1 kB / 0.6113 GB, free: 40.92 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.4774, allocations: 254.9 kB / 0.6116 GB, free: 40.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006538/0.4781, allocations: 456.2 kB / 0.612 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4781, allocations: 0 / 0.612 GB, free: 40.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008846/0.479, allocations: 0.557 MB / 0.6125 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.479, allocations: 34.83 kB / 0.6126 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.479, allocations: 7.406 kB / 0.6126 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4791, allocations: 5.906 kB / 0.6126 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.4795, allocations: 116.5 kB / 0.6127 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4795, allocations: 4.156 kB / 0.6127 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.4799, allocations: 62.78 kB / 0.6128 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.4799, allocations: 19.94 kB / 0.6128 GB, free: 40.18 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.0002235/0.4802, allocations: 206.9 kB / 0.613 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.4802, allocations: 57.22 kB / 0.613 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.4803, allocations: 69.88 kB / 0.6131 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4804, allocations: 5.406 kB / 0.6131 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.4804, allocations: 0 / 0.6131 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4804, allocations: 3.141 kB / 0.6131 GB, free: 39.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.4818, allocations: 1.181 MB / 0.6143 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.4818, allocations: 4.766 kB / 0.6143 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.4823, allocations: 92.98 kB / 0.6144 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4823, allocations: 3.438 kB / 0.6144 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.4823, allocations: 14.16 kB / 0.6144 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.4823, allocations: 1.188 kB / 0.6144 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4823, allocations: 0 / 0.6144 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.4834, allocations: 0.763 MB / 0.6151 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.4835, allocations: 174.8 kB / 0.6153 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.4836, allocations: 6.969 kB / 0.6153 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.4839, allocations: 34 kB / 0.6153 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.484, allocations: 39.52 kB / 0.6154 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.4841, allocations: 12.75 kB / 0.6154 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002568/0.4843, allocations: 310.3 kB / 0.6157 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4843, allocations: 0 / 0.6157 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004098/0.4848, allocations: 142.2 kB / 0.6158 GB, free: 38.48 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.0001102/0.4849, allocations: 110.6 kB / 0.6159 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009645/0.4858, allocations: 0.4945 MB / 0.6164 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4859, allocations: 0 / 0.6164 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.4862, allocations: 217.8 kB / 0.6166 GB, free: 38.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.487, allocations: 165.7 kB / 0.6168 GB, free: 38.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.4893, allocations: 1.616 MB / 0.6183 GB, free: 37.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.4896, allocations: 0.8874 MB / 0.6192 GB, free: 36.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002683/0.4898, allocations: 62.36 kB / 0.6193 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4899, allocations: 43.2 kB / 0.6193 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.49, allocations: 0 / 0.6193 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of Templates: time 0.009273/0.4992, allocations: 5.852 MB / 0.625 GB, free: 35.99 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)