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.001822/0.001822, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.00225/0.00225, allocations: 215.3 kB / 22.99 MB, free: 4.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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9624/0.9624, allocations: 149.9 MB / 463 MB, free: 10.34 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.00236/0.00236, allocations: 67.55 kB / 0.641 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2056, allocations: 89.16 MB / 0.7281 GB, free: 1.082 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006043/0.2116, allocations: 3.739 MB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003126/0.2148, allocations: 1.313 MB / 0.7331 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005211/0.2153, allocations: 31.75 kB / 0.7331 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.2157, allocations: 130.7 kB / 0.7332 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.2161, allocations: 182.4 kB / 0.7334 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.2172, allocations: 417.4 kB / 0.7338 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.2183, allocations: 0.9593 MB / 0.7347 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005019/0.2188, allocations: 290.9 kB / 0.735 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.2193, allocations: 338.8 kB / 0.7353 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.2196, allocations: 294.3 kB / 0.7356 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.2197, allocations: 92 kB / 0.7357 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2198, allocations: 92 kB / 0.7358 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.22, allocations: 187.3 kB / 0.736 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.2203, allocations: 302.5 kB / 0.7362 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.2214, allocations: 1.074 MB / 0.7373 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2214, allocations: 0 / 0.7373 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.2214, allocations: 0 / 0.7373 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.2214, allocations: 4 kB / 0.7373 GB, free: 7.625 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.001924/0.2233, allocations: 1.08 MB / 0.7383 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2234, allocations: 8.031 kB / 0.7384 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.2235, allocations: 102.7 kB / 0.7385 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.2236, allocations: 92.42 kB / 0.7385 GB, free: 6.293 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.2246, allocations: 0.4959 MB / 0.739 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/0.2246, allocations: 45.69 kB / 0.7391 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.2247, allocations: 60.38 kB / 0.7391 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.2259, allocations: 0.6579 MB / 0.7398 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/0.2259, allocations: 3.938 kB / 0.7398 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.2259, allocations: 24 kB / 0.7398 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2259, allocations: 16 kB / 0.7398 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009943/0.2269, allocations: 453 kB / 0.7402 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002916/0.2299, allocations: 1.787 MB / 0.742 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.2308, allocations: 422.3 kB / 0.7424 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004457/0.2312, allocations: 230.1 kB / 0.7426 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.2313, allocations: 4.438 kB / 0.7426 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005606/0.2318, allocations: 265.2 kB / 0.7429 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.405e-06/0.2318, allocations: 0 / 0.7429 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001378/0.2332, allocations: 0.5846 MB / 0.7434 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2333, allocations: 55.84 kB / 0.7435 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.2338, allocations: 454.6 kB / 0.7439 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.2338, allocations: 33.7 kB / 0.744 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.2341, allocations: 332.9 kB / 0.7443 GB, free: 244 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.2343, allocations: 170.5 kB / 0.7444 GB, free: 72 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.2344, allocations: 98.38 kB / 0.7445 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.2346, allocations: 366.8 kB / 0.7449 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.235, allocations: 194.9 kB / 0.7451 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004814/0.2355, allocations: 280.4 kB / 0.7453 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.2364, allocations: 455 kB / 0.7458 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.2364, allocations: 0 / 0.7458 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001123/0.2375, allocations: 0.5941 MB / 0.7463 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.2375, allocations: 37.7 kB / 0.7464 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2375, allocations: 4 kB / 0.7464 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.2376, allocations: 4 kB / 0.7464 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.2381, allocations: 120 kB / 0.7465 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2381, allocations: 4 kB / 0.7465 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.2384, allocations: 59.64 kB / 0.7466 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.2384, allocations: 20 kB / 0.7466 GB, free: 13.75 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.0002655/0.2387, allocations: 206.8 kB / 0.7468 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.477e-05/0.2388, allocations: 67.55 kB / 0.7468 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.2389, allocations: 61.59 kB / 0.7469 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2389, allocations: 8 kB / 0.7469 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.2389, allocations: 0 / 0.7469 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2389, allocations: 3.984 kB / 0.7469 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.2407, allocations: 1.072 MB / 0.748 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.2407, allocations: 7.938 kB / 0.748 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004632/0.2412, allocations: 95.88 kB / 0.7481 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.2412, allocations: 4 kB / 0.7481 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.2412, allocations: 12 kB / 0.7481 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2412, allocations: 0 / 0.7481 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2412, allocations: 0 / 0.7481 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.2426, allocations: 0.7574 MB / 0.7488 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.2428, allocations: 103.5 kB / 0.7489 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.2429, allocations: 12 kB / 0.7489 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.2431, allocations: 31.97 kB / 0.749 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.358e-05/0.2432, allocations: 32.38 kB / 0.749 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.2433, allocations: 15.98 kB / 0.749 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003565/0.2436, allocations: 306.9 kB / 0.7493 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2436, allocations: 0 / 0.7493 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004534/0.2441, allocations: 139.6 kB / 0.7494 GB, free: 10.77 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.001734/0.2458, allocations: 1.321 MB / 0.7507 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.2468, allocations: 490.9 kB / 0.7512 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2468, allocations: 4 kB / 0.7512 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.2472, allocations: 206.4 kB / 0.7514 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007916/0.248, allocations: 163.6 kB / 0.7515 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007692/0.2557, allocations: 4.914 MB / 0.7563 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.256, allocations: 288.7 kB / 0.7566 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000288/0.2563, allocations: 64.58 kB / 0.7567 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/0.2566, allocations: 219.4 kB / 0.7569 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of SimCode: time 1.212e-06/0.2566, allocations: 0 / 0.7569 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4158/0.6724, allocations: 12.42 MB / 0.769 GB, free: 33.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.3, allocations: 2.906 kB / 0.769 GB, free: 33.54 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.712244460824877] Failed to read output from testmodel.py, exit status != 0: 12.416251166723669 12.440517836 12.214675256 Calling exit ...