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.001387/0.001387, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001855/0.001855, allocations: 224.2 kB / 23.01 MB, free: 5.043 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.586/1.586, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.9889/0.9889, allocations: 150 MB / 463.1 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 178] 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.002267/0.002267, allocations: 67.92 kB / 0.6418 GB, free: 9.875 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2085, allocations: 89.16 MB / 0.7289 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PID): time 0.005708/0.2142, allocations: 3.626 MB / 0.7324 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00394/0.2182, allocations: 2.155 MB / 0.7345 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005338/0.2187, allocations: 27.88 kB / 0.7345 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004721/0.2192, allocations: 174.1 kB / 0.7347 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003698/0.2196, allocations: 154.6 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2207, allocations: 0.5275 MB / 0.7354 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2221, allocations: 1.245 MB / 0.7366 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007049/0.2228, allocations: 438.2 kB / 0.737 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000505/0.2233, allocations: 466.2 kB / 0.7374 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005377/0.2238, allocations: 481.6 kB / 0.7379 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.224, allocations: 128 kB / 0.738 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.2242, allocations: 152 kB / 0.7382 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.2244, allocations: 259 kB / 0.7384 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.2249, allocations: 0.5051 MB / 0.7389 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.2263, allocations: 1.431 MB / 0.7403 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2263, allocations: 4 kB / 0.7403 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2263, allocations: 0 / 0.7403 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.534e-05/0.2263, allocations: 0 / 0.7403 GB, free: 4.98 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002803/0.2291, allocations: 1.555 MB / 0.7418 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2292, allocations: 12.03 kB / 0.7418 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.2294, allocations: 124.2 kB / 0.742 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009538/0.2303, allocations: 0.5387 MB / 0.7425 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.138e-05/0.2304, allocations: 74.38 kB / 0.7426 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.2306, allocations: 96.33 kB / 0.7426 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.2321, allocations: 0.8602 MB / 0.7435 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.2321, allocations: 4.125 kB / 0.7435 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.203e-05/0.2322, allocations: 43.92 kB / 0.7435 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.2322, allocations: 24 kB / 0.7436 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.2335, allocations: 0.6324 MB / 0.7442 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.2381, allocations: 2.906 MB / 0.747 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.2396, allocations: 0.645 MB / 0.7476 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.2403, allocations: 354.4 kB / 0.748 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.497e-05/0.2403, allocations: 12.95 kB / 0.748 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007005/0.241, allocations: 348.3 kB / 0.7483 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.615e-06/0.241, allocations: 0 / 0.7483 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.001826/0.2429, allocations: 0.8293 MB / 0.7491 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.243, allocations: 196.5 kB / 0.7493 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/0.2439, allocations: 0.6879 MB / 0.75 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/0.244, allocations: 41.7 kB / 0.75 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003765/0.2444, allocations: 432.6 kB / 0.7504 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.2446, allocations: 245.9 kB / 0.7507 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.2448, allocations: 142.7 kB / 0.7508 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.245, allocations: 341.8 kB / 0.7511 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.2457, allocations: 296.7 kB / 0.7514 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008316/0.2465, allocations: 478.2 kB / 0.7519 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.2478, allocations: 0.6735 MB / 0.7525 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2478, allocations: 96 / 0.7525 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001801/0.2496, allocations: 0.8847 MB / 0.7534 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.2497, allocations: 45.69 kB / 0.7534 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.2497, allocations: 0 / 0.7534 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.2497, allocations: 8.375 kB / 0.7535 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.2503, allocations: 159.8 kB / 0.7536 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.2503, allocations: 11.94 kB / 0.7536 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006187/0.251, allocations: 143.3 kB / 0.7538 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.251, allocations: 31.98 kB / 0.7538 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007128/0.2517, allocations: 398 kB / 0.7542 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006343/0.2524, allocations: 410.3 kB / 0.7546 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009008/0.2533, allocations: 0.5681 MB / 0.7551 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.534e-05/0.2533, allocations: 7.984 kB / 0.7551 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.00135/0.2546, allocations: 0.756 MB / 0.7559 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.2547, allocations: 41.69 kB / 0.7559 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2547, allocations: 4.375 kB / 0.7559 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.2547, allocations: 8 kB / 0.7559 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.2552, allocations: 139.8 kB / 0.756 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2552, allocations: 11.94 kB / 0.756 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.2558, allocations: 115.5 kB / 0.7562 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-05/0.2558, allocations: 24 kB / 0.7562 GB, free: 4.121 MB / 0.5762 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.0002774/0.2561, allocations: 234.9 kB / 0.7564 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.2562, allocations: 87.42 kB / 0.7565 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.2576, allocations: 0.6537 MB / 0.7571 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2576, allocations: 8 kB / 0.7571 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2576, allocations: 0 / 0.7571 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.2576, allocations: 3.984 kB / 0.7571 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/0.2604, allocations: 1.641 MB / 0.7587 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.2604, allocations: 3.938 kB / 0.7587 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/0.2609, allocations: 131.8 kB / 0.7589 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.2609, allocations: 4 kB / 0.7589 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.261, allocations: 16 kB / 0.7589 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.261, allocations: 11.92 kB / 0.7589 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.261, allocations: 4 kB / 0.7589 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.2629, allocations: 1.096 MB / 0.76 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.2631, allocations: 99.28 kB / 0.7601 GB, free: 0 / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.4879/0.751, allocations: 14.39 kB / 0.7601 GB, free: 34.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.7515, allocations: 46.28 kB / 0.7601 GB, free: 34.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.7516, allocations: 47.09 kB / 0.7602 GB, free: 34.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/0.7517, allocations: 20.5 kB / 0.7602 GB, free: 34.35 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006732/0.7523, allocations: 486.9 kB / 0.7607 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7523, allocations: 0 / 0.7607 GB, free: 34.25 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001044/0.7534, allocations: 325.5 kB / 0.761 GB, free: 34.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (noLimPID.D.x,noLimPID.I.y,limPD.D.x,limPI.I.y,limPID.D.x,limPID.I.y) * 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.0002298/0.7536, allocations: 131.4 kB / 0.7611 GB, free: 34.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002056/0.7557, allocations: 1.061 MB / 0.7621 GB, free: 34.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.7557, allocations: 2.125 kB / 0.7621 GB, free: 34.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005222/0.7562, allocations: 290.4 kB / 0.7624 GB, free: 34.04 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00094/0.7571, allocations: 181.4 kB / 0.7626 GB, free: 34.04 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.7596, allocations: 1.516 MB / 0.7641 GB, free: 33.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004441/0.76, allocations: 0.9744 MB / 0.765 GB, free: 32.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000387/0.7604, allocations: 101.8 kB / 0.7651 GB, free: 32.62 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.7606, allocations: 65.38 kB / 0.7652 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of SimCode: time 2.044e-06/0.7606, allocations: 0 / 0.7652 GB, free: 32.61 MB / 0.5762 GB Notification: Performance of Templates: time 0.03152/0.7921, allocations: 10.22 MB / 0.7752 GB, free: 32.12 MB / 0.5762 GB " [Timeout remaining time 659] 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: 7.104805790819228] Failed to read output from testmodel.py, exit status != 0: 0.8032180871814489 0.815930644 0.586598219 Calling exit ...