Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.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.001488/0.001488, 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.001722/0.001722, 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.9795/0.9795, allocations: 150 MB / 463.9 MB, free: 10.49 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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [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.001998/0.001998, allocations: 66.66 kB / 0.6425 GB, free: 9.914 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.221, allocations: 89.17 MB / 0.7295 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.006254/0.2273, allocations: 3.744 MB / 0.7332 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.2304, allocations: 1.375 MB / 0.7345 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004017/0.2308, allocations: 31.75 kB / 0.7346 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.2312, allocations: 134.6 kB / 0.7347 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000542/0.2317, allocations: 182.5 kB / 0.7349 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.233, allocations: 0.5843 MB / 0.7354 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.2341, allocations: 0.9643 MB / 0.7364 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.2345, allocations: 246.2 kB / 0.7366 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.235, allocations: 386.4 kB / 0.737 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004185/0.2354, allocations: 358.1 kB / 0.7373 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.2355, allocations: 80 kB / 0.7374 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.2357, allocations: 80 kB / 0.7375 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.2358, allocations: 187.3 kB / 0.7377 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003505/0.2362, allocations: 377.7 kB / 0.738 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.2372, allocations: 0.9022 MB / 0.7389 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2372, allocations: 0 / 0.7389 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2372, allocations: 0 / 0.7389 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.2372, allocations: 4 kB / 0.7389 GB, free: 7.164 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002232/0.2395, allocations: 1.131 MB / 0.74 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2395, allocations: 12.03 kB / 0.74 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.2397, allocations: 96.33 kB / 0.7401 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.2408, allocations: 0.5584 MB / 0.7407 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.241, allocations: 148.4 kB / 0.7408 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.2411, allocations: 56.31 kB / 0.7409 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.2422, allocations: 0.6167 MB / 0.7415 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.2422, allocations: 0 / 0.7415 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.2423, allocations: 24 kB / 0.7415 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.2423, allocations: 12 kB / 0.7415 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009933/0.2433, allocations: 427.7 kB / 0.7419 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.2462, allocations: 2.056 MB / 0.7439 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.2474, allocations: 499.9 kB / 0.7444 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/0.2479, allocations: 200.8 kB / 0.7446 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.2479, allocations: 4 kB / 0.7446 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006545/0.2486, allocations: 286.2 kB / 0.7449 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.2486, allocations: 0 / 0.7449 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.001465/0.25, allocations: 0.622 MB / 0.7455 GB, free: 208 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.433e-05/0.2501, allocations: 114.6 kB / 0.7456 GB, free: 68 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007836/0.2509, allocations: 0.6178 MB / 0.7462 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.251, allocations: 33.7 kB / 0.7462 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.2513, allocations: 357.3 kB / 0.7466 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/0.2514, allocations: 170.6 kB / 0.7467 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.2516, allocations: 98.3 kB / 0.7468 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.2517, allocations: 333.9 kB / 0.7471 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.2522, allocations: 179.4 kB / 0.7473 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.2527, allocations: 294 kB / 0.7476 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000918/0.2536, allocations: 477.9 kB / 0.748 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2536, allocations: 5.031 kB / 0.748 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001214/0.2548, allocations: 0.6103 MB / 0.7486 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/0.2549, allocations: 33.7 kB / 0.7487 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.2549, allocations: 4 kB / 0.7487 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.2549, allocations: 4 kB / 0.7487 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/0.2554, allocations: 112.1 kB / 0.7488 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.2554, allocations: 4 kB / 0.7488 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.2558, allocations: 63.64 kB / 0.7488 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.2558, allocations: 23.98 kB / 0.7489 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006011/0.2564, allocations: 309.4 kB / 0.7492 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004856/0.2569, allocations: 278 kB / 0.7494 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008557/0.2578, allocations: 453.9 kB / 0.7499 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.2578, allocations: 4 kB / 0.7499 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001332/0.2591, allocations: 0.5869 MB / 0.7504 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/0.2592, allocations: 37.69 kB / 0.7505 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2592, allocations: 4 kB / 0.7505 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.2592, allocations: 4 kB / 0.7505 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.2598, allocations: 95.89 kB / 0.7506 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.2598, allocations: 11.92 kB / 0.7506 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.2602, allocations: 63.91 kB / 0.7506 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.2602, allocations: 23.98 kB / 0.7507 GB, free: 10.62 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0002173/0.2604, allocations: 204.1 kB / 0.7509 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.2605, allocations: 83.42 kB / 0.7509 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.2607, allocations: 79.22 kB / 0.751 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2607, allocations: 4 kB / 0.751 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.2607, allocations: 4 kB / 0.751 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.2607, allocations: 3.984 kB / 0.751 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008042/0.2615, allocations: 0.6015 MB / 0.7516 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2615, allocations: 0 / 0.7516 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004638/0.262, allocations: 83.88 kB / 0.7517 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.262, allocations: 4 kB / 0.7517 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.262, allocations: 8 kB / 0.7517 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.262, allocations: 4 kB / 0.7517 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.262, allocations: 0 / 0.7517 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2636, allocations: 0.7485 MB / 0.7524 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.2638, allocations: 119.5 kB / 0.7526 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.961e-05/0.2639, allocations: 4 kB / 0.7526 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.2643, allocations: 39.95 kB / 0.7526 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.2645, allocations: 39.81 kB / 0.7526 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.2645, allocations: 19.98 kB / 0.7527 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006263/0.2652, allocations: 431 kB / 0.7531 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2652, allocations: 4 kB / 0.7531 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006085/0.2658, allocations: 211.5 kB / 0.7533 GB, free: 7.883 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.0001763/0.2659, allocations: 119.2 kB / 0.7534 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001719/0.2677, allocations: 0.7535 MB / 0.7541 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2677, allocations: 0 / 0.7541 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004663/0.2681, allocations: 204.5 kB / 0.7543 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.2691, allocations: 214.2 kB / 0.7545 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.2715, allocations: 1.231 MB / 0.7557 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.2721, allocations: 0.9103 MB / 0.7566 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.2723, allocations: 59.44 kB / 0.7567 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.2723, allocations: 0 / 0.7567 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of Templates: time 0.3993/0.6716, allocations: 8.805 MB / 0.7653 GB, free: 32.39 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.599911058088765] Failed to read output from testmodel.py, exit status != 0: 0.6797828131821007 0.6941739729999999 0.453584272 Calling exit ...