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.001309/0.001309, allocations: 103.8 kB / 20.49 MB, free: 1.32 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.001459/0.001459, allocations: 215.5 kB / 23.79 MB, free: 4.465 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.4/1.4, allocations: 230.6 MB / 257.6 MB, free: 7.734 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.9334/0.9334, allocations: 150 MB / 464 MB, free: 10.64 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.001987/0.001987, allocations: 79.69 kB / 0.6426 GB, free: 9.387 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1754, allocations: 89.16 MB / 0.7296 GB, free: 304 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PID): time 0.004787/0.1802, allocations: 3.039 MB / 0.7326 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003863/0.184, allocations: 2.14 MB / 0.7347 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003693/0.1844, allocations: 23.88 kB / 0.7347 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004639/0.1849, allocations: 178 kB / 0.7349 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.1852, allocations: 146.7 kB / 0.735 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1864, allocations: 0.5015 MB / 0.7355 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.1877, allocations: 1.241 MB / 0.7367 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006572/0.1883, allocations: 410.3 kB / 0.7371 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.1888, allocations: 458.2 kB / 0.7375 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.1892, allocations: 429.5 kB / 0.738 GB, free: 7.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.1894, allocations: 128 kB / 0.7381 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.1896, allocations: 144 kB / 0.7382 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.1898, allocations: 259.1 kB / 0.7385 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003611/0.1902, allocations: 409.8 kB / 0.7389 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.1916, allocations: 1.447 MB / 0.7403 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1916, allocations: 0 / 0.7403 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1916, allocations: 0 / 0.7403 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.1916, allocations: 0 / 0.7403 GB, free: 5.332 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.002648/0.1943, allocations: 1.563 MB / 0.7418 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1943, allocations: 8.031 kB / 0.7418 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.1945, allocations: 124.2 kB / 0.7419 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009135/0.1954, allocations: 0.5426 MB / 0.7424 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.1955, allocations: 66.38 kB / 0.7425 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.1956, allocations: 100.3 kB / 0.7426 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.1972, allocations: 0.9857 MB / 0.7436 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.1972, allocations: 192 / 0.7436 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.1973, allocations: 39.94 kB / 0.7436 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.025e-05/0.1973, allocations: 27.98 kB / 0.7436 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.1986, allocations: 0.6362 MB / 0.7443 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004037/0.2026, allocations: 2.505 MB / 0.7467 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.204, allocations: 0.6569 MB / 0.7473 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.2047, allocations: 350.5 kB / 0.7477 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.2047, allocations: 12.59 kB / 0.7477 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006797/0.2054, allocations: 352.3 kB / 0.748 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.885e-06/0.2054, allocations: 0 / 0.748 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.001693/0.2071, allocations: 0.8254 MB / 0.7488 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.2072, allocations: 196.6 kB / 0.749 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007149/0.2079, allocations: 0.5772 MB / 0.7496 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.208, allocations: 41.69 kB / 0.7496 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.2083, allocations: 453.6 kB / 0.7501 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.2085, allocations: 241.9 kB / 0.7503 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.2088, allocations: 150.6 kB / 0.7504 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.209, allocations: 386.7 kB / 0.7508 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/0.2097, allocations: 326.4 kB / 0.7511 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.2107, allocations: 0.747 MB / 0.7518 GB, free: 9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.2119, allocations: 0.6735 MB / 0.7525 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.212, allocations: 4 kB / 0.7525 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001762/0.2137, allocations: 0.9021 MB / 0.7534 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.2138, allocations: 37.69 kB / 0.7534 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2138, allocations: 4 kB / 0.7534 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.2138, allocations: 4.375 kB / 0.7534 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.2144, allocations: 167.8 kB / 0.7536 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2145, allocations: 4 kB / 0.7536 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006273/0.2151, allocations: 135.4 kB / 0.7537 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.2151, allocations: 31.98 kB / 0.7538 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007561/0.2159, allocations: 431.7 kB / 0.7542 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007937/0.2167, allocations: 0.6846 MB / 0.7548 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008847/0.2176, allocations: 0.5603 MB / 0.7554 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.909e-06/0.2176, allocations: 7.938 kB / 0.7554 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001399/0.219, allocations: 0.7815 MB / 0.7561 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.219, allocations: 41.69 kB / 0.7562 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.219, allocations: 7.938 kB / 0.7562 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.219, allocations: 11.98 kB / 0.7562 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004951/0.2195, allocations: 131.8 kB / 0.7563 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2195, allocations: 11.92 kB / 0.7563 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.2201, allocations: 119.6 kB / 0.7565 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/0.2201, allocations: 28 kB / 0.7565 GB, free: 3.949 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.0002613/0.2204, allocations: 239.9 kB / 0.7567 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.673e-05/0.2205, allocations: 71.53 kB / 0.7568 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.2218, allocations: 0.645 MB / 0.7574 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2218, allocations: 8 kB / 0.7574 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2218, allocations: 0 / 0.7574 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.2218, allocations: 4.172 kB / 0.7574 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/0.2242, allocations: 1.431 MB / 0.7588 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.2242, allocations: 7.938 kB / 0.7588 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.2248, allocations: 136.1 kB / 0.759 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.2248, allocations: 4 kB / 0.759 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.2248, allocations: 23.94 kB / 0.759 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.2248, allocations: 4 kB / 0.759 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.2248, allocations: 4 kB / 0.759 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.2268, allocations: 1.08 MB / 0.76 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.2269, allocations: 87.41 kB / 0.7601 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.903e-05/0.227, allocations: 19.94 kB / 0.7601 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.2274, allocations: 47.95 kB / 0.7602 GB, free: 24 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3549/0.5823, allocations: 47.06 kB / 0.7602 GB, free: 34.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.429e-05/0.5824, allocations: 24.77 kB / 0.7603 GB, free: 34.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005091/0.5829, allocations: 400.1 kB / 0.7606 GB, free: 34.55 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5829, allocations: 0 / 0.7606 GB, free: 34.55 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009505/0.5839, allocations: 346.4 kB / 0.761 GB, free: 34.55 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.0001698/0.584, allocations: 119 kB / 0.7611 GB, free: 34.46 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.5858, allocations: 1.125 MB / 0.7622 GB, free: 34.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.5858, allocations: 0 / 0.7622 GB, free: 34.28 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.5863, allocations: 292.4 kB / 0.7625 GB, free: 34.28 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.5871, allocations: 178.2 kB / 0.7626 GB, free: 34.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.5893, allocations: 1.502 MB / 0.7641 GB, free: 33.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.5896, allocations: 386.6 kB / 0.7645 GB, free: 33.46 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003381/0.59, allocations: 93.7 kB / 0.7646 GB, free: 33.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.5901, allocations: 61.78 kB / 0.7646 GB, free: 33.44 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.5901, allocations: 3.75 kB / 0.7646 GB, free: 33.44 MB / 0.5762 GB Notification: Performance of Templates: time 0.01994/0.6101, allocations: 10.61 MB / 0.775 GB, free: 32.42 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.102372756227851] Failed to read output from testmodel.py, exit status != 0: 0.618543348973617 0.6288213899999999 0.43480326 Calling exit ...