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.00102/0.00102, allocations: 98.56 kB / 16.02 MB, free: 76 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.001354/0.001355, allocations: 187.9 kB / 16.92 MB, free: 6.75 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.352 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 1.043/1.043, allocations: 143.2 MB / 435.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 12.28 kB / 0.517 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1748, allocations: 83.41 MB / 0.5985 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.0041/0.179, allocations: 3.699 MB / 0.6021 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.1813, allocations: 1.262 MB / 0.6033 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.1816, allocations: 27.88 kB / 0.6034 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1819, allocations: 91.2 kB / 0.6034 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.1822, allocations: 142.9 kB / 0.6036 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.183, allocations: 388.7 kB / 0.604 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008005/0.1838, allocations: 0.8772 MB / 0.6048 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005758/0.1844, allocations: 426.1 kB / 0.6052 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.1847, allocations: 230.8 kB / 0.6054 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.1849, allocations: 258.4 kB / 0.6057 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.674e-05/0.185, allocations: 24 kB / 0.6057 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.779e-05/0.1851, allocations: 24 kB / 0.6057 GB, free: 232 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.1852, allocations: 99.48 kB / 0.6058 GB, free: 132 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.2942/0.4794, allocations: 329.7 kB / 0.6061 GB, free: 36.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000732/0.4801, allocations: 0.8613 MB / 0.607 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4802, allocations: 0 / 0.607 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4802, allocations: 2.625 kB / 0.607 GB, free: 36.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.4802, allocations: 0 / 0.607 GB, free: 36.8 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.001491/0.4817, allocations: 0.9429 MB / 0.6079 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.4817, allocations: 14.53 kB / 0.6079 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.4818, allocations: 82.5 kB / 0.608 GB, free: 36.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006905/0.4825, allocations: 0.5515 MB / 0.6085 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.4826, allocations: 43.31 kB / 0.6086 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.494e-05/0.4827, allocations: 66.94 kB / 0.6086 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.4836, allocations: 0.6095 MB / 0.6092 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.4837, allocations: 7.469 kB / 0.6092 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.4837, allocations: 21.94 kB / 0.6093 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.4838, allocations: 14.5 kB / 0.6093 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008732/0.4846, allocations: 473.4 kB / 0.6097 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.487, allocations: 2.026 MB / 0.6117 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000814/0.4879, allocations: 450.6 kB / 0.6121 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.4883, allocations: 250.2 kB / 0.6124 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.4883, allocations: 6.094 kB / 0.6124 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005241/0.4888, allocations: 263 kB / 0.6126 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.495e-06/0.4888, allocations: 0 / 0.6126 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001273/0.4901, allocations: 0.6042 MB / 0.6132 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.4902, allocations: 61.97 kB / 0.6133 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.4906, allocations: 445.7 kB / 0.6137 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.4907, allocations: 38.41 kB / 0.6137 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.4909, allocations: 324.5 kB / 0.6141 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.491, allocations: 165.3 kB / 0.6142 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.4911, allocations: 55.14 kB / 0.6143 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.824e-05/0.4912, allocations: 362.5 kB / 0.6146 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.4915, allocations: 175.4 kB / 0.6148 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.4919, allocations: 255.1 kB / 0.615 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007142/0.4926, allocations: 464.7 kB / 0.6155 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4926, allocations: 0 / 0.6155 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009253/0.4936, allocations: 0.5724 MB / 0.616 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.178e-05/0.4936, allocations: 37.98 kB / 0.6161 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4936, allocations: 2.625 kB / 0.6161 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4936, allocations: 2.656 kB / 0.6161 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004542/0.4941, allocations: 116.3 kB / 0.6162 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.4941, allocations: 7 kB / 0.6162 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.4945, allocations: 70.39 kB / 0.6162 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.4945, allocations: 17.88 kB / 0.6163 GB, free: 33.77 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.0002399/0.4948, allocations: 209 kB / 0.6165 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-05/0.4948, allocations: 69.19 kB / 0.6165 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.495, allocations: 58.48 kB / 0.6166 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.495, allocations: 10.09 kB / 0.6166 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.495, allocations: 0 / 0.6166 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.495, allocations: 2.625 kB / 0.6166 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.4966, allocations: 1.193 MB / 0.6178 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4966, allocations: 0 / 0.6178 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.497, allocations: 97.73 kB / 0.6179 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4971, allocations: 2.844 kB / 0.6179 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.4971, allocations: 14.78 kB / 0.6179 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.4971, allocations: 6.812 kB / 0.6179 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4971, allocations: 0 / 0.6179 GB, free: 33.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.4983, allocations: 0.7697 MB / 0.6186 GB, free: 33.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4984, allocations: 172.3 kB / 0.6188 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.4985, allocations: 10 kB / 0.6188 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000302/0.4988, allocations: 40.56 kB / 0.6188 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.4989, allocations: 44.38 kB / 0.6189 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.4989, allocations: 8.469 kB / 0.6189 GB, free: 32.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002873/0.4992, allocations: 308.3 kB / 0.6192 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4992, allocations: 0 / 0.6192 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004231/0.4997, allocations: 144.6 kB / 0.6193 GB, free: 32.85 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.0001178/0.4998, allocations: 114.3 kB / 0.6194 GB, free: 32.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008778/0.5007, allocations: 492.6 kB / 0.6199 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5007, allocations: 0.5 kB / 0.6199 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.5011, allocations: 220.5 kB / 0.6201 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008007/0.5019, allocations: 152.2 kB / 0.6203 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.5045, allocations: 1.732 MB / 0.622 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.5048, allocations: 0.8905 MB / 0.6228 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.505, allocations: 50.44 kB / 0.6229 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.505, allocations: 0 / 0.6229 GB, free: 30.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.01044/0.5154, allocations: 7.495 MB / 0.6302 GB, free: 29.98 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)