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.001809/0.001809, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.00193/0.00193, allocations: 216.7 kB / 23.78 MB, free: 4.523 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.541/1.541, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.9893/0.9893, allocations: 150 MB / 464 MB, free: 10.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_LimPIDWithReset",fmuType="cs",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.002094/0.002094, allocations: 69.91 kB / 0.6419 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2203, allocations: 89.17 MB / 0.729 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.007031/0.2273, allocations: 3.717 MB / 0.7326 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003574/0.2309, allocations: 1.317 MB / 0.7339 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009604/0.2318, allocations: 35.75 kB / 0.734 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005633/0.2324, allocations: 126.7 kB / 0.7341 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0006909/0.2331, allocations: 178.5 kB / 0.7343 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.2342, allocations: 427.8 kB / 0.7347 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.2354, allocations: 0.9554 MB / 0.7356 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005527/0.236, allocations: 310.9 kB / 0.7359 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004764/0.2364, allocations: 346.8 kB / 0.7362 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004544/0.2369, allocations: 338.3 kB / 0.7365 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.237, allocations: 92 kB / 0.7366 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.2372, allocations: 92 kB / 0.7367 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2373, allocations: 171.5 kB / 0.7369 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.2377, allocations: 310.4 kB / 0.7372 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.2391, allocations: 1.07 MB / 0.7382 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2391, allocations: 0 / 0.7382 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.806e-06/0.2391, allocations: 3.938 kB / 0.7382 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2391, allocations: 4 kB / 0.7382 GB, free: 7.297 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.00203/0.2412, allocations: 1.084 MB / 0.7393 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2412, allocations: 8.031 kB / 0.7393 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.753e-05/0.2412, allocations: 21.5 kB / 0.7393 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.2414, allocations: 98.7 kB / 0.7394 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.2415, allocations: 84.42 kB / 0.7395 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2425, allocations: 0.5038 MB / 0.74 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.343e-05/0.2426, allocations: 45.69 kB / 0.74 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001025/0.2427, allocations: 56.38 kB / 0.7401 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.2439, allocations: 0.6616 MB / 0.7407 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2439, allocations: 4 kB / 0.7407 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/0.2439, allocations: 23.98 kB / 0.7408 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.244, allocations: 16 kB / 0.7408 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.245, allocations: 457 kB / 0.7412 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002895/0.2479, allocations: 1.779 MB / 0.7429 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/0.2488, allocations: 422.4 kB / 0.7433 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.2493, allocations: 230 kB / 0.7436 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.2493, allocations: 4.438 kB / 0.7436 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006004/0.2499, allocations: 269.2 kB / 0.7438 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.545e-06/0.2499, allocations: 0 / 0.7438 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001417/0.2513, allocations: 0.5853 MB / 0.7444 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.2514, allocations: 55.84 kB / 0.7445 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006554/0.2521, allocations: 446 kB / 0.7449 GB, free: 268 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.2521, allocations: 33.7 kB / 0.7449 GB, free: 228 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.2525, allocations: 333 kB / 0.7452 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.2527, allocations: 178.5 kB / 0.7454 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.2529, allocations: 94.34 kB / 0.7455 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002454/0.2531, allocations: 366.8 kB / 0.7458 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.2536, allocations: 194.9 kB / 0.746 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.2541, allocations: 272.4 kB / 0.7463 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/0.2551, allocations: 455 kB / 0.7467 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2551, allocations: 4 kB / 0.7467 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001252/0.2563, allocations: 0.5941 MB / 0.7473 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.518e-05/0.2564, allocations: 37.69 kB / 0.7473 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.2564, allocations: 4 kB / 0.7473 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.2564, allocations: 4 kB / 0.7473 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/0.2569, allocations: 111.8 kB / 0.7474 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.2569, allocations: 4.25 kB / 0.7475 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.2573, allocations: 59.67 kB / 0.7475 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.2573, allocations: 27.97 kB / 0.7475 GB, free: 13.41 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.0002986/0.2576, allocations: 209.7 kB / 0.7477 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.2577, allocations: 59.55 kB / 0.7478 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.2578, allocations: 69.58 kB / 0.7479 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.2579, allocations: 4 kB / 0.7479 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2579, allocations: 0 / 0.7479 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2579, allocations: 4 kB / 0.7479 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.2597, allocations: 1.08 MB / 0.7489 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.2597, allocations: 3.984 kB / 0.7489 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004985/0.2602, allocations: 91.83 kB / 0.749 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.2603, allocations: 4 kB / 0.749 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.2603, allocations: 15.98 kB / 0.749 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.2603, allocations: 0 / 0.749 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2603, allocations: 4 kB / 0.749 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.2618, allocations: 0.7652 MB / 0.7498 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.262, allocations: 95.58 kB / 0.7499 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.617e-05/0.2621, allocations: 8 kB / 0.7499 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.2624, allocations: 27.97 kB / 0.7499 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.2625, allocations: 32.38 kB / 0.7499 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.2625, allocations: 16 kB / 0.75 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003721/0.2629, allocations: 310.9 kB / 0.7503 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2629, allocations: 0 / 0.7503 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004897/0.2634, allocations: 139.7 kB / 0.7504 GB, free: 10.41 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.001776/0.2651, allocations: 1.324 MB / 0.7517 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.2662, allocations: 486.4 kB / 0.7521 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2662, allocations: 0 / 0.7521 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.2666, allocations: 210.8 kB / 0.7523 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007928/0.2674, allocations: 154.3 kB / 0.7525 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00794/0.2753, allocations: 4.914 MB / 0.7573 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2756, allocations: 292.7 kB / 0.7576 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002708/0.2759, allocations: 68.52 kB / 0.7576 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.2762, allocations: 219.4 kB / 0.7578 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of SimCode: time 9.72e-07/0.2762, allocations: 0 / 0.7578 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4305/0.7067, allocations: 12.17 MB / 0.7697 GB, free: 34.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.86, allocations: 6.844 kB / 0.7697 GB, free: 34.18 MB / 0.5762 GB " [Timeout remaining time 647] (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: 16.98854637693148] Failed to read output from testmodel.py, exit status != 0: 13.027833695989102 13.045337213 12.802695481 Calling exit ...