Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 216 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.302/1.302, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00238/0.00238, allocations: 282.6 kB / 312.7 MB, free: 2.859 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.104/1.104, allocations: 180.6 MB / 0.5369 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 106.1 kB / 0.7396 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1424, allocations: 95.38 MB / 0.8327 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005285/0.1476, allocations: 4.176 MB / 0.8368 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.15, allocations: 1.367 MB / 0.8381 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.1504, allocations: 31.75 kB / 0.8381 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1507, allocations: 126.8 kB / 0.8383 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.1511, allocations: 186.4 kB / 0.8384 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000862/0.152, allocations: 432.8 kB / 0.8389 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001042/0.153, allocations: 0.9554 MB / 0.8398 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.1535, allocations: 314.9 kB / 0.8401 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.1539, allocations: 338.7 kB / 0.8404 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.1543, allocations: 330.4 kB / 0.8407 GB, free: 464 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.1545, allocations: 92 kB / 0.8408 GB, free: 372 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1546, allocations: 92 kB / 0.8409 GB, free: 280 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1547, allocations: 187.3 kB / 0.8411 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003619/0.1551, allocations: 390.2 kB / 0.8415 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.000978/0.1561, allocations: 1.062 MB / 0.8425 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1561, allocations: 4 kB / 0.8425 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1561, allocations: 0 / 0.8425 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.1561, allocations: 7.984 kB / 0.8425 GB, free: 14.62 MB / 0.5919 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.00181/0.1579, allocations: 1.072 MB / 0.8436 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1579, allocations: 9.938 kB / 0.8436 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.158, allocations: 102.7 kB / 0.8437 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1582, allocations: 92.38 kB / 0.8437 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008398/0.159, allocations: 0.4999 MB / 0.8442 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.121e-05/0.159, allocations: 45.69 kB / 0.8443 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.1591, allocations: 64.31 kB / 0.8443 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.1601, allocations: 0.6038 MB / 0.8449 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1602, allocations: 3.984 kB / 0.8449 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.1602, allocations: 28 kB / 0.845 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.1602, allocations: 12 kB / 0.845 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009569/0.1612, allocations: 461 kB / 0.8454 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.1639, allocations: 1.947 MB / 0.8473 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008878/0.1648, allocations: 418.2 kB / 0.8477 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.1652, allocations: 234 kB / 0.8479 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1652, allocations: 4.438 kB / 0.8479 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000511/0.1658, allocations: 261.2 kB / 0.8482 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.1658, allocations: 0 / 0.8482 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001196/0.167, allocations: 0.5853 MB / 0.8488 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.167, allocations: 59.84 kB / 0.8488 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.1675, allocations: 442 kB / 0.8492 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/0.1675, allocations: 37.7 kB / 0.8493 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.1678, allocations: 328.9 kB / 0.8496 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.1679, allocations: 170.5 kB / 0.8498 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.168, allocations: 102.3 kB / 0.8499 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1682, allocations: 362.8 kB / 0.8502 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.1686, allocations: 169.2 kB / 0.8504 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004259/0.169, allocations: 258.6 kB / 0.8506 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007743/0.1698, allocations: 447 kB / 0.851 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1698, allocations: 0 / 0.851 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001002/0.1708, allocations: 0.5729 MB / 0.8516 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.1708, allocations: 33.7 kB / 0.8516 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1708, allocations: 0 / 0.8516 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1708, allocations: 8 kB / 0.8516 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.1713, allocations: 115.8 kB / 0.8517 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.1713, allocations: 4 kB / 0.8517 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.1716, allocations: 63.89 kB / 0.8518 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.1716, allocations: 20 kB / 0.8518 GB, free: 4.762 MB / 0.5919 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0002374/0.1719, allocations: 214.4 kB / 0.852 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.172, allocations: 59.56 kB / 0.8521 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1721, allocations: 57.59 kB / 0.8521 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1721, allocations: 8 kB / 0.8521 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1721, allocations: 0 / 0.8521 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1721, allocations: 7.984 kB / 0.8522 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.1738, allocations: 1.15 MB / 0.8533 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1738, allocations: 3.938 kB / 0.8533 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004571/0.1742, allocations: 95.88 kB / 0.8534 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1742, allocations: 0 / 0.8534 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.1742, allocations: 12 kB / 0.8534 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1742, allocations: 8 kB / 0.8534 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1742, allocations: 0 / 0.8534 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.1755, allocations: 0.7613 MB / 0.8541 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.1757, allocations: 91.62 kB / 0.8542 GB, free: 2.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.1757, allocations: 15.98 kB / 0.8542 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.176, allocations: 23.98 kB / 0.8543 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.1761, allocations: 36.36 kB / 0.8543 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.1761, allocations: 12 kB / 0.8543 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000334/0.1764, allocations: 310.8 kB / 0.8546 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1764, allocations: 0 / 0.8546 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003925/0.1768, allocations: 147.6 kB / 0.8547 GB, free: 1.699 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.001553/0.1784, allocations: 1.319 MB / 0.856 GB, free: 364 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008496/0.1792, allocations: 460.7 kB / 0.8565 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1792, allocations: 3.938 kB / 0.8565 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.1796, allocations: 206.9 kB / 0.8567 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.1803, allocations: 161.1 kB / 0.8568 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006776/0.1871, allocations: 4.802 MB / 0.8615 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.1875, allocations: 0.89 MB / 0.8624 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.1878, allocations: 60.59 kB / 0.8624 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.188, allocations: 219.4 kB / 0.8627 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.188, allocations: 4 kB / 0.8627 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0416/0.2297, allocations: 11.82 MB / 0.8742 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.82, allocations: 3.5 kB / 0.8742 GB, free: 13.8 MB / 0.6231 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.645094820065424] Failed to read output from testmodel.py, exit status != 0: 10.932063829153776 10.946029823 10.787292078 Calling exit ...