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.001391/0.001391, allocations: 105 kB / 20.45 MB, free: 1.5 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.001502/0.001502, allocations: 216.8 kB / 23.76 MB, free: 4.711 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.457/1.457, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.9724/0.9724, allocations: 150 MB / 463.9 MB, free: 10.55 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.002697/0.002697, allocations: 72.02 kB / 0.6425 GB, free: 9.988 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2281, allocations: 89.17 MB / 0.7296 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006765/0.2348, allocations: 4.151 MB / 0.7336 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00336/0.2382, allocations: 1.364 MB / 0.7349 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008938/0.2391, allocations: 31.75 kB / 0.735 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.2396, allocations: 130.7 kB / 0.7351 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000804/0.2404, allocations: 178.4 kB / 0.7353 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.2417, allocations: 431.9 kB / 0.7357 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001552/0.2433, allocations: 0.9554 MB / 0.7366 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006704/0.2439, allocations: 310.6 kB / 0.7369 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006053/0.2445, allocations: 342.7 kB / 0.7372 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005837/0.2451, allocations: 342.3 kB / 0.7376 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001891/0.2453, allocations: 92 kB / 0.7376 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.2455, allocations: 88 kB / 0.7377 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.2457, allocations: 175.5 kB / 0.7379 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004693/0.2461, allocations: 394 kB / 0.7383 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.2474, allocations: 1.062 MB / 0.7393 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2474, allocations: 0 / 0.7393 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2474, allocations: 0 / 0.7393 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.744e-05/0.2475, allocations: 3.938 kB / 0.7393 GB, free: 6.816 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.002464/0.2499, allocations: 1.088 MB / 0.7404 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.25, allocations: 8.031 kB / 0.7404 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.2502, allocations: 84.42 kB / 0.7405 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.2513, allocations: 0.4999 MB / 0.741 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.892e-05/0.2514, allocations: 45.69 kB / 0.741 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.2515, allocations: 64.36 kB / 0.7411 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2527, allocations: 0.6001 MB / 0.7416 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.3e-05/0.2527, allocations: 0 / 0.7416 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.719e-05/0.2528, allocations: 31.94 kB / 0.7417 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.2528, allocations: 15.98 kB / 0.7417 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2538, allocations: 453 kB / 0.7421 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.2571, allocations: 1.958 MB / 0.744 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009268/0.2581, allocations: 417 kB / 0.7444 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.2585, allocations: 230.1 kB / 0.7446 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.2585, allocations: 4.438 kB / 0.7447 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005543/0.2591, allocations: 269.2 kB / 0.7449 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 1.963e-06/0.2591, allocations: 0 / 0.7449 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001328/0.2604, allocations: 0.5892 MB / 0.7455 GB, free: 312 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2605, allocations: 55.84 kB / 0.7455 GB, free: 244 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005947/0.2611, allocations: 450.1 kB / 0.746 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.2611, allocations: 33.7 kB / 0.746 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.2614, allocations: 332.8 kB / 0.7463 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.2616, allocations: 174.5 kB / 0.7465 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.2617, allocations: 90.34 kB / 0.7466 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.2619, allocations: 362.8 kB / 0.7469 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.2623, allocations: 169.2 kB / 0.7471 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.2627, allocations: 254.6 kB / 0.7473 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/0.2636, allocations: 455 kB / 0.7478 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2636, allocations: 4 kB / 0.7478 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001093/0.2647, allocations: 0.5573 MB / 0.7483 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.072e-05/0.2647, allocations: 41.62 kB / 0.7483 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.2647, allocations: 256 / 0.7483 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.2648, allocations: 12 kB / 0.7484 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.2652, allocations: 111.8 kB / 0.7485 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.2653, allocations: 4 kB / 0.7485 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.2656, allocations: 63.61 kB / 0.7485 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/0.2656, allocations: 19.98 kB / 0.7485 GB, free: 13.05 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.0002702/0.2659, allocations: 206.5 kB / 0.7487 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.266, allocations: 63.61 kB / 0.7488 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001448/0.2661, allocations: 61.58 kB / 0.7489 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2661, allocations: 8 kB / 0.7489 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.2661, allocations: 0 / 0.7489 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2662, allocations: 0 / 0.7489 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.2681, allocations: 1.154 MB / 0.75 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2681, allocations: 4 kB / 0.75 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.2685, allocations: 95.88 kB / 0.7501 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.2686, allocations: 0 / 0.7501 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.473e-05/0.2686, allocations: 12 kB / 0.7501 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.2686, allocations: 4 kB / 0.7501 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2686, allocations: 0 / 0.7501 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.27, allocations: 0.7691 MB / 0.7509 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.2702, allocations: 95.58 kB / 0.7509 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.94e-05/0.2702, allocations: 11.94 kB / 0.751 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002768/0.2705, allocations: 19.98 kB / 0.751 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.2706, allocations: 40.3 kB / 0.751 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.2706, allocations: 23.94 kB / 0.751 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003639/0.271, allocations: 310.9 kB / 0.7513 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.271, allocations: 0 / 0.7513 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004509/0.2714, allocations: 139.7 kB / 0.7515 GB, free: 9.977 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.0001531/0.2716, allocations: 113.1 kB / 0.7516 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009841/0.2726, allocations: 460.6 kB / 0.752 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2726, allocations: 4 kB / 0.752 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004217/0.273, allocations: 198.4 kB / 0.7522 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007532/0.2738, allocations: 163.3 kB / 0.7524 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.2767, allocations: 1.39 MB / 0.7537 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/0.2773, allocations: 0.89 MB / 0.7546 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.2775, allocations: 43.44 kB / 0.7546 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of SimCode: time 8.71e-07/0.2775, allocations: 4 kB / 0.7546 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of Templates: time 0.3881/0.6656, allocations: 7.66 MB / 0.7621 GB, free: 33.2 MB / 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.257037993054837] Failed to read output from testmodel.py, exit status != 0: 0.6746342089027166 0.691916057 0.44072534300000005 Calling exit ...