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.001374/0.001374, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.00147/0.00147, allocations: 210.3 kB / 23.75 MB, free: 4.539 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.481/1.481, allocations: 230.6 MB / 257.5 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.9944/0.9944, allocations: 149.9 MB / 463.8 MB, free: 10.33 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.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.002302/0.002302, allocations: 71.28 kB / 0.6423 GB, free: 9.582 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1779, allocations: 89.18 MB / 0.7294 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDScale): time 0.003808/0.1817, allocations: 1.803 MB / 0.7312 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002884/0.1846, allocations: 1.618 MB / 0.7328 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004043/0.185, allocations: 11.94 kB / 0.7328 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.1853, allocations: 87 kB / 0.7329 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.1857, allocations: 83.19 kB / 0.733 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009665/0.1867, allocations: 322.4 kB / 0.7333 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009343/0.1876, allocations: 0.6764 MB / 0.7339 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.1881, allocations: 221.8 kB / 0.7341 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.1885, allocations: 271 kB / 0.7344 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003894/0.1888, allocations: 242.6 kB / 0.7346 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.189, allocations: 80 kB / 0.7347 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.1892, allocations: 87.98 kB / 0.7348 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.1893, allocations: 139.5 kB / 0.7349 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002958/0.1896, allocations: 246.8 kB / 0.7352 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.1906, allocations: 0.8364 MB / 0.736 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.1906, allocations: 8 kB / 0.736 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1906, allocations: 0 / 0.736 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.752e-05/0.1907, allocations: 0 / 0.736 GB, free: 9.746 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.002058/0.1927, allocations: 1.034 MB / 0.737 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1928, allocations: 8.031 kB / 0.737 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.1929, allocations: 72.52 kB / 0.7371 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.1936, allocations: 351 kB / 0.7374 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.942e-05/0.1936, allocations: 45.38 kB / 0.7374 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.059e-05/0.1937, allocations: 56.38 kB / 0.7375 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.1946, allocations: 0.538 MB / 0.738 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1947, allocations: 192 / 0.738 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.1947, allocations: 23.94 kB / 0.738 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.1947, allocations: 12 kB / 0.7381 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007313/0.1954, allocations: 351.8 kB / 0.7384 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/0.1978, allocations: 1.275 MB / 0.7396 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.1987, allocations: 400.9 kB / 0.74 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004026/0.1991, allocations: 210.3 kB / 0.7402 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.1991, allocations: 4 kB / 0.7402 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004843/0.1996, allocations: 245.6 kB / 0.7405 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.334e-06/0.1996, allocations: 4 kB / 0.7405 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47): time 0.001157/0.2007, allocations: 0.5222 MB / 0.741 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/0.2008, allocations: 111.2 kB / 0.7411 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.2013, allocations: 345.7 kB / 0.7414 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.2013, allocations: 37.7 kB / 0.7414 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.2016, allocations: 265.2 kB / 0.7417 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2017, allocations: 166.6 kB / 0.7419 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.2019, allocations: 106.1 kB / 0.742 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2021, allocations: 354.8 kB / 0.7423 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004727/0.2026, allocations: 212.5 kB / 0.7425 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006145/0.2032, allocations: 416.1 kB / 0.7429 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.204, allocations: 435.3 kB / 0.7433 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/0.204, allocations: 4 kB / 0.7433 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00123/0.2052, allocations: 0.6005 MB / 0.7439 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.2053, allocations: 33.69 kB / 0.7439 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2053, allocations: 7.938 kB / 0.7439 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.2053, allocations: 4 kB / 0.7439 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/0.2057, allocations: 99.81 kB / 0.744 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2057, allocations: 4 kB / 0.744 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.2061, allocations: 75.95 kB / 0.7441 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.2062, allocations: 23.98 kB / 0.7441 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005018/0.2067, allocations: 314.8 kB / 0.7444 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004923/0.2072, allocations: 392.1 kB / 0.7448 GB, free: 260 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006357/0.2078, allocations: 391.4 kB / 0.7452 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.2078, allocations: 0 / 0.7452 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization_lambda0): time 0.000982/0.2088, allocations: 0.5537 MB / 0.7457 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.2088, allocations: 37.92 kB / 0.7458 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2088, allocations: 8 kB / 0.7458 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2088, allocations: 7.938 kB / 0.7458 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.2092, allocations: 91.89 kB / 0.7459 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2092, allocations: 7.938 kB / 0.7459 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.2095, allocations: 71.69 kB / 0.7459 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.2096, allocations: 19.98 kB / 0.746 GB, free: 15.03 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.0001952/0.2098, allocations: 212.2 kB / 0.7462 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.546e-05/0.2098, allocations: 43.72 kB / 0.7462 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008377/0.2107, allocations: 437 kB / 0.7466 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2107, allocations: 4 kB / 0.7466 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2107, allocations: 3.938 kB / 0.7466 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.2107, allocations: 4.078 kB / 0.7466 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.2124, allocations: 0.964 MB / 0.7476 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2124, allocations: 0 / 0.7476 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.2127, allocations: 87.83 kB / 0.7477 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.2127, allocations: 4 kB / 0.7477 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.2128, allocations: 20.17 kB / 0.7477 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.2128, allocations: 4 kB / 0.7477 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2128, allocations: 0 / 0.7477 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.214, allocations: 0.738 MB / 0.7484 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.2141, allocations: 43.77 kB / 0.7484 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.2141, allocations: 15.98 kB / 0.7485 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.2143, allocations: 23.98 kB / 0.7485 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.2144, allocations: 35.88 kB / 0.7485 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.2144, allocations: 16 kB / 0.7485 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002866/0.2147, allocations: 239.2 kB / 0.7488 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2147, allocations: 0 / 0.7488 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006706/0.2154, allocations: 215.3 kB / 0.749 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.0002007/0.2156, allocations: 119.1 kB / 0.7491 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.217, allocations: 0.7868 MB / 0.7498 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.217, allocations: 0 / 0.7498 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.2174, allocations: 197 kB / 0.75 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000593/0.218, allocations: 87.42 kB / 0.7501 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.2199, allocations: 0.9809 MB / 0.7511 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2202, allocations: 247 kB / 0.7513 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.2203, allocations: 43.42 kB / 0.7514 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.2203, allocations: 0 / 0.7514 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of Templates: time 0.00993/0.2302, allocations: 5.981 MB / 0.7572 GB, free: 3.309 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: 8.757497610058635] Failed to read output from testmodel.py, exit status != 0: 0.23953240411356091 0.517988412 0.32431294400000005 Calling exit ...