Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.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.001406/0.001406, allocations: 119.2 kB / 17.13 MB, free: 5.941 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.001591/0.001591, allocations: 212.3 kB / 20.09 MB, free: 2.992 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 / 253.5 MB, free: 15.09 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 1.013/1.013, allocations: 150 MB / 459.5 MB, free: 5.281 MB / 350.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.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID") [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.001999/0.001999, allocations: 69.91 kB / 0.6366 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2017, allocations: 89.14 MB / 0.7237 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PID): time 0.007643/0.2094, allocations: 3.603 MB / 0.7272 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005088/0.2145, allocations: 2.171 MB / 0.7293 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007139/0.2152, allocations: 27.88 kB / 0.7294 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.2158, allocations: 182 kB / 0.7295 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.2163, allocations: 142.7 kB / 0.7297 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.2178, allocations: 0.4975 MB / 0.7301 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001676/0.2195, allocations: 1.248 MB / 0.7314 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000943/0.2205, allocations: 433.8 kB / 0.7318 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.2211, allocations: 462.2 kB / 0.7322 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006658/0.2218, allocations: 485.5 kB / 0.7327 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.222, allocations: 128 kB / 0.7328 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.2223, allocations: 148 kB / 0.7329 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002729/0.2225, allocations: 259.1 kB / 0.7332 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005775/0.2231, allocations: 0.5012 MB / 0.7337 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/0.225, allocations: 1.431 MB / 0.7351 GB, free: 7.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.225, allocations: 8 kB / 0.7351 GB, free: 7.766 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.116e-06/0.225, allocations: 0 / 0.7351 GB, free: 7.766 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.225, allocations: 0 / 0.7351 GB, free: 7.766 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003244/0.2283, allocations: 1.398 MB / 0.7365 GB, free: 6.301 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.2283, allocations: 11.97 kB / 0.7365 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.2286, allocations: 124.2 kB / 0.7366 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.2299, allocations: 0.603 MB / 0.7372 GB, free: 5.527 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.272e-05/0.23, allocations: 70.38 kB / 0.7372 GB, free: 5.457 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.2302, allocations: 96.36 kB / 0.7373 GB, free: 5.363 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.2323, allocations: 0.8602 MB / 0.7382 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.2323, allocations: 192 / 0.7382 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.2324, allocations: 43.94 kB / 0.7382 GB, free: 4.438 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.2324, allocations: 24 kB / 0.7382 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.2344, allocations: 0.6401 MB / 0.7389 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006162/0.2405, allocations: 2.977 MB / 0.7418 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.2428, allocations: 0.6402 MB / 0.7424 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.2438, allocations: 347.8 kB / 0.7427 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.947e-05/0.2439, allocations: 12.55 kB / 0.7427 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.2449, allocations: 347 kB / 0.7431 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=68): time 4.469e-06/0.2449, allocations: 3.938 kB / 0.7431 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68): time 0.002812/0.2478, allocations: 0.8342 MB / 0.7439 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002494/0.248, allocations: 192.5 kB / 0.7441 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.2495, allocations: 0.6763 MB / 0.7447 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.2496, allocations: 41.7 kB / 0.7448 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006391/0.2502, allocations: 440.5 kB / 0.7452 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.2506, allocations: 237.9 kB / 0.7454 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004398/0.251, allocations: 150.6 kB / 0.7456 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.2513, allocations: 337.9 kB / 0.7459 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001121/0.2524, allocations: 300.7 kB / 0.7462 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.2537, allocations: 474.2 kB / 0.7466 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/0.2557, allocations: 0.6731 MB / 0.7473 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.2557, allocations: 4 kB / 0.7473 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002888/0.2586, allocations: 0.889 MB / 0.7482 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.892e-05/0.2586, allocations: 37.7 kB / 0.7482 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.2587, allocations: 4 kB / 0.7482 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.878e-05/0.2587, allocations: 8 kB / 0.7482 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009255/0.2596, allocations: 159.8 kB / 0.7484 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.852e-05/0.2597, allocations: 12.03 kB / 0.7484 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.2607, allocations: 139.3 kB / 0.7485 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.2608, allocations: 35.92 kB / 0.7485 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009944/0.2618, allocations: 398 kB / 0.7489 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008988/0.2627, allocations: 421.3 kB / 0.7493 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001414/0.2641, allocations: 0.5677 MB / 0.7499 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.837e-05/0.2641, allocations: 4 kB / 0.7499 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.002036/0.2662, allocations: 0.764 MB / 0.7506 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.609e-05/0.2662, allocations: 43.25 kB / 0.7507 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2662, allocations: 7.938 kB / 0.7507 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2663, allocations: 8 kB / 0.7507 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007435/0.267, allocations: 136.1 kB / 0.7508 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.267, allocations: 12 kB / 0.7508 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009243/0.2679, allocations: 111.5 kB / 0.7509 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.2681, allocations: 35.98 kB / 0.751 GB, free: 6.895 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0004047/0.2685, allocations: 232.8 kB / 0.7512 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.2687, allocations: 87.44 kB / 0.7513 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.2707, allocations: 0.6516 MB / 0.7519 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.2707, allocations: 15.94 kB / 0.7519 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.2707, allocations: 0 / 0.7519 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.2708, allocations: 3.984 kB / 0.7519 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004033/0.2748, allocations: 1.663 MB / 0.7535 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/0.2748, allocations: 8.219 kB / 0.7535 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.2756, allocations: 131.8 kB / 0.7537 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.2756, allocations: 4 kB / 0.7537 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.2757, allocations: 27.92 kB / 0.7537 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/0.2757, allocations: 4 kB / 0.7537 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.2757, allocations: 4 kB / 0.7537 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002852/0.2786, allocations: 1.089 MB / 0.7548 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.2789, allocations: 172.4 kB / 0.7549 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.279, allocations: 27.98 kB / 0.755 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.2796, allocations: 43.95 kB / 0.755 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.2797, allocations: 40.45 kB / 0.755 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.2798, allocations: 23.98 kB / 0.7551 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001035/0.2808, allocations: 487 kB / 0.7555 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2808, allocations: 4 kB / 0.7555 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001605/0.2824, allocations: 327.1 kB / 0.7558 GB, free: 1.719 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000348/0.2828, allocations: 119.1 kB / 0.756 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003454/0.2862, allocations: 1.066 MB / 0.757 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.2862, allocations: 448 / 0.757 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008838/0.2871, allocations: 287 kB / 0.7573 GB, free: 236 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.2887, allocations: 187 kB / 0.7575 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.2928, allocations: 1.519 MB / 0.7589 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009391/0.2938, allocations: 0.9782 MB / 0.7599 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006442/0.2944, allocations: 97.91 kB / 0.76 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.2947, allocations: 63.42 kB / 0.76 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of SimCode: time 2.034e-06/0.2947, allocations: 0 / 0.76 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.029/0.3237, allocations: 9.896 MB / 0.7697 GB, free: 3.508 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.533851123880595] Failed to read output from testmodel.py, exit status != 0: 0.3330666399560869 0.35271924600000004 0.12397808900000001 Calling exit ...