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.001708/0.001708, allocations: 115 kB / 19.7 MB, free: 2.039 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.002032/0.002032, allocations: 224 kB / 23.01 MB, free: 4.941 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9503/0.9503, allocations: 150 MB / 463.2 MB, free: 10.47 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.002038/0.002038, allocations: 62.78 kB / 0.6412 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1935, allocations: 89.17 MB / 0.7283 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006707/0.2002, allocations: 4.155 MB / 0.7324 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003369/0.2036, allocations: 1.364 MB / 0.7337 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005515/0.2041, allocations: 35.75 kB / 0.7337 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004696/0.2046, allocations: 126.8 kB / 0.7339 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.2051, allocations: 178.4 kB / 0.734 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.2061, allocations: 429.9 kB / 0.7344 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2074, allocations: 0.9554 MB / 0.7354 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.208, allocations: 310.9 kB / 0.7357 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.2084, allocations: 342.7 kB / 0.736 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004069/0.2088, allocations: 342.3 kB / 0.7363 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.2089, allocations: 92 kB / 0.7364 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.209, allocations: 88 kB / 0.7365 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.2092, allocations: 179.5 kB / 0.7367 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.2096, allocations: 390 kB / 0.737 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.2108, allocations: 1.066 MB / 0.7381 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2109, allocations: 0 / 0.7381 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2109, allocations: 0 / 0.7381 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.2109, allocations: 0 / 0.7381 GB, free: 7.227 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.002379/0.2133, allocations: 1.088 MB / 0.7391 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.2133, allocations: 12.03 kB / 0.7392 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.2135, allocations: 94.7 kB / 0.7392 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.2136, allocations: 92.42 kB / 0.7393 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.2148, allocations: 0.4921 MB / 0.7398 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.2148, allocations: 45.69 kB / 0.7399 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.2149, allocations: 68.25 kB / 0.7399 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.2163, allocations: 0.5999 MB / 0.7405 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.2164, allocations: 4 kB / 0.7405 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.179e-05/0.2165, allocations: 27.98 kB / 0.7405 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/0.2165, allocations: 16 kB / 0.7406 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.2182, allocations: 457 kB / 0.741 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004824/0.223, allocations: 1.951 MB / 0.7429 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.2245, allocations: 421.9 kB / 0.7433 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007303/0.2252, allocations: 226.1 kB / 0.7435 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-05/0.2253, allocations: 8.375 kB / 0.7435 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008892/0.2262, allocations: 261.2 kB / 0.7438 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 4.298e-06/0.2262, allocations: 4 kB / 0.7438 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.002022/0.2282, allocations: 0.5853 MB / 0.7443 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.2283, allocations: 55.84 kB / 0.7444 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007689/0.2291, allocations: 450 kB / 0.7448 GB, free: 100 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.2291, allocations: 29.7 kB / 0.7449 GB, free: 64 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.2294, allocations: 340.8 kB / 0.7452 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.2296, allocations: 170.5 kB / 0.7453 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.2297, allocations: 94.34 kB / 0.7454 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003056/0.23, allocations: 366.8 kB / 0.7458 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004135/0.2304, allocations: 165.2 kB / 0.7459 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.231, allocations: 254.6 kB / 0.7462 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/0.2319, allocations: 459 kB / 0.7466 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.2319, allocations: 4 kB / 0.7466 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00111/0.233, allocations: 0.565 MB / 0.7472 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.465e-05/0.2331, allocations: 37.69 kB / 0.7472 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2331, allocations: 4 kB / 0.7472 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2331, allocations: 4 kB / 0.7472 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005046/0.2336, allocations: 116.1 kB / 0.7473 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.2336, allocations: 8 kB / 0.7473 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003491/0.234, allocations: 59.59 kB / 0.7474 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/0.234, allocations: 20 kB / 0.7474 GB, free: 13.34 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.0002829/0.2343, allocations: 208.5 kB / 0.7476 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.2344, allocations: 59.61 kB / 0.7477 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.2345, allocations: 69.58 kB / 0.7477 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.2345, allocations: 4 kB / 0.7477 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2345, allocations: 0 / 0.7477 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2345, allocations: 3.984 kB / 0.7477 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.2366, allocations: 1.142 MB / 0.7489 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.2366, allocations: 7.922 kB / 0.7489 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.2371, allocations: 99.83 kB / 0.749 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.2371, allocations: 4 kB / 0.749 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.2371, allocations: 11.98 kB / 0.749 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.2371, allocations: 0 / 0.749 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2371, allocations: 3.938 kB / 0.749 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.2386, allocations: 0.7652 MB / 0.7497 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.2388, allocations: 91.58 kB / 0.7498 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.2389, allocations: 8 kB / 0.7498 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002875/0.2392, allocations: 27.97 kB / 0.7499 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.2393, allocations: 32.38 kB / 0.7499 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.2393, allocations: 12 kB / 0.7499 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004946/0.2398, allocations: 318.8 kB / 0.7502 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2398, allocations: 0 / 0.7502 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005223/0.2403, allocations: 143.7 kB / 0.7503 GB, free: 10.28 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.002004/0.2423, allocations: 1.318 MB / 0.7516 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001047/0.2434, allocations: 461.2 kB / 0.7521 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.2434, allocations: 0 / 0.7521 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004439/0.2438, allocations: 214.3 kB / 0.7523 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007983/0.2446, allocations: 155.2 kB / 0.7524 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/0.2529, allocations: 4.798 MB / 0.7571 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005618/0.2534, allocations: 0.8861 MB / 0.758 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00031/0.2537, allocations: 64.58 kB / 0.758 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.2541, allocations: 215.4 kB / 0.7582 GB, free: 2 MB / 0.5762 GB Notification: Performance of SimCode: time 8.71e-07/0.2541, allocations: 0 / 0.7582 GB, free: 2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3867/0.6407, allocations: 11.79 MB / 0.7698 GB, free: 33.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.24, allocations: 7.172 kB / 0.7698 GB, free: 33.78 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 & 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: 16.612101885999436] Failed to read output from testmodel.py, exit status != 0: 12.358598449001875 12.383304717 12.168210885 Calling exit ...