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.001284/0.001283, allocations: 100.1 kB / 15.88 MB, free: 12 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.001191/0.001191, allocations: 199.3 kB / 16.79 MB, free: 6.828 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.392/1.392, allocations: 222.9 MB / 240.5 MB, free: 4.523 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.055/1.055, allocations: 143 MB / 433.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 0.5141 GB, free: 12.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1934, allocations: 82.04 MB / 0.5942 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005446/0.1989, allocations: 4.123 MB / 0.5983 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.2014, allocations: 1.278 MB / 0.5995 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.2018, allocations: 23.88 kB / 0.5995 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.2021, allocations: 95.2 kB / 0.5996 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.2025, allocations: 150.8 kB / 0.5998 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008119/0.2033, allocations: 376.8 kB / 0.6001 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007893/0.2041, allocations: 0.885 MB / 0.601 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005964/0.2047, allocations: 430.1 kB / 0.6014 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.205, allocations: 274.7 kB / 0.6017 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.2053, allocations: 302.3 kB / 0.602 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.2054, allocations: 40 kB / 0.602 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.2055, allocations: 44 kB / 0.602 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2056, allocations: 123.4 kB / 0.6022 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.2059, allocations: 342 kB / 0.6025 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007334/0.2067, allocations: 0.8887 MB / 0.6034 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.2067, allocations: 0 / 0.6034 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2067, allocations: 0 / 0.6034 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.2067, allocations: 4 kB / 0.6034 GB, free: 0.6875 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.3752/0.5819, allocations: 1.068 MB / 0.6044 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.5819, allocations: 8.312 kB / 0.6044 GB, free: 43.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.5821, allocations: 85.81 kB / 0.6045 GB, free: 43.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.5829, allocations: 0.5504 MB / 0.605 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.173e-05/0.5829, allocations: 45.28 kB / 0.6051 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.537e-05/0.583, allocations: 58.88 kB / 0.6051 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/0.584, allocations: 0.6076 MB / 0.6057 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.584, allocations: 1.875 kB / 0.6057 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.271e-05/0.5841, allocations: 27.38 kB / 0.6057 GB, free: 43.33 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5841, allocations: 14.84 kB / 0.6058 GB, free: 43.33 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000863/0.585, allocations: 458.5 kB / 0.6062 GB, free: 43.33 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.5874, allocations: 2.012 MB / 0.6082 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007948/0.5882, allocations: 446.6 kB / 0.6086 GB, free: 42.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.5886, allocations: 238.5 kB / 0.6088 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.5887, allocations: 7.344 kB / 0.6088 GB, free: 42.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005656/0.5892, allocations: 264.7 kB / 0.6091 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.845e-06/0.5892, allocations: 0 / 0.6091 GB, free: 42.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001152/0.5904, allocations: 0.5876 MB / 0.6097 GB, free: 42.03 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.5904, allocations: 62.08 kB / 0.6097 GB, free: 41.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.5909, allocations: 443.9 kB / 0.6101 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.5909, allocations: 32.52 kB / 0.6102 GB, free: 41.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.5911, allocations: 323.7 kB / 0.6105 GB, free: 41.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.965e-05/0.5912, allocations: 162 kB / 0.6106 GB, free: 41.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.5913, allocations: 96.45 kB / 0.6107 GB, free: 41.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.5914, allocations: 366.8 kB / 0.6111 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.5918, allocations: 165 kB / 0.6112 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.5921, allocations: 253.7 kB / 0.6115 GB, free: 40.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006983/0.5928, allocations: 458.3 kB / 0.6119 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5928, allocations: 4.906 kB / 0.6119 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009486/0.5938, allocations: 0.5609 MB / 0.6125 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.5938, allocations: 34.77 kB / 0.6125 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.5939, allocations: 6.906 kB / 0.6125 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5939, allocations: 2.938 kB / 0.6125 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.5944, allocations: 114.1 kB / 0.6126 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5944, allocations: 5.781 kB / 0.6126 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003424/0.5947, allocations: 64.53 kB / 0.6127 GB, free: 40.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.5948, allocations: 21.45 kB / 0.6127 GB, free: 40.16 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.0002369/0.595, allocations: 205.6 kB / 0.6129 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.5951, allocations: 53.38 kB / 0.6129 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.5952, allocations: 70.55 kB / 0.613 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.5952, allocations: 6.516 kB / 0.613 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.5952, allocations: 0 / 0.613 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5952, allocations: 4.312 kB / 0.613 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.5967, allocations: 1.184 MB / 0.6142 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5968, allocations: 0 / 0.6142 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.5972, allocations: 95.58 kB / 0.6143 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.5972, allocations: 5.75 kB / 0.6143 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.5973, allocations: 6.906 kB / 0.6143 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.5973, allocations: 7.844 kB / 0.6143 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5973, allocations: 0 / 0.6143 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.5984, allocations: 0.757 MB / 0.615 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.5986, allocations: 175.5 kB / 0.6152 GB, free: 38.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.221e-05/0.5986, allocations: 15.88 kB / 0.6152 GB, free: 38.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.5989, allocations: 29.12 kB / 0.6152 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.5991, allocations: 35.77 kB / 0.6153 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.5991, allocations: 12.12 kB / 0.6153 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002799/0.5994, allocations: 313 kB / 0.6156 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5994, allocations: 0 / 0.6156 GB, free: 38.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004469/0.5998, allocations: 142 kB / 0.6157 GB, free: 38.46 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.000121/0.6, allocations: 118.2 kB / 0.6158 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008452/0.6008, allocations: 484 kB / 0.6163 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6008, allocations: 0.5 kB / 0.6163 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.6012, allocations: 216 kB / 0.6165 GB, free: 38.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007371/0.602, allocations: 153.2 kB / 0.6166 GB, free: 38.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.6045, allocations: 1.64 MB / 0.6182 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.6048, allocations: 0.8886 MB / 0.6191 GB, free: 36.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.6049, allocations: 45.66 kB / 0.6192 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.6049, allocations: 0 / 0.6192 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.009114/0.614, allocations: 7.595 MB / 0.6266 GB, free: 35.46 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)