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.001901/0.001901, allocations: 70.81 kB / 20.51 MB, free: 1.285 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.002226/0.002226, allocations: 160.8 kB / 23.76 MB, free: 4.469 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.52/1.52, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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.9181/0.9181, allocations: 113.9 MB / 374.5 MB, free: 12.88 MB / 350.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: 67.33 kB / 0.5551 GB, free: 2.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1742, allocations: 89.16 MB / 0.6421 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PID): time 0.005026/0.1792, allocations: 3.02 MB / 0.6451 GB, free: 6.449 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003661/0.1829, allocations: 2.132 MB / 0.6472 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.1833, allocations: 31.81 kB / 0.6472 GB, free: 4.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.1837, allocations: 178 kB / 0.6474 GB, free: 4.094 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1841, allocations: 146.6 kB / 0.6475 GB, free: 3.949 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1853, allocations: 0.5079 MB / 0.648 GB, free: 3.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1866, allocations: 1.245 MB / 0.6492 GB, free: 2.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006753/0.1873, allocations: 402.3 kB / 0.6496 GB, free: 1.781 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005173/0.1878, allocations: 466.2 kB / 0.6501 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.1883, allocations: 425.5 kB / 0.6505 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.1885, allocations: 128 kB / 0.6506 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.1887, allocations: 136 kB / 0.6507 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.1889, allocations: 255.2 kB / 0.651 GB, free: 408 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004138/0.1893, allocations: 413.8 kB / 0.6514 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.1908, allocations: 1.447 MB / 0.6528 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1908, allocations: 0 / 0.6528 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.196e-06/0.1908, allocations: 4 kB / 0.6528 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.1908, allocations: 3.938 kB / 0.6528 GB, free: 14.53 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.002769/0.1936, allocations: 1.563 MB / 0.6543 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1936, allocations: 12.03 kB / 0.6543 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.1938, allocations: 120.2 kB / 0.6544 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009581/0.1948, allocations: 0.5349 MB / 0.655 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.421e-05/0.1949, allocations: 70.38 kB / 0.655 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.195, allocations: 96.33 kB / 0.6551 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.1966, allocations: 0.9896 MB / 0.6561 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1966, allocations: 192 / 0.6561 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.1967, allocations: 43.94 kB / 0.6561 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.1967, allocations: 27.94 kB / 0.6561 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.1982, allocations: 0.6362 MB / 0.6568 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004462/0.2026, allocations: 2.51 MB / 0.6592 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.2043, allocations: 0.6572 MB / 0.6599 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/0.2049, allocations: 342.5 kB / 0.6602 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.205, allocations: 12.64 kB / 0.6602 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007286/0.2057, allocations: 352.3 kB / 0.6605 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=68): time 2.575e-06/0.2057, allocations: 7.938 kB / 0.6605 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=68): time 0.001941/0.2077, allocations: 0.8254 MB / 0.6613 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.2078, allocations: 188.6 kB / 0.6615 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.2085, allocations: 0.5811 MB / 0.6621 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.2086, allocations: 41.7 kB / 0.6621 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.209, allocations: 444.5 kB / 0.6626 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.2092, allocations: 249.9 kB / 0.6628 GB, free: 3.949 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.2095, allocations: 150.6 kB / 0.6629 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.2097, allocations: 386.7 kB / 0.6633 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/0.2104, allocations: 330.3 kB / 0.6636 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.2115, allocations: 0.7509 MB / 0.6644 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.213, allocations: 0.6735 MB / 0.665 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.213, allocations: 0 / 0.665 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001963/0.2149, allocations: 0.9064 MB / 0.6659 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.215, allocations: 33.7 kB / 0.6659 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.215, allocations: 4 kB / 0.6659 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.215, allocations: 8 kB / 0.6659 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/0.2157, allocations: 167.7 kB / 0.6661 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.377e-05/0.2157, allocations: 8 kB / 0.6661 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006803/0.2164, allocations: 127.5 kB / 0.6662 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.726e-05/0.2165, allocations: 35.97 kB / 0.6663 GB, free: 160 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007739/0.2172, allocations: 419.8 kB / 0.6667 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008559/0.2181, allocations: 0.6923 MB / 0.6673 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000921/0.219, allocations: 0.5683 MB / 0.6679 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.07e-06/0.219, allocations: 3.938 kB / 0.6679 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001371/0.2204, allocations: 0.7851 MB / 0.6687 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.2204, allocations: 41.69 kB / 0.6687 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2204, allocations: 4 kB / 0.6687 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.2204, allocations: 4.375 kB / 0.6687 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.221, allocations: 143.8 kB / 0.6689 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.221, allocations: 8 kB / 0.6689 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005721/0.2216, allocations: 111.5 kB / 0.669 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.2216, allocations: 35.98 kB / 0.669 GB, free: 13.13 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.0002366/0.2219, allocations: 232 kB / 0.6692 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.222, allocations: 75.53 kB / 0.6693 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.2234, allocations: 0.6372 MB / 0.6699 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.2234, allocations: 11.94 kB / 0.6699 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.2234, allocations: 7.984 kB / 0.6699 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2234, allocations: 0 / 0.6699 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.2261, allocations: 1.431 MB / 0.6713 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2261, allocations: 0 / 0.6713 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.2266, allocations: 135.8 kB / 0.6715 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.2267, allocations: 8 kB / 0.6715 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.2267, allocations: 27.92 kB / 0.6715 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/0.2267, allocations: 8.219 kB / 0.6715 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.2267, allocations: 4 kB / 0.6715 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.2287, allocations: 1.08 MB / 0.6726 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.2289, allocations: 83.41 kB / 0.6726 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.2289, allocations: 23.92 kB / 0.6727 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003773/0.2293, allocations: 43.95 kB / 0.6727 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.2294, allocations: 48.42 kB / 0.6728 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.2295, allocations: 20 kB / 0.6728 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005451/0.23, allocations: 402.8 kB / 0.6732 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.23, allocations: 0 / 0.6732 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001004/0.231, allocations: 354.8 kB / 0.6735 GB, free: 8.41 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.0002295/0.2312, allocations: 119.1 kB / 0.6736 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002265/0.2335, allocations: 1.128 MB / 0.6747 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.2335, allocations: 4.422 kB / 0.6747 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.2341, allocations: 290.6 kB / 0.675 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009547/0.235, allocations: 177.3 kB / 0.6752 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.2378, allocations: 1.499 MB / 0.6766 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.2382, allocations: 388.4 kB / 0.677 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003604/0.2386, allocations: 93.3 kB / 0.6771 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.2388, allocations: 60.48 kB / 0.6771 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/0.2388, allocations: 0 / 0.6771 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of Templates: time 0.0194/0.2582, allocations: 9.883 MB / 0.6868 GB, free: 10.84 MB / 0.5919 GB " [Timeout remaining time 660] 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 ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.110332570970058] Failed to read output from testmodel.py, exit status != 0: 0.2674838179955259 0.554004461 0.35999251200000004 Calling exit ...