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.001654/0.001654, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00213/0.00213, allocations: 192.3 kB / 16.13 MB, free: 6.711 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.371/1.371, allocations: 222.9 MB / 239.8 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 1.007/1.007, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 64.09 kB / 0.5135 GB, free: 12.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1939, allocations: 82.04 MB / 0.5936 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00644/0.2004, allocations: 4.114 MB / 0.5976 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.2029, allocations: 1.282 MB / 0.5989 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.2033, allocations: 19.94 kB / 0.5989 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003298/0.2036, allocations: 91.22 kB / 0.599 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.204, allocations: 154.8 kB / 0.5991 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008008/0.2048, allocations: 383.7 kB / 0.5995 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007526/0.2055, allocations: 0.8773 MB / 0.6003 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006583/0.2062, allocations: 426.1 kB / 0.6007 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.2065, allocations: 274.7 kB / 0.601 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.2068, allocations: 310.4 kB / 0.6013 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.699e-05/0.2069, allocations: 40 kB / 0.6013 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.014e-05/0.207, allocations: 40 kB / 0.6014 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2071, allocations: 135.4 kB / 0.6015 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002946/0.2074, allocations: 334.1 kB / 0.6018 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000872/0.2083, allocations: 1.051 MB / 0.6029 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2083, allocations: 0 / 0.6029 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.51e-07/0.2083, allocations: 0 / 0.6029 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.2083, allocations: 0 / 0.6029 GB, free: 0.5703 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.2925/0.5009, allocations: 1.072 MB / 0.6039 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5009, allocations: 9.688 kB / 0.6039 GB, free: 44.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.5011, allocations: 89.38 kB / 0.604 GB, free: 44.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008025/0.5019, allocations: 0.5492 MB / 0.6045 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.502, allocations: 44.53 kB / 0.6046 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/0.5021, allocations: 55.59 kB / 0.6046 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.5031, allocations: 0.6125 MB / 0.6052 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.5031, allocations: 2.812 kB / 0.6052 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.5032, allocations: 24.12 kB / 0.6053 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.5032, allocations: 15.41 kB / 0.6053 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/0.5042, allocations: 459.8 kB / 0.6057 GB, free: 43.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.5067, allocations: 2.011 MB / 0.6077 GB, free: 42.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/0.5075, allocations: 443.6 kB / 0.6081 GB, free: 42.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.5079, allocations: 241.6 kB / 0.6083 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.508, allocations: 6.375 kB / 0.6083 GB, free: 42.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/0.5085, allocations: 264.9 kB / 0.6086 GB, free: 42.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.284e-06/0.5085, allocations: 1.969 kB / 0.6086 GB, free: 42.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001157/0.5097, allocations: 0.5863 MB / 0.6092 GB, free: 42.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.5097, allocations: 60.2 kB / 0.6092 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.5101, allocations: 445.8 kB / 0.6096 GB, free: 42.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.5102, allocations: 34.36 kB / 0.6097 GB, free: 42.01 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.5103, allocations: 324 kB / 0.61 GB, free: 41.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.656e-05/0.5104, allocations: 164.7 kB / 0.6101 GB, free: 41.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5105, allocations: 97.56 kB / 0.6102 GB, free: 41.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.5106, allocations: 363.8 kB / 0.6106 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.511, allocations: 168.1 kB / 0.6107 GB, free: 41.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.5113, allocations: 249.6 kB / 0.611 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.5121, allocations: 455.9 kB / 0.6114 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5121, allocations: 0 / 0.6114 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008958/0.513, allocations: 0.5592 MB / 0.612 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.513, allocations: 35.17 kB / 0.612 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.513, allocations: 6.562 kB / 0.612 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.513, allocations: 5.594 kB / 0.612 GB, free: 40.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.5135, allocations: 111.5 kB / 0.6121 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5135, allocations: 4.375 kB / 0.6121 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003423/0.5139, allocations: 69.06 kB / 0.6122 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.5139, allocations: 27.62 kB / 0.6122 GB, free: 40.44 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.0001946/0.5141, allocations: 206.8 kB / 0.6124 GB, free: 40.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.5142, allocations: 55.66 kB / 0.6125 GB, free: 40.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.5143, allocations: 64.02 kB / 0.6125 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5143, allocations: 5.812 kB / 0.6125 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.5143, allocations: 0 / 0.6125 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5143, allocations: 6 kB / 0.6125 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.5163, allocations: 1.185 MB / 0.6137 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5163, allocations: 0 / 0.6137 GB, free: 39.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.5169, allocations: 95.64 kB / 0.6138 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.5169, allocations: 0 / 0.6138 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.517, allocations: 13.56 kB / 0.6138 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.517, allocations: 0 / 0.6138 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.517, allocations: 4 kB / 0.6138 GB, free: 39.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.5182, allocations: 0.765 MB / 0.6145 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.5183, allocations: 172.2 kB / 0.6147 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.576e-05/0.5184, allocations: 14.44 kB / 0.6147 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.5187, allocations: 30.17 kB / 0.6147 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.5188, allocations: 40.56 kB / 0.6148 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.5188, allocations: 15.97 kB / 0.6148 GB, free: 38.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002735/0.5191, allocations: 308.8 kB / 0.6151 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.21e-07/0.5191, allocations: 1.875 kB / 0.6151 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004446/0.5196, allocations: 138 kB / 0.6152 GB, free: 38.75 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.0001194/0.5197, allocations: 119.5 kB / 0.6153 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000833/0.5205, allocations: 478.1 kB / 0.6158 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5206, allocations: 0.5 kB / 0.6158 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003897/0.521, allocations: 222 kB / 0.616 GB, free: 38.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/0.5217, allocations: 143.7 kB / 0.6161 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.5241, allocations: 1.615 MB / 0.6177 GB, free: 37.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.5244, allocations: 0.8881 MB / 0.6186 GB, free: 36.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002698/0.5247, allocations: 63.41 kB / 0.6187 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.5248, allocations: 43.88 kB / 0.6187 GB, free: 36.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.5248, allocations: 0 / 0.6187 GB, free: 36.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.0105/0.5353, allocations: 5.595 MB / 0.6242 GB, free: 36.29 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)