Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.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.001952/0.001952, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002542/0.002542, allocations: 213.3 kB / 22.99 MB, free: 4.605 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.546/1.546, allocations: 230.6 MB / 256.7 MB, free: 7.793 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.9947/0.9947, allocations: 149.9 MB / 463 MB, free: 10.33 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.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale") [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.00213/0.00213, allocations: 69.86 kB / 0.6416 GB, free: 9.578 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2063, allocations: 89.18 MB / 0.7287 GB, free: 480 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003496/0.2098, allocations: 1.783 MB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002847/0.2127, allocations: 1.618 MB / 0.732 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2129, allocations: 11.94 kB / 0.732 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002877/0.2132, allocations: 83.06 kB / 0.7321 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.2134, allocations: 87.19 kB / 0.7322 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.2143, allocations: 322.7 kB / 0.7325 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008257/0.2151, allocations: 0.6842 MB / 0.7332 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.2156, allocations: 213.8 kB / 0.7334 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.216, allocations: 271 kB / 0.7336 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003701/0.2164, allocations: 250.5 kB / 0.7339 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2165, allocations: 76 kB / 0.7339 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.2166, allocations: 88 kB / 0.734 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.2168, allocations: 143.5 kB / 0.7342 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000287/0.2171, allocations: 242.8 kB / 0.7344 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.2183, allocations: 0.8403 MB / 0.7352 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.2183, allocations: 3.938 kB / 0.7352 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2183, allocations: 0 / 0.7352 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.741e-05/0.2183, allocations: 4 kB / 0.7352 GB, free: 9.754 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002354/0.2207, allocations: 1.041 MB / 0.7362 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.2207, allocations: 8.031 kB / 0.7362 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.2209, allocations: 76.52 kB / 0.7363 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006939/0.2216, allocations: 347 kB / 0.7366 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.2216, allocations: 49.36 kB / 0.7367 GB, free: 8.164 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.2217, allocations: 52.38 kB / 0.7367 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009053/0.2226, allocations: 0.5419 MB / 0.7373 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.2227, allocations: 192 / 0.7373 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.293e-05/0.2227, allocations: 23.94 kB / 0.7373 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.2227, allocations: 12 kB / 0.7373 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006959/0.2234, allocations: 347.8 kB / 0.7376 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002453/0.2259, allocations: 1.271 MB / 0.7389 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/0.2267, allocations: 396.4 kB / 0.7393 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.227, allocations: 210.3 kB / 0.7395 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.2271, allocations: 11.94 kB / 0.7395 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004825/0.2276, allocations: 245.6 kB / 0.7397 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.2276, allocations: 0 / 0.7397 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.001102/0.2287, allocations: 0.5261 MB / 0.7402 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.762e-05/0.2288, allocations: 111.2 kB / 0.7403 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.2292, allocations: 345.7 kB / 0.7407 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.607e-05/0.2292, allocations: 37.7 kB / 0.7407 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.2295, allocations: 261.2 kB / 0.7409 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.2296, allocations: 166.6 kB / 0.7411 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.2298, allocations: 102.1 kB / 0.7412 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.23, allocations: 354.8 kB / 0.7415 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.2304, allocations: 216.5 kB / 0.7417 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.231, allocations: 420.1 kB / 0.7421 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007795/0.2318, allocations: 435.4 kB / 0.7426 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2318, allocations: 0 / 0.7426 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001121/0.2329, allocations: 0.6006 MB / 0.7431 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.244e-05/0.233, allocations: 41.69 kB / 0.7432 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.233, allocations: 7.938 kB / 0.7432 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.233, allocations: 4 kB / 0.7432 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004088/0.2334, allocations: 91.83 kB / 0.7433 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.2334, allocations: 4 kB / 0.7433 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.2339, allocations: 79.84 kB / 0.7434 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.2339, allocations: 19.98 kB / 0.7434 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004963/0.2344, allocations: 314.8 kB / 0.7437 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00048/0.2349, allocations: 388.2 kB / 0.744 GB, free: 268 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006532/0.2356, allocations: 399.3 kB / 0.7444 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.114e-06/0.2356, allocations: 0 / 0.7444 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.0009661/0.2365, allocations: 0.5498 MB / 0.745 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.772e-05/0.2366, allocations: 37.7 kB / 0.745 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2366, allocations: 4 kB / 0.745 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.2366, allocations: 11.88 kB / 0.745 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.2369, allocations: 92.05 kB / 0.7451 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2369, allocations: 4 kB / 0.7451 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.2373, allocations: 71.69 kB / 0.7452 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.2373, allocations: 20 kB / 0.7452 GB, free: 15.04 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0002087/0.2375, allocations: 213.5 kB / 0.7454 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.169e-05/0.2376, allocations: 43.72 kB / 0.7454 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008616/0.2385, allocations: 437 kB / 0.7459 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2385, allocations: 4 kB / 0.7459 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.2385, allocations: 4 kB / 0.7459 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.2385, allocations: 4 kB / 0.7459 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.2402, allocations: 0.9718 MB / 0.7468 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2402, allocations: 0 / 0.7468 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.2406, allocations: 79.89 kB / 0.7469 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2406, allocations: 0 / 0.7469 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.2406, allocations: 16 kB / 0.7469 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.378e-05/0.2407, allocations: 7.984 kB / 0.7469 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2407, allocations: 0 / 0.7469 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.242, allocations: 0.7345 MB / 0.7476 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.242, allocations: 43.75 kB / 0.7477 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.2421, allocations: 16 kB / 0.7477 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2423, allocations: 20.06 kB / 0.7477 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.2424, allocations: 35.88 kB / 0.7477 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.2424, allocations: 27.92 kB / 0.7478 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002797/0.2427, allocations: 243.2 kB / 0.748 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5e-08/0.2427, allocations: 0 / 0.748 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006374/0.2433, allocations: 211.3 kB / 0.7482 GB, free: 11.84 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 4 ($whenCondition3,$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 (47): * Single equations (assignments): 46 * 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.0002054/0.2436, allocations: 111.2 kB / 0.7483 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.245, allocations: 0.7946 MB / 0.7491 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.245, allocations: 0 / 0.7491 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.2453, allocations: 176.8 kB / 0.7493 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006207/0.246, allocations: 104.7 kB / 0.7494 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.2477, allocations: 0.9479 MB / 0.7503 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.2479, allocations: 247 kB / 0.7505 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002124/0.2481, allocations: 59.19 kB / 0.7506 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2482, allocations: 35.44 kB / 0.7506 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.2482, allocations: 0 / 0.7506 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of Templates: time 0.01311/0.2614, allocations: 6.53 MB / 0.757 GB, free: 2.859 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.659478187561035] Failed to read output from testmodel.py, exit status != 0: 0.2705530412495136 0.641879847 0.42042424500000003 Calling exit ...