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.00129/0.00129, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001425/0.001425, allocations: 213.2 kB / 22.25 MB, free: 5.129 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.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.984 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.002448/0.002448, allocations: 283.9 kB / 312.7 MB, free: 2.812 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.168/1.168, allocations: 180.6 MB / 0.5369 GB, free: 12.98 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.002838/0.002838, allocations: 94.48 kB / 0.7395 GB, free: 28.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1775, allocations: 95.38 MB / 0.8327 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005642/0.1831, allocations: 4.186 MB / 0.8368 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002559/0.1857, allocations: 1.371 MB / 0.8381 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000358/0.186, allocations: 27.81 kB / 0.8382 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.1864, allocations: 126.7 kB / 0.8383 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.1867, allocations: 186.4 kB / 0.8384 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.1876, allocations: 428.4 kB / 0.8389 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009966/0.1886, allocations: 0.9593 MB / 0.8398 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.1891, allocations: 310.9 kB / 0.8401 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000375/0.1895, allocations: 342.8 kB / 0.8404 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.1898, allocations: 338.3 kB / 0.8407 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.19, allocations: 92 kB / 0.8408 GB, free: 456 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1901, allocations: 88 kB / 0.8409 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.1903, allocations: 179.4 kB / 0.8411 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.1906, allocations: 394.1 kB / 0.8415 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1917, allocations: 1.062 MB / 0.8425 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1917, allocations: 0 / 0.8425 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1917, allocations: 0 / 0.8425 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.224e-05/0.1917, allocations: 0 / 0.8425 GB, free: 14.73 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.001821/0.1935, allocations: 1.088 MB / 0.8436 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1936, allocations: 9.344 kB / 0.8436 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001098/0.1937, allocations: 98.7 kB / 0.8437 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1938, allocations: 92.36 kB / 0.8437 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009061/0.1947, allocations: 0.5038 MB / 0.8442 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.1948, allocations: 41.69 kB / 0.8443 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.2e-05/0.1949, allocations: 56.38 kB / 0.8443 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.1959, allocations: 0.6154 MB / 0.8449 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.1959, allocations: 0 / 0.8449 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.196, allocations: 28 kB / 0.845 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.196, allocations: 12 kB / 0.845 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.197, allocations: 461 kB / 0.8454 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.1997, allocations: 1.935 MB / 0.8473 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/0.2007, allocations: 430.7 kB / 0.8477 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.2011, allocations: 222 kB / 0.8479 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.436e-05/0.2011, allocations: 16.42 kB / 0.8479 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.2017, allocations: 265.2 kB / 0.8482 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.964e-06/0.2017, allocations: 0 / 0.8482 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001292/0.203, allocations: 0.5736 MB / 0.8488 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.203, allocations: 67.83 kB / 0.8488 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.2035, allocations: 446 kB / 0.8492 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.2036, allocations: 37.7 kB / 0.8493 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.2038, allocations: 340.7 kB / 0.8496 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.204, allocations: 174.5 kB / 0.8498 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.2041, allocations: 94.3 kB / 0.8499 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.2043, allocations: 366.8 kB / 0.8502 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003883/0.2047, allocations: 169.2 kB / 0.8504 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.2051, allocations: 246.7 kB / 0.8506 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008016/0.2059, allocations: 455 kB / 0.851 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2059, allocations: 0 / 0.851 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001024/0.2069, allocations: 0.5692 MB / 0.8516 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.247e-05/0.207, allocations: 33.7 kB / 0.8516 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.207, allocations: 0 / 0.8516 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.207, allocations: 4 kB / 0.8516 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.2075, allocations: 115.8 kB / 0.8517 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2075, allocations: 4 kB / 0.8517 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.2078, allocations: 63.64 kB / 0.8518 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.2079, allocations: 16 kB / 0.8518 GB, free: 4.859 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.000263/0.2081, allocations: 212.5 kB / 0.852 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.2082, allocations: 63.56 kB / 0.8521 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.2083, allocations: 65.58 kB / 0.8522 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2083, allocations: 4 kB / 0.8522 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2083, allocations: 0 / 0.8522 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.2083, allocations: 7.984 kB / 0.8522 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.2101, allocations: 1.15 MB / 0.8533 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2101, allocations: 0 / 0.8533 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.2105, allocations: 91.89 kB / 0.8534 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2105, allocations: 0 / 0.8534 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.2106, allocations: 15.98 kB / 0.8534 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.2106, allocations: 0 / 0.8534 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2106, allocations: 0 / 0.8534 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.2119, allocations: 0.769 MB / 0.8541 GB, free: 2.418 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.2121, allocations: 91.62 kB / 0.8542 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.863e-05/0.2121, allocations: 8 kB / 0.8542 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002759/0.2124, allocations: 31.97 kB / 0.8543 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.07e-05/0.2125, allocations: 32.38 kB / 0.8543 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.2125, allocations: 19.98 kB / 0.8543 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000344/0.2129, allocations: 306.9 kB / 0.8546 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2129, allocations: 3.938 kB / 0.8546 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004093/0.2133, allocations: 139.6 kB / 0.8547 GB, free: 1.801 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.001626/0.2149, allocations: 1.325 MB / 0.856 GB, free: 460 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008926/0.2158, allocations: 460.8 kB / 0.8565 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2158, allocations: 0 / 0.8565 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004078/0.2162, allocations: 206.3 kB / 0.8567 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.2169, allocations: 156.7 kB / 0.8568 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007139/0.224, allocations: 4.803 MB / 0.8615 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.2246, allocations: 0.8861 MB / 0.8624 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002414/0.2248, allocations: 68.58 kB / 0.8624 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.2251, allocations: 219.4 kB / 0.8627 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2252, allocations: 0 / 0.8627 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04215/0.2673, allocations: 11.81 MB / 0.8742 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.43, allocations: 10.09 kB / 0.8742 GB, free: 13.9 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 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.901853652998398] Failed to read output from testmodel.py, exit status != 0: 11.54482599399853 11.575309924 11.378521789 Calling exit ...