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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, 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.0009291/0.0009291, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.192/1.192, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.8566/0.8566, allocations: 143 MB / 433 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 59.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1433, allocations: 82.05 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004314/0.1477, allocations: 4.107 MB / 0.5977 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1493, allocations: 1.282 MB / 0.599 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.1495, allocations: 23.88 kB / 0.599 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.1498, allocations: 95.22 kB / 0.5991 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1501, allocations: 146.8 kB / 0.5992 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.1507, allocations: 384.7 kB / 0.5996 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000641/0.1513, allocations: 0.8773 MB / 0.6005 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004901/0.1518, allocations: 434.1 kB / 0.6009 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.1521, allocations: 266.7 kB / 0.6011 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.1523, allocations: 306.4 kB / 0.6014 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.856e-05/0.1524, allocations: 44 kB / 0.6015 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.1525, allocations: 40 kB / 0.6015 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1526, allocations: 131.4 kB / 0.6016 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.1529, allocations: 346.1 kB / 0.602 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007457/0.1536, allocations: 1.043 MB / 0.603 GB, free: 448 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1536, allocations: 0 / 0.603 GB, free: 448 kB / 0.4981 GB Notification: Performance of FrontEnd: time 6.42e-07/0.1536, allocations: 0 / 0.603 GB, free: 448 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.1536, allocations: 0 / 0.603 GB, free: 448 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.2082/0.3618, allocations: 1.071 MB / 0.604 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.3619, allocations: 8.75 kB / 0.604 GB, free: 43.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.855e-05/0.3619, allocations: 100.4 kB / 0.6041 GB, free: 43.74 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3621, allocations: 86.91 kB / 0.6042 GB, free: 43.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.3627, allocations: 0.5463 MB / 0.6048 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.3627, allocations: 43.09 kB / 0.6048 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.3628, allocations: 64.94 kB / 0.6049 GB, free: 43.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008309/0.3636, allocations: 0.6077 MB / 0.6054 GB, free: 43.33 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3636, allocations: 3.938 kB / 0.6055 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.3637, allocations: 25 kB / 0.6055 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3637, allocations: 14.72 kB / 0.6055 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007743/0.3645, allocations: 459 kB / 0.6059 GB, free: 43.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.3665, allocations: 2.008 MB / 0.6079 GB, free: 42.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.3672, allocations: 448.2 kB / 0.6083 GB, free: 42.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.3675, allocations: 243.5 kB / 0.6085 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.3676, allocations: 6.156 kB / 0.6086 GB, free: 42.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004571/0.368, allocations: 257.4 kB / 0.6088 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.124e-06/0.3681, allocations: 0.6562 kB / 0.6088 GB, free: 42.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.0009939/0.3691, allocations: 0.5914 MB / 0.6094 GB, free: 41.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.3691, allocations: 57.56 kB / 0.6094 GB, free: 41.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.3694, allocations: 446.6 kB / 0.6099 GB, free: 41.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.3694, allocations: 36.61 kB / 0.6099 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3696, allocations: 322.2 kB / 0.6102 GB, free: 41.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.3696, allocations: 170.8 kB / 0.6104 GB, free: 41.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.3697, allocations: 94.09 kB / 0.6105 GB, free: 41.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.3698, allocations: 364.8 kB / 0.6108 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.3701, allocations: 166.4 kB / 0.611 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.3705, allocations: 251.6 kB / 0.6112 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/0.3711, allocations: 453.7 kB / 0.6116 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3711, allocations: 4.562 kB / 0.6116 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007817/0.3719, allocations: 0.5603 MB / 0.6122 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3719, allocations: 34.98 kB / 0.6122 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3719, allocations: 3.094 kB / 0.6122 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3719, allocations: 6.781 kB / 0.6122 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.3723, allocations: 119.7 kB / 0.6123 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3724, allocations: 6.938 kB / 0.6123 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.3726, allocations: 61.19 kB / 0.6124 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.3727, allocations: 19 kB / 0.6124 GB, free: 40.07 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.0001726/0.3729, allocations: 216.8 kB / 0.6126 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.3729, allocations: 61.03 kB / 0.6127 GB, free: 39.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.849e-05/0.373, allocations: 66.94 kB / 0.6128 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.373, allocations: 5.625 kB / 0.6128 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.373, allocations: 0 / 0.6128 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.373, allocations: 3.328 kB / 0.6128 GB, free: 39.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.3743, allocations: 1.178 MB / 0.6139 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3743, allocations: 0.5625 kB / 0.6139 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.3747, allocations: 94.14 kB / 0.614 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3747, allocations: 4 kB / 0.614 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.3747, allocations: 10.62 kB / 0.614 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3747, allocations: 6.719 kB / 0.614 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3747, allocations: 0 / 0.614 GB, free: 39.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.3757, allocations: 0.7565 MB / 0.6148 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3758, allocations: 173.4 kB / 0.6149 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.459e-05/0.3759, allocations: 7.75 kB / 0.6149 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.3762, allocations: 37.52 kB / 0.615 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.3762, allocations: 32.23 kB / 0.615 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.3763, allocations: 15.94 kB / 0.615 GB, free: 38.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002227/0.3765, allocations: 310.9 kB / 0.6153 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3765, allocations: 0 / 0.6153 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003389/0.3769, allocations: 140.7 kB / 0.6154 GB, free: 38.37 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.001158/0.378, allocations: 1.319 MB / 0.6167 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006993/0.3787, allocations: 491.5 kB / 0.6172 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3787, allocations: 0 / 0.6172 GB, free: 37.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.3791, allocations: 210.4 kB / 0.6174 GB, free: 37.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.3797, allocations: 148.8 kB / 0.6175 GB, free: 37.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.3852, allocations: 5.127 MB / 0.6226 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.3854, allocations: 0.8881 MB / 0.6234 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.3856, allocations: 66.8 kB / 0.6235 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.3858, allocations: 217.4 kB / 0.6237 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3859, allocations: 0 / 0.6237 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.364/1.75, allocations: 10.69 MB / 0.6341 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/1.75, allocations: 217.5 kB / 0.6343 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/3.462, allocations: 0 / 0.6343 GB, free: 32.06 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)