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.001489/0.001489, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001681/0.001681, allocations: 212.3 kB / 23.75 MB, free: 4.445 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.438/1.438, 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.9822/0.9822, allocations: 149.9 MB / 463.8 MB, free: 10.32 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: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [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.002147/0.002147, allocations: 67.45 kB / 0.6423 GB, free: 9.629 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2117, allocations: 89.17 MB / 0.7293 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.007089/0.2187, allocations: 3.731 MB / 0.733 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.222, allocations: 1.313 MB / 0.7343 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.2225, allocations: 35.75 kB / 0.7343 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.2229, allocations: 130.7 kB / 0.7344 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.2233, allocations: 186.4 kB / 0.7346 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.2243, allocations: 422.1 kB / 0.735 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2255, allocations: 0.9515 MB / 0.7359 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005596/0.2261, allocations: 286.6 kB / 0.7362 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005476/0.2266, allocations: 350.7 kB / 0.7366 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.227, allocations: 298.3 kB / 0.7368 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.2271, allocations: 92 kB / 0.7369 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.2273, allocations: 88 kB / 0.737 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.2274, allocations: 175.5 kB / 0.7372 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003413/0.2278, allocations: 314.4 kB / 0.7375 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.229, allocations: 1.066 MB / 0.7385 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.229, allocations: 3.938 kB / 0.7385 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.315e-06/0.229, allocations: 0 / 0.7385 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.229, allocations: 0 / 0.7385 GB, free: 7.074 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.00208/0.2311, allocations: 1.084 MB / 0.7396 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.2312, allocations: 8.031 kB / 0.7396 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.2313, allocations: 92.36 kB / 0.7397 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2323, allocations: 0.496 MB / 0.7402 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.2324, allocations: 45.69 kB / 0.7402 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.2325, allocations: 64.31 kB / 0.7403 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.2337, allocations: 0.6581 MB / 0.7409 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.2337, allocations: 0 / 0.7409 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.2338, allocations: 24 kB / 0.7409 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.2338, allocations: 16 kB / 0.7409 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2348, allocations: 453 kB / 0.7414 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.2378, allocations: 1.706 MB / 0.743 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.2388, allocations: 425.5 kB / 0.7434 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/0.2392, allocations: 222.8 kB / 0.7437 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.2393, allocations: 8.438 kB / 0.7437 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005855/0.2399, allocations: 261.3 kB / 0.7439 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 3.176e-06/0.2399, allocations: 0 / 0.7439 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001412/0.2413, allocations: 0.5846 MB / 0.7445 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/0.2413, allocations: 59.84 kB / 0.7445 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.2419, allocations: 434.5 kB / 0.745 GB, free: 284 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.2419, allocations: 29.7 kB / 0.745 GB, free: 248 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.2423, allocations: 341 kB / 0.7453 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.2424, allocations: 170.5 kB / 0.7455 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/0.2426, allocations: 102.3 kB / 0.7456 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.2428, allocations: 362.8 kB / 0.7459 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.2433, allocations: 194.9 kB / 0.7461 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.2437, allocations: 276.3 kB / 0.7464 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008831/0.2446, allocations: 455 kB / 0.7468 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.2446, allocations: 0 / 0.7468 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001163/0.2458, allocations: 0.5902 MB / 0.7474 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.2459, allocations: 35.89 kB / 0.7474 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2459, allocations: 7.734 kB / 0.7474 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.2459, allocations: 8 kB / 0.7474 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.2464, allocations: 120.1 kB / 0.7475 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.2464, allocations: 4 kB / 0.7475 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.2467, allocations: 59.61 kB / 0.7476 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/0.2468, allocations: 19.98 kB / 0.7476 GB, free: 13.43 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.0003016/0.2471, allocations: 210.5 kB / 0.7478 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.2472, allocations: 55.61 kB / 0.7479 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.2473, allocations: 65.44 kB / 0.7479 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.2473, allocations: 8 kB / 0.7479 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.2473, allocations: 0 / 0.7479 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2473, allocations: 7.938 kB / 0.748 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.2492, allocations: 0.9944 MB / 0.7489 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2492, allocations: 0 / 0.7489 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.2497, allocations: 99.81 kB / 0.749 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.2497, allocations: 4 kB / 0.749 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.2497, allocations: 12 kB / 0.749 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.2497, allocations: 4 kB / 0.749 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2497, allocations: 0 / 0.749 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.2511, allocations: 0.7613 MB / 0.7498 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.2513, allocations: 91.56 kB / 0.7499 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.2514, allocations: 12 kB / 0.7499 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002866/0.2517, allocations: 27.97 kB / 0.7499 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.2518, allocations: 36.38 kB / 0.7499 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.2519, allocations: 15.98 kB / 0.75 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004251/0.2523, allocations: 299.1 kB / 0.7502 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2523, allocations: 0 / 0.7502 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005906/0.2529, allocations: 143.6 kB / 0.7504 GB, free: 10.54 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.0001819/0.2531, allocations: 111.2 kB / 0.7505 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.2541, allocations: 494.3 kB / 0.751 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2541, allocations: 0 / 0.751 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.2546, allocations: 202.4 kB / 0.7511 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.2553, allocations: 148.2 kB / 0.7513 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.2582, allocations: 1.392 MB / 0.7527 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.2586, allocations: 292.7 kB / 0.7529 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.2587, allocations: 43.44 kB / 0.753 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.2587, allocations: 0 / 0.753 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of Templates: time 0.01341/0.2721, allocations: 7.795 MB / 0.7606 GB, free: 48 kB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.193273867946118] Failed to read output from testmodel.py, exit status != 0: 0.635220811702311 0.647236874 0.41525338999999994 Calling exit ...