Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001293/0.001293, allocations: 82.72 kB / 19.94 MB, free: 1.781 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.00141/0.00141, allocations: 163.8 kB / 23.21 MB, free: 4.902 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.394/1.394, allocations: 177.1 MB / 203.5 MB, free: 9.172 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.9065/0.9065, allocations: 114 MB / 373.9 MB, free: 13.27 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.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.5546 GB, free: 2.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.063e-05, allocations: 2.281 kB / 0.5546 GB, free: 2.688 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002265/0.002296, allocations: 1.282 MB / 0.5559 GB, free: 1.406 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.1663/0.1686, allocations: 129.1 MB / 0.682 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.1686, allocations: 3.938 kB / 0.682 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.77e-05/0.1687, allocations: 0 / 0.682 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.1687, allocations: 0 / 0.682 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1692, allocations: 99.38 kB / 0.6821 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.979e-05/0.1693, allocations: 35.84 kB / 0.6821 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.753e-05/0.1693, allocations: 7.984 kB / 0.6821 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 6.513e-05/0.1694, allocations: 19.98 kB / 0.6821 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.031e-05/0.1695, allocations: 15.91 kB / 0.6821 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1695, allocations: 4 kB / 0.6821 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.1697, allocations: 75.77 kB / 0.6822 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.97e-05/0.1698, allocations: 11.97 kB / 0.6822 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.1698, allocations: 8 kB / 0.6822 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.17, allocations: 75.73 kB / 0.6823 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.17, allocations: 0 / 0.6823 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.17, allocations: 0 / 0.6823 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.17, allocations: 8 kB / 0.6823 GB, free: 15.46 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004343/0.1704, allocations: 274.3 kB / 0.6826 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.1705, allocations: 12.62 kB / 0.6826 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.1707, allocations: 12.89 kB / 0.6826 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.1708, allocations: 109.7 kB / 0.6827 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1708, allocations: 4.375 kB / 0.6827 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1708, allocations: 8.359 kB / 0.6827 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.171, allocations: 126.7 kB / 0.6828 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.171, allocations: 0 / 0.6828 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.171, allocations: 8 kB / 0.6828 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.171, allocations: 0 / 0.6828 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.701e-05/0.1711, allocations: 15.98 kB / 0.6829 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.1712, allocations: 113.2 kB / 0.683 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1713, allocations: 54.56 kB / 0.683 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.1714, allocations: 12.86 kB / 0.683 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.1714, allocations: 0 / 0.683 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.1714, allocations: 42.44 kB / 0.6831 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.1714, allocations: 0 / 0.6831 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0008074/0.1722, allocations: 293.5 kB / 0.6833 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1723, allocations: 55.34 kB / 0.6834 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.1724, allocations: 97.86 kB / 0.6835 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.1724, allocations: 25.7 kB / 0.6835 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.1724, allocations: 80.14 kB / 0.6836 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.1725, allocations: 51.78 kB / 0.6836 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.1725, allocations: 29.7 kB / 0.6837 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.1727, allocations: 310.8 kB / 0.684 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.1728, allocations: 23.98 kB / 0.684 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.1729, allocations: 33.83 kB / 0.684 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.173, allocations: 61.78 kB / 0.6841 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.173, allocations: 0 / 0.6841 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001574/0.1731, allocations: 97.55 kB / 0.6842 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1731, allocations: 15.92 kB / 0.6842 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1732, allocations: 0 / 0.6842 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1732, allocations: 0 / 0.6842 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1733, allocations: 23.94 kB / 0.6842 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1733, allocations: 0 / 0.6842 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.1733, allocations: 4 kB / 0.6842 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1733, allocations: 8 kB / 0.6842 GB, free: 13.27 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 9.456e-05/0.1734, allocations: 126.9 kB / 0.6843 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1735, allocations: 15.88 kB / 0.6844 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.68e-05/0.1735, allocations: 11.97 kB / 0.6844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1735, allocations: 0 / 0.6844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1735, allocations: 0 / 0.6844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1735, allocations: 0 / 0.6844 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.1736, allocations: 109.3 kB / 0.6845 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1736, allocations: 4 kB / 0.6845 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.1738, allocations: 23.88 kB / 0.6845 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1738, allocations: 0 / 0.6845 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1738, allocations: 8 kB / 0.6845 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1738, allocations: 4 kB / 0.6845 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1738, allocations: 0 / 0.6845 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.174, allocations: 133 kB / 0.6846 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.1741, allocations: 7.938 kB / 0.6846 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.1741, allocations: 8.031 kB / 0.6847 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.1742, allocations: 4 kB / 0.6847 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.1742, allocations: 3.984 kB / 0.6847 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1742, allocations: 8 kB / 0.6847 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.69e-05/0.1742, allocations: 75.28 kB / 0.6847 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1742, allocations: 4.031 kB / 0.6847 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000198/0.1744, allocations: 20 kB / 0.6848 GB, free: 12.65 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001138/0.1745, allocations: 99.19 kB / 0.6849 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.1747, allocations: 55.97 kB / 0.6849 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1747, allocations: 0 / 0.6849 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.1747, allocations: 27.88 kB / 0.6849 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.1749, allocations: 8 kB / 0.6849 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.1755, allocations: 280.1 kB / 0.6852 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.363e-05/0.1756, allocations: 67.34 kB / 0.6853 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.263e-05/0.1756, allocations: 8.734 kB / 0.6853 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.1757, allocations: 12.5 kB / 0.6853 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of SimCode: time 5.61e-07/0.1757, allocations: 0 / 0.6853 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.003522/0.1792, allocations: 0.6155 MB / 0.6859 GB, free: 11.46 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.574369236826897] Failed to read output from testmodel.py, exit status != 0: 0.1884043887257576 0.458521312 0.28542453500000003 Calling exit ...