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.001288/0.001288, allocations: 110.4 kB / 17.12 MB, free: 5.926 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.001374/0.001374, allocations: 204 kB / 20.09 MB, free: 2.977 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.603/1.603, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 1.041/1.041, allocations: 150 MB / 459.5 MB, free: 5.727 MB / 350.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.001997/0.001997, allocations: 78.22 kB / 0.6361 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.192, allocations: 89.13 MB / 0.7231 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006259/0.1982, allocations: 4.129 MB / 0.7272 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.2011, allocations: 1.364 MB / 0.7285 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003796/0.2014, allocations: 27.81 kB / 0.7285 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.2018, allocations: 126.7 kB / 0.7286 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.2022, allocations: 182.4 kB / 0.7288 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008989/0.2031, allocations: 420.8 kB / 0.7292 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.2041, allocations: 0.9476 MB / 0.7301 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005414/0.2047, allocations: 322.5 kB / 0.7304 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000397/0.2051, allocations: 342.7 kB / 0.7308 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.2054, allocations: 334.4 kB / 0.7311 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.2056, allocations: 92 kB / 0.7312 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.2057, allocations: 92 kB / 0.7313 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2058, allocations: 179.4 kB / 0.7314 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003748/0.2062, allocations: 386.1 kB / 0.7318 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001202/0.2074, allocations: 1.066 MB / 0.7328 GB, free: 10.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.2074, allocations: 0 / 0.7328 GB, free: 10.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2074, allocations: 0 / 0.7328 GB, free: 10.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.2074, allocations: 0 / 0.7328 GB, free: 10.07 MB / 0.545 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.001993/0.2094, allocations: 1.104 MB / 0.7339 GB, free: 8.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2095, allocations: 12.03 kB / 0.7339 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001253/0.2096, allocations: 102.6 kB / 0.734 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.2098, allocations: 88.42 kB / 0.7341 GB, free: 8.703 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009729/0.2107, allocations: 0.5655 MB / 0.7347 GB, free: 8.098 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.2108, allocations: 49.67 kB / 0.7347 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.2109, allocations: 56.38 kB / 0.7348 GB, free: 7.996 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.212, allocations: 0.6077 MB / 0.7354 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.2121, allocations: 4 kB / 0.7354 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-05/0.2121, allocations: 27.98 kB / 0.7354 GB, free: 7.332 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2122, allocations: 12 kB / 0.7354 GB, free: 7.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2132, allocations: 465 kB / 0.7358 GB, free: 6.867 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.2164, allocations: 1.993 MB / 0.7378 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.2174, allocations: 427.3 kB / 0.7382 GB, free: 4.375 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/0.2179, allocations: 226.1 kB / 0.7384 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.2179, allocations: 8.422 kB / 0.7384 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005962/0.2185, allocations: 261.3 kB / 0.7387 GB, free: 3.879 MB / 0.545 GB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.2185, allocations: 0 / 0.7387 GB, free: 3.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=49): time 0.001414/0.2199, allocations: 0.5885 MB / 0.7392 GB, free: 3.281 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.22, allocations: 59.83 kB / 0.7393 GB, free: 3.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.2206, allocations: 442.8 kB / 0.7397 GB, free: 2.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.2206, allocations: 37.7 kB / 0.7398 GB, free: 2.727 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.2209, allocations: 332.8 kB / 0.7401 GB, free: 2.398 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.221, allocations: 170.5 kB / 0.7402 GB, free: 2.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.2212, allocations: 94.23 kB / 0.7403 GB, free: 2.133 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.2214, allocations: 362.8 kB / 0.7407 GB, free: 1.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.2218, allocations: 169 kB / 0.7408 GB, free: 1.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.2223, allocations: 241.8 kB / 0.7411 GB, free: 1.344 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.2232, allocations: 456 kB / 0.7415 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.2232, allocations: 4 kB / 0.7415 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001151/0.2244, allocations: 0.5706 MB / 0.7421 GB, free: 284 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.2244, allocations: 31.27 kB / 0.7421 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.2245, allocations: 4 kB / 0.7421 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2245, allocations: 4 kB / 0.7421 GB, free: 240 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.225, allocations: 111.8 kB / 0.7422 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.225, allocations: 8 kB / 0.7422 GB, free: 120 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.2253, allocations: 59.59 kB / 0.7423 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.2254, allocations: 24 kB / 0.7423 GB, free: 36 kB / 0.545 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0003002/0.2257, allocations: 216.2 kB / 0.7425 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.2257, allocations: 59.61 kB / 0.7426 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.2259, allocations: 65.58 kB / 0.7426 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.2259, allocations: 4 kB / 0.7426 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2259, allocations: 3.938 kB / 0.7426 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2259, allocations: 3.984 kB / 0.7426 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.2279, allocations: 1.182 MB / 0.7438 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2279, allocations: 0 / 0.7438 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.2284, allocations: 95.88 kB / 0.7439 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2284, allocations: 4 kB / 0.7439 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.2284, allocations: 12 kB / 0.7439 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2284, allocations: 3.984 kB / 0.7439 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2284, allocations: 0 / 0.7439 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001484/0.2299, allocations: 0.7693 MB / 0.7447 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/0.2301, allocations: 172.6 kB / 0.7448 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.2302, allocations: 11.98 kB / 0.7448 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.2305, allocations: 27.98 kB / 0.7449 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.2306, allocations: 32.39 kB / 0.7449 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.2306, allocations: 15.98 kB / 0.7449 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004169/0.231, allocations: 306.9 kB / 0.7452 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.231, allocations: 0 / 0.7452 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005116/0.2316, allocations: 143.7 kB / 0.7453 GB, free: 12.83 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.001856/0.2334, allocations: 1.321 MB / 0.7466 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.2344, allocations: 465 kB / 0.7471 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2345, allocations: 0 / 0.7471 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004466/0.2349, allocations: 202.4 kB / 0.7473 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008198/0.2357, allocations: 156.2 kB / 0.7474 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008331/0.244, allocations: 4.814 MB / 0.7521 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.2447, allocations: 0.886 MB / 0.753 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002954/0.245, allocations: 64.58 kB / 0.753 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.2453, allocations: 223.4 kB / 0.7532 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.2453, allocations: 3.938 kB / 0.7532 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.2895, allocations: 11.39 MB / 0.7644 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/9.058, allocations: 13.97 kB / 0.7644 GB, free: 9.309 MB / 0.5762 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 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: 13.60010190308094] Failed to read output from testmodel.py, exit status != 0: 9.13787446403876 9.165759121 8.953124404 Calling exit ...