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.0009323/0.0009323, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005038/0.005039, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.166/1.166, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.8539/0.8539, allocations: 143.2 MB / 434.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003084, allocations: 8 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1212, allocations: 83.42 MB / 0.598 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00345/0.1247, allocations: 3.695 MB / 0.6016 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.1263, allocations: 1.266 MB / 0.6028 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002088/0.1265, allocations: 19.94 kB / 0.6028 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1267, allocations: 95.16 kB / 0.6029 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.127, allocations: 142.9 kB / 0.603 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000641/0.1276, allocations: 390.8 kB / 0.6034 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000656/0.1283, allocations: 0.8811 MB / 0.6043 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004798/0.1288, allocations: 426 kB / 0.6047 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.129, allocations: 230.8 kB / 0.6049 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.1292, allocations: 254.4 kB / 0.6052 GB, free: 140 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.1293, allocations: 24 kB / 0.6052 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.403e-05/0.1294, allocations: 24 kB / 0.6052 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.2017/0.331, allocations: 95.11 kB / 0.6053 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.3314, allocations: 337.4 kB / 0.6056 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006461/0.3321, allocations: 1.009 MB / 0.6066 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3321, allocations: 0 / 0.6066 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3321, allocations: 0 / 0.6066 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.051e-05/0.3322, allocations: 4.594 kB / 0.6066 GB, free: 35.63 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.00135/0.3335, allocations: 0.946 MB / 0.6075 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.3336, allocations: 10.28 kB / 0.6075 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.188e-05/0.3337, allocations: 98.31 kB / 0.6076 GB, free: 34.98 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.698e-05/0.3338, allocations: 86.89 kB / 0.6077 GB, free: 34.94 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.3344, allocations: 0.5478 MB / 0.6082 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.3344, allocations: 49.64 kB / 0.6083 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.3345, allocations: 61.19 kB / 0.6084 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008588/0.3353, allocations: 0.6172 MB / 0.609 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.3354, allocations: 2.906 kB / 0.609 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.244e-05/0.3354, allocations: 21.69 kB / 0.609 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3354, allocations: 16.44 kB / 0.609 GB, free: 34.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.3362, allocations: 471.8 kB / 0.6094 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.3383, allocations: 2.021 MB / 0.6114 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007393/0.3391, allocations: 461.2 kB / 0.6119 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.3394, allocations: 244.6 kB / 0.6121 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.3395, allocations: 5.5 kB / 0.6121 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004611/0.3399, allocations: 269.3 kB / 0.6124 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 1.644e-06/0.34, allocations: 0 / 0.6124 GB, free: 33.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001123/0.3411, allocations: 0.601 MB / 0.6129 GB, free: 33.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.3411, allocations: 57.53 kB / 0.613 GB, free: 33.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.3415, allocations: 448.1 kB / 0.6134 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3415, allocations: 35.08 kB / 0.6135 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3417, allocations: 324.6 kB / 0.6138 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.453e-05/0.3418, allocations: 160.8 kB / 0.6139 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.221e-05/0.3418, allocations: 53.12 kB / 0.614 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.3419, allocations: 369.8 kB / 0.6143 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.3422, allocations: 169.7 kB / 0.6145 GB, free: 32.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.3426, allocations: 261.2 kB / 0.6147 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006548/0.3432, allocations: 466 kB / 0.6152 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3432, allocations: 3.562 kB / 0.6152 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008382/0.3441, allocations: 0.5701 MB / 0.6157 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3441, allocations: 35.45 kB / 0.6158 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3441, allocations: 5.5 kB / 0.6158 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3441, allocations: 2.875 kB / 0.6158 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.3446, allocations: 118.6 kB / 0.6159 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3446, allocations: 5.375 kB / 0.6159 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.3449, allocations: 71.16 kB / 0.616 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.16e-05/0.3449, allocations: 18.83 kB / 0.616 GB, free: 32.54 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.0002288/0.3452, allocations: 205.5 kB / 0.6162 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.3452, allocations: 61.56 kB / 0.6162 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.3454, allocations: 67.67 kB / 0.6163 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3454, allocations: 5.688 kB / 0.6163 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.3454, allocations: 0.5625 kB / 0.6163 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.3454, allocations: 8.656 kB / 0.6163 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.3468, allocations: 1.192 MB / 0.6175 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3468, allocations: 0 / 0.6175 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004112/0.3472, allocations: 98.7 kB / 0.6176 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3473, allocations: 2.938 kB / 0.6176 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.3473, allocations: 9.812 kB / 0.6176 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3473, allocations: 0 / 0.6176 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3473, allocations: 2.812 kB / 0.6176 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.3484, allocations: 0.776 MB / 0.6183 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3485, allocations: 174.7 kB / 0.6185 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.3486, allocations: 10.84 kB / 0.6185 GB, free: 31.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.3489, allocations: 34.67 kB / 0.6186 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.645e-05/0.3489, allocations: 37.39 kB / 0.6186 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.349, allocations: 19.53 kB / 0.6186 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000234/0.3492, allocations: 308.2 kB / 0.6189 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3492, allocations: 0.5625 kB / 0.6189 GB, free: 31.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003554/0.3496, allocations: 143.7 kB / 0.619 GB, free: 31.62 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.001204/0.3508, allocations: 1.335 MB / 0.6203 GB, free: 30.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000751/0.3515, allocations: 487.8 kB / 0.6208 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3516, allocations: 1.344 kB / 0.6208 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.3519, allocations: 230.1 kB / 0.621 GB, free: 30.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006808/0.3526, allocations: 153.2 kB / 0.6212 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.3584, allocations: 5.233 MB / 0.6263 GB, free: 27.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.3587, allocations: 0.888 MB / 0.6272 GB, free: 27.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002398/0.3589, allocations: 66.59 kB / 0.6272 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/0.3592, allocations: 220.2 kB / 0.6274 GB, free: 27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.3592, allocations: 0 / 0.6274 GB, free: 27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.755/2.114, allocations: 10.55 MB / 0.6377 GB, free: 26.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/2.115, allocations: 207.1 kB / 0.6379 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.176/4.291, allocations: 0 / 0.6379 GB, free: 26.09 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)