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.001725/0.001725, allocations: 100.4 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.002076/0.002076, allocations: 209.6 kB / 23.74 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.499/1.499, 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.9578/0.9578, allocations: 149.9 MB / 463.8 MB, free: 10.35 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.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.002073/0.002073, allocations: 62.66 kB / 0.6423 GB, free: 9.609 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1763, allocations: 89.17 MB / 0.7294 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PID): time 0.005514/0.1818, allocations: 3.031 MB / 0.7324 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.1859, allocations: 2.136 MB / 0.7345 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007524/0.1867, allocations: 23.88 kB / 0.7345 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.1873, allocations: 178.1 kB / 0.7347 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.1878, allocations: 150.6 kB / 0.7348 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001356/0.1892, allocations: 0.4979 MB / 0.7353 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001447/0.1906, allocations: 1.252 MB / 0.7365 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000674/0.1913, allocations: 402.3 kB / 0.7369 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.1918, allocations: 458.3 kB / 0.7373 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004665/0.1923, allocations: 433.5 kB / 0.7378 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.1924, allocations: 128 kB / 0.7379 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.1926, allocations: 144 kB / 0.738 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.1928, allocations: 251.2 kB / 0.7383 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.1932, allocations: 417.8 kB / 0.7387 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.1946, allocations: 1.443 MB / 0.7401 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1946, allocations: 0 / 0.7401 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1946, allocations: 0 / 0.7401 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.1946, allocations: 7.938 kB / 0.7401 GB, free: 5.539 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.002712/0.1973, allocations: 1.555 MB / 0.7416 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1974, allocations: 8.031 kB / 0.7416 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.1976, allocations: 132.1 kB / 0.7417 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.1985, allocations: 0.5388 MB / 0.7423 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.1986, allocations: 70.38 kB / 0.7423 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.1987, allocations: 96.33 kB / 0.7424 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.2004, allocations: 0.9896 MB / 0.7434 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.2004, allocations: 192 / 0.7434 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.2005, allocations: 39.94 kB / 0.7434 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.2005, allocations: 27.98 kB / 0.7434 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.2019, allocations: 0.6285 MB / 0.7441 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004538/0.2064, allocations: 2.509 MB / 0.7465 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.208, allocations: 0.6617 MB / 0.7472 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007238/0.2087, allocations: 350.5 kB / 0.7475 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.2087, allocations: 12.64 kB / 0.7475 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006946/0.2094, allocations: 344.4 kB / 0.7478 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 3.596e-06/0.2094, allocations: 0 / 0.7478 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.001833/0.2113, allocations: 0.8332 MB / 0.7486 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.2114, allocations: 188.6 kB / 0.7488 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00075/0.2122, allocations: 0.5811 MB / 0.7494 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.537e-05/0.2122, allocations: 41.7 kB / 0.7494 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003751/0.2126, allocations: 448.7 kB / 0.7499 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.2128, allocations: 249.8 kB / 0.7501 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.2131, allocations: 146.6 kB / 0.7502 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.2133, allocations: 386.7 kB / 0.7506 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.214, allocations: 330.4 kB / 0.7509 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.2151, allocations: 0.7509 MB / 0.7517 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.2164, allocations: 0.6735 MB / 0.7523 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.2164, allocations: 0 / 0.7523 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001939/0.2183, allocations: 0.9022 MB / 0.7532 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.2184, allocations: 34.08 kB / 0.7532 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.723e-05/0.2184, allocations: 8 kB / 0.7532 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.2185, allocations: 8 kB / 0.7532 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.2191, allocations: 167.7 kB / 0.7534 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.2191, allocations: 8 kB / 0.7534 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/0.2198, allocations: 131.4 kB / 0.7535 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.2198, allocations: 27.98 kB / 0.7536 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007277/0.2206, allocations: 423.8 kB / 0.754 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008012/0.2214, allocations: 0.6923 MB / 0.7546 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009121/0.2223, allocations: 0.5683 MB / 0.7552 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.458e-06/0.2223, allocations: 3.938 kB / 0.7552 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001394/0.2237, allocations: 0.7851 MB / 0.756 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.2237, allocations: 43.72 kB / 0.756 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2237, allocations: 0 / 0.756 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.2237, allocations: 8 kB / 0.756 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.2242, allocations: 135.8 kB / 0.7561 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2242, allocations: 7.938 kB / 0.7561 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.2248, allocations: 115.9 kB / 0.7563 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.2248, allocations: 35.98 kB / 0.7563 GB, free: 4.148 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.0002426/0.2251, allocations: 228 kB / 0.7565 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2252, allocations: 75.53 kB / 0.7566 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.2266, allocations: 0.6449 MB / 0.7572 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2266, allocations: 8 kB / 0.7572 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.2266, allocations: 3.984 kB / 0.7572 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2266, allocations: 0 / 0.7572 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00265/0.2292, allocations: 1.431 MB / 0.7586 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.2292, allocations: 4 kB / 0.7586 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.2298, allocations: 127.8 kB / 0.7587 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.2298, allocations: 11.94 kB / 0.7588 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.375e-05/0.2298, allocations: 23.92 kB / 0.7588 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.839e-06/0.2299, allocations: 12 kB / 0.7588 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.2299, allocations: 3.938 kB / 0.7588 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.2318, allocations: 1.076 MB / 0.7598 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.232, allocations: 91.39 kB / 0.7599 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.732e-05/0.2321, allocations: 27.86 kB / 0.76 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.2324, allocations: 43.95 kB / 0.76 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.2325, allocations: 44.42 kB / 0.76 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.2325, allocations: 23.98 kB / 0.7601 GB, free: 160 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.354/0.5866, allocations: 398 kB / 0.7604 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5866, allocations: 0 / 0.7604 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001356/0.5879, allocations: 345.2 kB / 0.7608 GB, free: 34.62 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.0002277/0.5882, allocations: 124.8 kB / 0.7609 GB, free: 34.53 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.5902, allocations: 1.122 MB / 0.762 GB, free: 34.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5902, allocations: 0.8438 kB / 0.762 GB, free: 34.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005677/0.5907, allocations: 306.8 kB / 0.7623 GB, free: 34.33 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009322/0.5917, allocations: 174.8 kB / 0.7625 GB, free: 34.33 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.5939, allocations: 1.539 MB / 0.764 GB, free: 33.59 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.5942, allocations: 387.2 kB / 0.7643 GB, free: 33.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.5944, allocations: 65.16 kB / 0.7644 GB, free: 33.47 MB / 0.5762 GB Notification: Performance of SimCode: time 1.011e-06/0.5944, allocations: 0 / 0.7644 GB, free: 33.47 MB / 0.5762 GB Notification: Performance of Templates: time 0.02093/0.6153, allocations: 10.14 MB / 0.7743 GB, free: 32.61 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: 9.523178266827017] Failed to read output from testmodel.py, exit status != 0: 0.6249258979223669 0.637420526 0.44012801599999996 Calling exit ...