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.001311/0.001311, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001476/0.001476, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.396/1.396, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.00245/0.00245, allocations: 286 kB / 312.7 MB, free: 2.703 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.189/1.189, allocations: 180.6 MB / 0.5369 GB, free: 14.41 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.002972/0.002972, allocations: 105.4 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1558, allocations: 95.39 MB / 0.8326 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005214/0.161, allocations: 3.75 MB / 0.8363 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1632, allocations: 1.336 MB / 0.8376 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.1636, allocations: 27.81 kB / 0.8376 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1639, allocations: 126.7 kB / 0.8377 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.1642, allocations: 182.4 kB / 0.8379 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.165, allocations: 426 kB / 0.8383 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009289/0.1659, allocations: 0.9516 MB / 0.8392 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.1664, allocations: 290.8 kB / 0.8395 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.1668, allocations: 346.7 kB / 0.8398 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.1671, allocations: 302.4 kB / 0.8401 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1672, allocations: 92 kB / 0.8402 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.1673, allocations: 88 kB / 0.8403 GB, free: 432 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1675, allocations: 179.4 kB / 0.8405 GB, free: 252 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002931/0.1678, allocations: 306.6 kB / 0.8408 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1688, allocations: 1.074 MB / 0.8418 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1688, allocations: 0 / 0.8418 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1688, allocations: 0 / 0.8418 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.1688, allocations: 0 / 0.8418 GB, free: 14.87 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.001869/0.1707, allocations: 1.08 MB / 0.8429 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1707, allocations: 13.34 kB / 0.8429 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.1708, allocations: 98.7 kB / 0.843 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1709, allocations: 88.38 kB / 0.8431 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009389/0.1719, allocations: 0.5038 MB / 0.8436 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.1719, allocations: 45.69 kB / 0.8436 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.172, allocations: 56.38 kB / 0.8437 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.1731, allocations: 0.6539 MB / 0.8443 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1731, allocations: 4 kB / 0.8443 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.1732, allocations: 27.98 kB / 0.8443 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.1732, allocations: 12 kB / 0.8443 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009999/0.1742, allocations: 461 kB / 0.8448 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.1769, allocations: 1.783 MB / 0.8465 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009129/0.1778, allocations: 418.7 kB / 0.8469 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004392/0.1783, allocations: 226.1 kB / 0.8471 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.1783, allocations: 8.375 kB / 0.8471 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005337/0.1788, allocations: 261.3 kB / 0.8474 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.924e-06/0.1788, allocations: 0 / 0.8474 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001304/0.1801, allocations: 0.5892 MB / 0.848 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.1802, allocations: 59.84 kB / 0.848 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.1807, allocations: 446 kB / 0.8484 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.1808, allocations: 33.7 kB / 0.8485 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/0.181, allocations: 332.8 kB / 0.8488 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.1812, allocations: 174.5 kB / 0.849 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.1814, allocations: 90.34 kB / 0.8491 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1816, allocations: 362.8 kB / 0.8494 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004278/0.182, allocations: 202.9 kB / 0.8496 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.1824, allocations: 280.4 kB / 0.8499 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000831/0.1833, allocations: 451 kB / 0.8503 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1833, allocations: 7.938 kB / 0.8503 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00107/0.1844, allocations: 0.5903 MB / 0.8509 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.1844, allocations: 45.62 kB / 0.8509 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1844, allocations: 0 / 0.8509 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1844, allocations: 4 kB / 0.8509 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.1849, allocations: 111.9 kB / 0.851 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1849, allocations: 7.938 kB / 0.851 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.1852, allocations: 59.61 kB / 0.8511 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.1853, allocations: 19.98 kB / 0.8511 GB, free: 5.004 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.000262/0.1855, allocations: 206.5 kB / 0.8513 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.1856, allocations: 59.61 kB / 0.8514 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.1857, allocations: 65.58 kB / 0.8514 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1857, allocations: 4 kB / 0.8514 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1857, allocations: 4 kB / 0.8514 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1858, allocations: 3.938 kB / 0.8514 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/0.1875, allocations: 1.08 MB / 0.8525 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.1875, allocations: 3.984 kB / 0.8525 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.188, allocations: 91.89 kB / 0.8526 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.188, allocations: 0 / 0.8526 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/0.188, allocations: 15.98 kB / 0.8526 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.188, allocations: 4 kB / 0.8526 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.188, allocations: 7.875 kB / 0.8526 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.1894, allocations: 0.7613 MB / 0.8534 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.1896, allocations: 95.52 kB / 0.8534 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.053e-05/0.1896, allocations: 12 kB / 0.8535 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.1899, allocations: 27.97 kB / 0.8535 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.19, allocations: 32.38 kB / 0.8535 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.708e-05/0.19, allocations: 12 kB / 0.8535 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003413/0.1904, allocations: 310.9 kB / 0.8538 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1904, allocations: 0 / 0.8538 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004219/0.1908, allocations: 143.7 kB / 0.854 GB, free: 2.016 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.001675/0.1925, allocations: 1.321 MB / 0.8552 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009242/0.1934, allocations: 490.4 kB / 0.8557 GB, free: 176 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1934, allocations: 0 / 0.8557 GB, free: 176 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.1938, allocations: 206.4 kB / 0.8559 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007248/0.1946, allocations: 160.4 kB / 0.8561 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007255/0.2018, allocations: 4.917 MB / 0.8609 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.2021, allocations: 296.7 kB / 0.8611 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002591/0.2024, allocations: 64.58 kB / 0.8612 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/0.2027, allocations: 223.4 kB / 0.8614 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of SimCode: time 5.81e-07/0.2027, allocations: 0 / 0.8614 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04086/0.2435, allocations: 12.42 MB / 0.8736 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.64, allocations: 7.312 kB / 0.8736 GB, free: 14 MB / 0.6231 GB " [Timeout remaining time 648] (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: 15.850371903274208] Failed to read output from testmodel.py, exit status != 0: 11.7599249468185 11.786463498 11.613007256 Calling exit ...