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.001381/0.001381, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.001534/0.001534, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 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.449/1.449, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 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.002916/0.002916, allocations: 233.4 kB / 259.8 MB, free: 12.83 MB / 250.7 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.108/1.108, allocations: 138.4 MB / 454.7 MB, free: 1.488 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5543 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.282e-05/3.437e-05, allocations: 10.25 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002603/0.002638, allocations: 1.278 MB / 0.5556 GB, free: 15.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3585/0.3611, allocations: 129.1 MB / 0.6816 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.3612, allocations: 4 kB / 0.6816 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.816e-05/0.3612, allocations: 0 / 0.6816 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.3613, allocations: 6.719 kB / 0.6816 GB, free: 21.14 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.3617, allocations: 95.19 kB / 0.6817 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.3618, allocations: 32.98 kB / 0.6817 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.103e-05/0.3618, allocations: 3.062 kB / 0.6818 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.025e-05/0.3619, allocations: 21.95 kB / 0.6818 GB, free: 21.04 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.393e-05/0.3619, allocations: 13.84 kB / 0.6818 GB, free: 21.03 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3619, allocations: 6.688 kB / 0.6818 GB, free: 21.02 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.3622, allocations: 74.39 kB / 0.6819 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.3622, allocations: 14.2 kB / 0.6819 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.3622, allocations: 9.328 kB / 0.6819 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3624, allocations: 74.56 kB / 0.682 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3624, allocations: 0 / 0.682 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3624, allocations: 0 / 0.682 GB, free: 20.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3624, allocations: 0 / 0.682 GB, free: 20.93 MB / 0.5105 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.0003004/0.3627, allocations: 279.8 kB / 0.6822 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3627, allocations: 10.66 kB / 0.6822 GB, free: 20.65 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.3629, allocations: 32.17 kB / 0.6823 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.507e-05/0.363, allocations: 105.8 kB / 0.6824 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.363, allocations: 2.375 kB / 0.6824 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.3631, allocations: 10.53 kB / 0.6824 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.3632, allocations: 129.9 kB / 0.6825 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3632, allocations: 3.188 kB / 0.6825 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3632, allocations: 4 kB / 0.6825 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3632, allocations: 0 / 0.6825 GB, free: 20.35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.3633, allocations: 15.44 kB / 0.6825 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.3634, allocations: 113.6 kB / 0.6826 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.255e-05/0.3635, allocations: 44.75 kB / 0.6827 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.684e-05/0.3635, allocations: 18.69 kB / 0.6827 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.3635, allocations: 2.469 kB / 0.6827 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3635, allocations: 41.2 kB / 0.6827 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3635, allocations: 0 / 0.6827 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0006624/0.3642, allocations: 299.5 kB / 0.683 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.3642, allocations: 58.28 kB / 0.6831 GB, free: 19.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.318e-05/0.3642, allocations: 92.92 kB / 0.6832 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.3643, allocations: 33.73 kB / 0.6832 GB, free: 19.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.325e-05/0.3643, allocations: 80.14 kB / 0.6833 GB, free: 19.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3643, allocations: 40.83 kB / 0.6833 GB, free: 19.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3643, allocations: 29.86 kB / 0.6833 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.3644, allocations: 317.4 kB / 0.6836 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.104e-05/0.3644, allocations: 18.52 kB / 0.6837 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.3645, allocations: 38.98 kB / 0.6837 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.973e-05/0.3645, allocations: 56.05 kB / 0.6838 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3645, allocations: 2.188 kB / 0.6838 GB, free: 19.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001169/0.3646, allocations: 112 kB / 0.6839 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.3647, allocations: 7.25 kB / 0.6839 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3647, allocations: 2.781 kB / 0.6839 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3647, allocations: 0 / 0.6839 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.3648, allocations: 18.59 kB / 0.6839 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3648, allocations: 0 / 0.6839 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.289e-05/0.3648, allocations: 1.969 kB / 0.6839 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.3648, allocations: 7.156 kB / 0.6839 GB, free: 19.06 MB / 0.5105 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 4.879e-05/0.3649, allocations: 120.7 kB / 0.684 GB, free: 18.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.3649, allocations: 10.12 kB / 0.684 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.3649, allocations: 11.97 kB / 0.684 GB, free: 18.93 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3649, allocations: 6.156 kB / 0.684 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.3649, allocations: 0 / 0.684 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.365, allocations: 2.844 kB / 0.684 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.833e-05/0.365, allocations: 113.6 kB / 0.6841 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.365, allocations: 0 / 0.6841 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3651, allocations: 22.28 kB / 0.6842 GB, free: 18.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3651, allocations: 7.875 kB / 0.6842 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3651, allocations: 0 / 0.6842 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3652, allocations: 6.922 kB / 0.6842 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3652, allocations: 0 / 0.6842 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.3653, allocations: 139.6 kB / 0.6843 GB, free: 18.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.3654, allocations: 14.25 kB / 0.6843 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3654, allocations: 3.984 kB / 0.6843 GB, free: 18.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.3655, allocations: 6.938 kB / 0.6843 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.3655, allocations: 6.859 kB / 0.6843 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.134e-06/0.3655, allocations: 2.406 kB / 0.6844 GB, free: 18.65 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.459e-05/0.3655, allocations: 78 kB / 0.6844 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.3655, allocations: 0 / 0.6844 GB, free: 18.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002036/0.3657, allocations: 17.22 kB / 0.6844 GB, free: 18.57 MB / 0.5105 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 7.755e-05/0.3658, allocations: 103.4 kB / 0.6845 GB, free: 18.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3659, allocations: 58.69 kB / 0.6846 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3659, allocations: 0 / 0.6846 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.3659, allocations: 23.34 kB / 0.6846 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3662, allocations: 25.05 kB / 0.6846 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.3666, allocations: 256.6 kB / 0.6849 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.542e-05/0.3667, allocations: 70.28 kB / 0.685 GB, free: 18.14 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.415e-05/0.3667, allocations: 13.72 kB / 0.685 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.3667, allocations: 14.06 kB / 0.685 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of SimCode: time 3.9e-07/0.3668, allocations: 0 / 0.685 GB, free: 18.12 MB / 0.5105 GB Notification: Performance of Templates: time 0.003244/0.37, allocations: 0.8529 MB / 0.6858 GB, free: 17.73 MB / 0.5105 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: 5.79053797700908]