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.0009499/0.0009499, allocations: 93.06 kB / 19.65 MB, free: 276 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.001171/0.001171, allocations: 165 kB / 23.02 MB, free: 1.547 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.025/1.025, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.00538/0.00538, allocations: 229.9 kB / 260.2 MB, free: 12.82 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 0.7396/0.7396, allocations: 138.4 MB / 455.2 MB, free: 1.543 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.903e-06/1.903e-06, allocations: 0 / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.58e-05, allocations: 4.844 kB / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001707/0.001733, allocations: 1.317 MB / 0.5564 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3415/0.3433, allocations: 142.8 MB / 0.6958 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.715e-05/0.3433, allocations: 0 / 0.6958 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.3433, allocations: 3.938 kB / 0.6959 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.488e-05/0.3434, allocations: 7.938 kB / 0.6959 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.3438, allocations: 101.7 kB / 0.696 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.603e-05/0.3439, allocations: 31.84 kB / 0.696 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.3439, allocations: 4 kB / 0.696 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.3439, allocations: 23.92 kB / 0.696 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.613e-05/0.344, allocations: 11.97 kB / 0.696 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.344, allocations: 0 / 0.696 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.3442, allocations: 79.75 kB / 0.6961 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3442, allocations: 8 kB / 0.6961 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.3443, allocations: 11.92 kB / 0.6961 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3444, allocations: 71.81 kB / 0.6962 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3444, allocations: 4 kB / 0.6962 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3444, allocations: 0 / 0.6962 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.3444, allocations: 0 / 0.6962 GB, free: 12.44 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.0003303/0.3447, allocations: 382.2 kB / 0.6966 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3448, allocations: 8.75 kB / 0.6966 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.345, allocations: 33.44 kB / 0.6966 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.318e-05/0.345, allocations: 108.6 kB / 0.6967 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.345, allocations: 4.375 kB / 0.6967 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.345, allocations: 8.562 kB / 0.6967 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.3452, allocations: 131.7 kB / 0.6968 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3452, allocations: 0 / 0.6968 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3452, allocations: 4 kB / 0.6968 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3452, allocations: 0 / 0.6968 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.3452, allocations: 19.91 kB / 0.6969 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.3453, allocations: 120.6 kB / 0.697 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.3454, allocations: 47.05 kB / 0.697 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.089e-05/0.3454, allocations: 23.67 kB / 0.697 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.3454, allocations: 3.984 kB / 0.697 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.3454, allocations: 34.02 kB / 0.6971 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3454, allocations: 4 kB / 0.6971 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0005092/0.3459, allocations: 299 kB / 0.6974 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.634e-05/0.346, allocations: 55.41 kB / 0.6974 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.404e-05/0.346, allocations: 157.9 kB / 0.6976 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.346, allocations: 25.7 kB / 0.6976 GB, free: 10.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.269e-05/0.346, allocations: 130.9 kB / 0.6977 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.346, allocations: 43.59 kB / 0.6978 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.3461, allocations: 35.36 kB / 0.6978 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.566e-05/0.3461, allocations: 492.2 kB / 0.6983 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.058e-05/0.3461, allocations: 23.98 kB / 0.6983 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.3462, allocations: 35.36 kB / 0.6983 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.083e-05/0.3462, allocations: 58.81 kB / 0.6984 GB, free: 9.945 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3462, allocations: 4 kB / 0.6984 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.76e-05/0.3463, allocations: 90.06 kB / 0.6985 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3463, allocations: 8 kB / 0.6985 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3463, allocations: 0 / 0.6985 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3463, allocations: 3.938 kB / 0.6985 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.3464, allocations: 23.98 kB / 0.6985 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3464, allocations: 0 / 0.6985 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.3464, allocations: 7.438 kB / 0.6985 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3464, allocations: 8 kB / 0.6985 GB, free: 9.801 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.341e-05/0.3465, allocations: 160.6 kB / 0.6987 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.3465, allocations: 7.938 kB / 0.6987 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.3465, allocations: 15.91 kB / 0.6987 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3465, allocations: 4 kB / 0.6987 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3465, allocations: 0 / 0.6987 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3465, allocations: 0 / 0.6987 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.709e-05/0.3466, allocations: 124.6 kB / 0.6988 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3466, allocations: 0 / 0.6988 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.3467, allocations: 23.98 kB / 0.6988 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3467, allocations: 7.938 kB / 0.6988 GB, free: 9.422 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3467, allocations: 4 kB / 0.6989 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.3467, allocations: 0 / 0.6989 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3467, allocations: 0 / 0.6989 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.3468, allocations: 132.8 kB / 0.699 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.3468, allocations: 11.92 kB / 0.699 GB, free: 9.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.074e-05/0.3469, allocations: 8 kB / 0.699 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.3469, allocations: 0 / 0.699 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.3469, allocations: 7.984 kB / 0.699 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3469, allocations: 4 kB / 0.699 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.461e-05/0.3469, allocations: 127.2 kB / 0.6991 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3469, allocations: 0 / 0.6991 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001285/0.3471, allocations: 16 kB / 0.6991 GB, free: 9.094 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 6.643e-05/0.3471, allocations: 95.25 kB / 0.6992 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.345e-05/0.3472, allocations: 59.53 kB / 0.6993 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3472, allocations: 0 / 0.6993 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.221e-05/0.3472, allocations: 40.7 kB / 0.6993 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.3474, allocations: 21.88 kB / 0.6994 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005289/0.3479, allocations: 269.7 kB / 0.6996 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.098e-05/0.348, allocations: 65.44 kB / 0.6997 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.907e-05/0.348, allocations: 12.72 kB / 0.6997 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.348, allocations: 12.5 kB / 0.6997 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of SimCode: time 8.21e-07/0.348, allocations: 0 / 0.6997 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of Templates: time 0.002457/0.3505, allocations: 0.8504 MB / 0.7005 GB, free: 7.699 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4035910200327635]