Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001275/0.001275, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001424/0.001424, allocations: 213.8 kB / 22.99 MB, free: 4.945 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.397/1.397, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002508/0.002508, allocations: 291.1 kB / 313.5 MB, free: 2.609 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.175/1.175, allocations: 180.6 MB / 0.5377 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002947/0.002947, allocations: 110.3 kB / 0.7407 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1944, allocations: 95.38 MB / 0.8338 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002878/0.1973, allocations: 1.286 MB / 0.8351 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1628/0.36, allocations: 129.1 MB / 0.9611 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.522e-05/0.3601, allocations: 0 / 0.9611 GB, free: 4.996 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.3601, allocations: 3.938 kB / 0.9611 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.832e-05/0.3602, allocations: 7.969 kB / 0.9611 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.3607, allocations: 95.56 kB / 0.9612 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3608, allocations: 35.84 kB / 0.9613 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.3608, allocations: 0 / 0.9613 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.3609, allocations: 19.92 kB / 0.9613 GB, free: 4.836 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.3609, allocations: 15.98 kB / 0.9613 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.3609, allocations: 0 / 0.9613 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.3612, allocations: 79.83 kB / 0.9614 GB, free: 4.742 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.564e-05/0.3612, allocations: 3.938 kB / 0.9614 GB, free: 4.738 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.119e-05/0.3613, allocations: 19.97 kB / 0.9614 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.3614, allocations: 63.77 kB / 0.9615 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3614, allocations: 0 / 0.9615 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3614, allocations: 4 kB / 0.9615 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3614, allocations: 0 / 0.9615 GB, free: 4.652 MB / 0.7012 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.0004044/0.3618, allocations: 278.2 kB / 0.9617 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3619, allocations: 12.75 kB / 0.9617 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3621, allocations: 16.83 kB / 0.9618 GB, free: 4.324 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.823e-05/0.3622, allocations: 110.5 kB / 0.9619 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3622, allocations: 7.938 kB / 0.9619 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3622, allocations: 4 kB / 0.9619 GB, free: 4.18 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.3624, allocations: 126.8 kB / 0.962 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3624, allocations: 0 / 0.962 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3624, allocations: 4 kB / 0.962 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.3624, allocations: 0 / 0.962 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.341e-05/0.3624, allocations: 19.92 kB / 0.962 GB, free: 4.008 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.3626, allocations: 117.3 kB / 0.9621 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.842e-05/0.3627, allocations: 54.44 kB / 0.9622 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.3627, allocations: 8.859 kB / 0.9622 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.3627, allocations: 3.984 kB / 0.9622 GB, free: 3.785 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3628, allocations: 38.56 kB / 0.9622 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.3628, allocations: 0 / 0.9622 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.0006989/0.3635, allocations: 297.7 kB / 0.9625 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.3635, allocations: 59.34 kB / 0.9626 GB, free: 3.344 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.451e-05/0.3636, allocations: 93.86 kB / 0.9627 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.3636, allocations: 29.7 kB / 0.9627 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.3637, allocations: 80.14 kB / 0.9628 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.3637, allocations: 43.64 kB / 0.9628 GB, free: 3.082 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.464e-05/0.3637, allocations: 29.7 kB / 0.9628 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3639, allocations: 318.8 kB / 0.9631 GB, free: 2.727 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.726e-05/0.3639, allocations: 19.98 kB / 0.9632 GB, free: 2.707 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.059e-05/0.364, allocations: 39.83 kB / 0.9632 GB, free: 2.664 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.513e-05/0.3641, allocations: 53.7 kB / 0.9633 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3641, allocations: 128 / 0.9633 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001382/0.3642, allocations: 101.6 kB / 0.9633 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3642, allocations: 8 kB / 0.9634 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3642, allocations: 0 / 0.9634 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3642, allocations: 0 / 0.9634 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3644, allocations: 31.92 kB / 0.9634 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3644, allocations: 0 / 0.9634 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.3644, allocations: 0 / 0.9634 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3644, allocations: 4 kB / 0.9634 GB, free: 2.457 MB / 0.7012 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 8.839e-05/0.3645, allocations: 118.4 kB / 0.9635 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/0.3645, allocations: 7.953 kB / 0.9635 GB, free: 2.324 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.3645, allocations: 15.91 kB / 0.9635 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3645, allocations: 0 / 0.9635 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3645, allocations: 4 kB / 0.9635 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3645, allocations: 0 / 0.9635 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.3647, allocations: 125.2 kB / 0.9636 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3647, allocations: 0 / 0.9636 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3648, allocations: 23.92 kB / 0.9637 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3648, allocations: 0 / 0.9637 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3648, allocations: 4 kB / 0.9637 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3648, allocations: 0 / 0.9637 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3648, allocations: 0 / 0.9637 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.365, allocations: 140.9 kB / 0.9638 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/0.3651, allocations: 8.031 kB / 0.9638 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3651, allocations: 7.938 kB / 0.9638 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.3652, allocations: 4 kB / 0.9638 GB, free: 1.953 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.3652, allocations: 4.078 kB / 0.9638 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.3652, allocations: 7.984 kB / 0.9638 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.151e-05/0.3652, allocations: 79.28 kB / 0.9639 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3652, allocations: 0 / 0.9639 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002181/0.3654, allocations: 19.94 kB / 0.9639 GB, free: 1.844 MB / 0.7012 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.0001259/0.3656, allocations: 103.3 kB / 0.964 GB, free: 1.73 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.3657, allocations: 55.84 kB / 0.9641 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3657, allocations: 0 / 0.9641 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.042e-05/0.3658, allocations: 27.98 kB / 0.9641 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.366, allocations: 10.12 kB / 0.9641 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.3666, allocations: 350.8 kB / 0.9645 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.151e-05/0.3667, allocations: 71.78 kB / 0.9645 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.3667, allocations: 15.44 kB / 0.9645 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of SimCode: time 7.31e-07/0.3667, allocations: 0 / 0.9645 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of Templates: time 0.002426/0.3692, allocations: 0.8574 MB / 0.9654 GB, free: 312 kB / 0.7012 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.077966334763914] Failed to read output from testmodel.py, exit status != 0: 0.37697962671518326 0.391262241 0.026893562000000003 Calling exit ...