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.00127/0.00127, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001439/0.001439, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.002478/0.002478, allocations: 286.3 kB / 313.5 MB, free: 2.609 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.18/1.18, allocations: 180.6 MB / 0.5377 GB, free: 14.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",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.0028/0.0028, allocations: 93.98 kB / 0.7402 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1737, allocations: 95.39 MB / 0.8334 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005373/0.179, allocations: 3.764 MB / 0.8371 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.1815, allocations: 1.321 MB / 0.8383 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004019/0.1819, allocations: 31.81 kB / 0.8384 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.1823, allocations: 130.7 kB / 0.8385 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.1827, allocations: 178.4 kB / 0.8387 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.1836, allocations: 421.2 kB / 0.8391 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.1846, allocations: 0.9516 MB / 0.84 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005273/0.1851, allocations: 310.9 kB / 0.8403 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.1856, allocations: 350.7 kB / 0.8406 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003692/0.1859, allocations: 334.4 kB / 0.8409 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.1861, allocations: 92 kB / 0.841 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1862, allocations: 92 kB / 0.8411 GB, free: 416 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.1863, allocations: 175.4 kB / 0.8413 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003238/0.1867, allocations: 310.6 kB / 0.8416 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1877, allocations: 1.07 MB / 0.8426 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1877, allocations: 0 / 0.8426 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1877, allocations: 0 / 0.8426 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.1877, allocations: 0 / 0.8426 GB, free: 14.86 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.001979/0.1897, allocations: 1.088 MB / 0.8437 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1897, allocations: 9.938 kB / 0.8437 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.354e-05/0.1898, allocations: 17.5 kB / 0.8437 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.1899, allocations: 94.7 kB / 0.8438 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.1901, allocations: 92.38 kB / 0.8439 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00099/0.191, allocations: 0.4999 MB / 0.8444 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.672e-05/0.1911, allocations: 45.69 kB / 0.8444 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.1912, allocations: 56.38 kB / 0.8445 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.1923, allocations: 0.6616 MB / 0.8451 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.1924, allocations: 0 / 0.8451 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/0.1924, allocations: 28 kB / 0.8452 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1925, allocations: 19.94 kB / 0.8452 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.1934, allocations: 457 kB / 0.8456 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.1963, allocations: 1.783 MB / 0.8474 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009311/0.1972, allocations: 422.7 kB / 0.8478 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.1977, allocations: 222.1 kB / 0.848 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.1977, allocations: 12.38 kB / 0.848 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005697/0.1983, allocations: 257.3 kB / 0.8482 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.354e-06/0.1983, allocations: 0 / 0.8482 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001344/0.1996, allocations: 0.5892 MB / 0.8488 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1997, allocations: 59.84 kB / 0.8489 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000519/0.2002, allocations: 445.9 kB / 0.8493 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.2002, allocations: 37.7 kB / 0.8493 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.2005, allocations: 328.9 kB / 0.8496 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.2006, allocations: 174.5 kB / 0.8498 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2008, allocations: 94.3 kB / 0.8499 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.201, allocations: 362.8 kB / 0.8502 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.2014, allocations: 202.9 kB / 0.8504 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.2018, allocations: 280.3 kB / 0.8507 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008222/0.2027, allocations: 451 kB / 0.8511 GB, free: 5.832 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2027, allocations: 3.938 kB / 0.8511 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001103/0.2038, allocations: 0.5941 MB / 0.8517 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.2038, allocations: 33.7 kB / 0.8517 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2038, allocations: 0 / 0.8517 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.2038, allocations: 8 kB / 0.8517 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.2044, allocations: 107.9 kB / 0.8519 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2044, allocations: 7.938 kB / 0.8519 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.2047, allocations: 63.64 kB / 0.8519 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.2047, allocations: 24.22 kB / 0.8519 GB, free: 4.969 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.000284/0.205, allocations: 206.4 kB / 0.8521 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.2051, allocations: 59.56 kB / 0.8522 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.2052, allocations: 61.58 kB / 0.8523 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.2053, allocations: 11.94 kB / 0.8523 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2053, allocations: 0 / 0.8523 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.2053, allocations: 3.984 kB / 0.8523 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.207, allocations: 1.076 MB / 0.8533 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.207, allocations: 0 / 0.8533 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/0.2075, allocations: 91.89 kB / 0.8534 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.2075, allocations: 4 kB / 0.8534 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.2076, allocations: 15.98 kB / 0.8534 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2076, allocations: 3.938 kB / 0.8534 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2076, allocations: 7.875 kB / 0.8534 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.209, allocations: 0.7613 MB / 0.8542 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.2091, allocations: 95.58 kB / 0.8543 GB, free: 2.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.565e-05/0.2092, allocations: 8 kB / 0.8543 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.2095, allocations: 23.97 kB / 0.8543 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.2096, allocations: 36.38 kB / 0.8543 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.2096, allocations: 19.98 kB / 0.8544 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003583/0.21, allocations: 310.9 kB / 0.8547 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.21, allocations: 0 / 0.8547 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004566/0.2104, allocations: 139.6 kB / 0.8548 GB, free: 1.984 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.001718/0.2121, allocations: 1.322 MB / 0.8561 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009817/0.2131, allocations: 490.4 kB / 0.8565 GB, free: 140 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2131, allocations: 0 / 0.8565 GB, free: 140 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.2136, allocations: 202.4 kB / 0.8567 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.2144, allocations: 158.1 kB / 0.8569 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007648/0.222, allocations: 4.919 MB / 0.8617 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.2223, allocations: 292.7 kB / 0.862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002911/0.2226, allocations: 68.58 kB / 0.862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003247/0.2229, allocations: 219.4 kB / 0.8622 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of SimCode: time 7.52e-07/0.2229, allocations: 0 / 0.8622 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03631/0.2592, allocations: 12.18 MB / 0.8741 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.06, allocations: 6.5 kB / 0.8741 GB, free: 14.25 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: 16.159671114059165] Failed to read output from testmodel.py, exit status != 0: 12.23109974199906 12.258514341 12.065889532 Calling exit ...