Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001406/0.001406, allocations: 119 kB / 19.69 MB, free: 2.199 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.001457/0.001457, allocations: 224.3 kB / 23.01 MB, free: 5.047 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9446/0.9446, allocations: 150 MB / 463.2 MB, free: 10.49 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002187/0.002187, allocations: 66.52 kB / 0.6412 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1661, allocations: 89.17 MB / 0.7283 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005786/0.1719, allocations: 4.151 MB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.1747, allocations: 1.352 MB / 0.7337 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006224/0.1753, allocations: 39.75 kB / 0.7337 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004552/0.1757, allocations: 126.8 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.1763, allocations: 182.4 kB / 0.734 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.1774, allocations: 430.9 kB / 0.7344 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1787, allocations: 0.9554 MB / 0.7354 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000599/0.1793, allocations: 314.9 kB / 0.7357 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.1798, allocations: 342.7 kB / 0.736 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000451/0.1802, allocations: 334.3 kB / 0.7363 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.1804, allocations: 92 kB / 0.7364 GB, free: 8.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1805, allocations: 88 kB / 0.7365 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.1806, allocations: 179.5 kB / 0.7367 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.181, allocations: 398 kB / 0.737 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.1821, allocations: 1.062 MB / 0.7381 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1821, allocations: 0 / 0.7381 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1821, allocations: 0 / 0.7381 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.307e-05/0.1822, allocations: 0 / 0.7381 GB, free: 7.262 MB / 0.5606 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.002144/0.1843, allocations: 1.084 MB / 0.7391 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1844, allocations: 16.03 kB / 0.7392 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.1845, allocations: 94.7 kB / 0.7392 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.1846, allocations: 88.42 kB / 0.7393 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009404/0.1856, allocations: 0.496 MB / 0.7398 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.1856, allocations: 45.69 kB / 0.7399 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.928e-05/0.1857, allocations: 60.31 kB / 0.7399 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.1868, allocations: 0.6077 MB / 0.7405 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1868, allocations: 4 kB / 0.7405 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.1868, allocations: 24 kB / 0.7405 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.1868, allocations: 19.94 kB / 0.7406 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009809/0.1878, allocations: 457 kB / 0.741 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002959/0.1908, allocations: 1.955 MB / 0.7429 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/0.1917, allocations: 418.4 kB / 0.7433 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004463/0.1921, allocations: 226.1 kB / 0.7435 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.1921, allocations: 4.438 kB / 0.7435 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00054/0.1927, allocations: 273.2 kB / 0.7438 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 4.318e-06/0.1927, allocations: 4 kB / 0.7438 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001302/0.194, allocations: 0.5814 MB / 0.7443 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.194, allocations: 55.84 kB / 0.7444 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.1946, allocations: 446 kB / 0.7448 GB, free: 136 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/0.1946, allocations: 37.7 kB / 0.7449 GB, free: 92 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.1949, allocations: 336.8 kB / 0.7452 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.195, allocations: 174.5 kB / 0.7453 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.1952, allocations: 90.34 kB / 0.7454 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1953, allocations: 366.8 kB / 0.7458 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.1957, allocations: 161.2 kB / 0.7459 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.1962, allocations: 254.6 kB / 0.7462 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008167/0.197, allocations: 455 kB / 0.7466 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.197, allocations: 4 kB / 0.7466 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001081/0.1981, allocations: 0.569 MB / 0.7472 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.1981, allocations: 29.7 kB / 0.7472 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.1981, allocations: 4 kB / 0.7472 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.1981, allocations: 4 kB / 0.7472 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.1986, allocations: 120 kB / 0.7473 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1986, allocations: 8 kB / 0.7473 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/0.199, allocations: 59.59 kB / 0.7474 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.199, allocations: 24 kB / 0.7474 GB, free: 13.38 MB / 0.5762 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.0002693/0.1993, allocations: 208.1 kB / 0.7476 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.274e-05/0.1994, allocations: 59.61 kB / 0.7477 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.1995, allocations: 65.58 kB / 0.7477 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1995, allocations: 4 kB / 0.7477 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1995, allocations: 0 / 0.7477 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.1995, allocations: 3.984 kB / 0.7477 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.2014, allocations: 1.15 MB / 0.7489 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2014, allocations: 3.938 kB / 0.7489 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004663/0.2018, allocations: 91.89 kB / 0.749 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.2018, allocations: 4 kB / 0.749 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.683e-05/0.2019, allocations: 15.98 kB / 0.749 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.2019, allocations: 0 / 0.749 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2019, allocations: 7.922 kB / 0.749 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.2032, allocations: 0.7691 MB / 0.7497 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.2034, allocations: 87.58 kB / 0.7498 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.2035, allocations: 12 kB / 0.7498 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.2038, allocations: 27.97 kB / 0.7499 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.332e-05/0.2039, allocations: 32.38 kB / 0.7499 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.2039, allocations: 16.11 kB / 0.7499 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003495/0.2042, allocations: 310.8 kB / 0.7502 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2042, allocations: 4 kB / 0.7502 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004472/0.2047, allocations: 143.7 kB / 0.7503 GB, free: 10.31 MB / 0.5762 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.001638/0.2063, allocations: 1.322 MB / 0.7516 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009331/0.2073, allocations: 460.7 kB / 0.7521 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2073, allocations: 0.5 kB / 0.7521 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/0.2077, allocations: 214.3 kB / 0.7523 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000737/0.2084, allocations: 152.8 kB / 0.7524 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007879/0.2163, allocations: 4.799 MB / 0.7571 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.2168, allocations: 0.8861 MB / 0.758 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002917/0.2171, allocations: 68.58 kB / 0.758 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003255/0.2175, allocations: 215.4 kB / 0.7582 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of SimCode: time 8.91e-07/0.2175, allocations: 0 / 0.7582 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3975/0.6149, allocations: 11.79 MB / 0.7698 GB, free: 33.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.65, allocations: 8.875 kB / 0.7698 GB, free: 33.84 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.441965451929718] Failed to read output from testmodel.py, exit status != 0: 11.762965525966138 11.779110435 11.594263428 Calling exit ...