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.001116/0.001116, allocations: 108 kB / 15.6 MB, free: 132 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.001111/0.001111, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.18/1.18, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.867/0.867, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 59.91 kB / 0.5143 GB, free: 11.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1249, allocations: 82.05 MB / 0.5944 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.004446/0.1293, allocations: 4.101 MB / 0.5984 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1311, allocations: 1.317 MB / 0.5997 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.1314, allocations: 27.88 kB / 0.5997 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1316, allocations: 122.8 kB / 0.5998 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1319, allocations: 174.4 kB / 0.6 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006661/0.1326, allocations: 416.3 kB / 0.6004 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006993/0.1333, allocations: 0.9554 MB / 0.6013 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.1338, allocations: 462.1 kB / 0.6018 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.1341, allocations: 322.8 kB / 0.6021 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1344, allocations: 342.3 kB / 0.6024 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.723e-05/0.1345, allocations: 92 kB / 0.6025 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.1346, allocations: 88 kB / 0.6026 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.1347, allocations: 179.4 kB / 0.6027 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.135, allocations: 394 kB / 0.6031 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.2096/0.3446, allocations: 1.084 MB / 0.6042 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3446, allocations: 0 / 0.6042 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3446, allocations: 0 / 0.6042 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.901e-05/0.3446, allocations: 0 / 0.6042 GB, free: 39.31 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.001395/0.346, allocations: 1.08 MB / 0.6052 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.3461, allocations: 11.2 kB / 0.6052 GB, free: 38.69 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.725e-05/0.3461, allocations: 105 kB / 0.6053 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.392e-05/0.3462, allocations: 81.62 kB / 0.6054 GB, free: 38.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/0.3468, allocations: 0.5479 MB / 0.6059 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.3468, allocations: 44.28 kB / 0.606 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.853e-05/0.3469, allocations: 59.25 kB / 0.606 GB, free: 38.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007672/0.3477, allocations: 0.6096 MB / 0.6066 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3477, allocations: 5.188 kB / 0.6066 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.3478, allocations: 22.38 kB / 0.6067 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3478, allocations: 15.19 kB / 0.6067 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007691/0.3486, allocations: 461.4 kB / 0.6071 GB, free: 38.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.3505, allocations: 2.008 MB / 0.6091 GB, free: 37.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007157/0.3512, allocations: 446.3 kB / 0.6095 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.3515, allocations: 246.5 kB / 0.6097 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.251e-05/0.3516, allocations: 7.219 kB / 0.6097 GB, free: 37.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000435/0.352, allocations: 261.7 kB / 0.61 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 1.813e-06/0.352, allocations: 0 / 0.61 GB, free: 37.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.00097/0.353, allocations: 0.5879 MB / 0.6106 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.353, allocations: 60.91 kB / 0.6106 GB, free: 37.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.3534, allocations: 438 kB / 0.611 GB, free: 37.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3534, allocations: 34.7 kB / 0.6111 GB, free: 37.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3535, allocations: 325.6 kB / 0.6114 GB, free: 37.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/0.3536, allocations: 170.7 kB / 0.6116 GB, free: 36.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.3537, allocations: 91.03 kB / 0.6116 GB, free: 36.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.782e-05/0.3538, allocations: 365.8 kB / 0.612 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.3541, allocations: 170.4 kB / 0.6122 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.3544, allocations: 254 kB / 0.6124 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.355, allocations: 448 kB / 0.6128 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.355, allocations: 2.969 kB / 0.6128 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007771/0.3558, allocations: 0.5604 MB / 0.6134 GB, free: 36.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3558, allocations: 38.42 kB / 0.6134 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3558, allocations: 0 / 0.6134 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3559, allocations: 5.812 kB / 0.6134 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.3563, allocations: 115.2 kB / 0.6135 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3563, allocations: 8.438 kB / 0.6135 GB, free: 36.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.3565, allocations: 68.25 kB / 0.6136 GB, free: 36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.3566, allocations: 18.09 kB / 0.6136 GB, free: 36 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.0001571/0.3567, allocations: 204.5 kB / 0.6138 GB, free: 35.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.3568, allocations: 59.25 kB / 0.6139 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.533e-05/0.3569, allocations: 63.81 kB / 0.6139 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3569, allocations: 5.906 kB / 0.6139 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3569, allocations: 2.344 kB / 0.6139 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.3569, allocations: 6.391 kB / 0.6139 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3581, allocations: 1.18 MB / 0.6151 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3581, allocations: 0 / 0.6151 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.3585, allocations: 93.58 kB / 0.6152 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3585, allocations: 3.453 kB / 0.6152 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.3586, allocations: 11.88 kB / 0.6152 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3586, allocations: 4 kB / 0.6152 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3586, allocations: 0.7031 kB / 0.6152 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.3596, allocations: 0.7599 MB / 0.6159 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3597, allocations: 176.6 kB / 0.6161 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.3598, allocations: 14.78 kB / 0.6161 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.36, allocations: 18.73 kB / 0.6161 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.3601, allocations: 39.09 kB / 0.6162 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.3601, allocations: 11.36 kB / 0.6162 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002188/0.3604, allocations: 310.6 kB / 0.6165 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.3604, allocations: 0 / 0.6165 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003362/0.3607, allocations: 139.6 kB / 0.6166 GB, free: 34.31 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.001121/0.3618, allocations: 1.32 MB / 0.6179 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008327/0.3627, allocations: 0.4989 MB / 0.6184 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3627, allocations: 7.719 kB / 0.6184 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.363, allocations: 214.2 kB / 0.6186 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006128/0.3636, allocations: 162.8 kB / 0.6188 GB, free: 33.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.3686, allocations: 4.882 MB / 0.6235 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.3688, allocations: 0.8912 MB / 0.6244 GB, free: 29.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000214/0.3691, allocations: 62.8 kB / 0.6245 GB, free: 29.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.3693, allocations: 224.7 kB / 0.6247 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3693, allocations: 0 / 0.6247 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.3952, allocations: 11.14 MB / 0.6356 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.399/6.795, allocations: 12.78 kB / 0.6356 GB, free: 28.33 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)