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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8057/0.8057, allocations: 143.4 MB / 158.3 MB, free: 5.773 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 181 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009764/0.0009764, allocations: 92.27 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 280.5 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 14.06 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.2003, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.66/10.86, allocations: 4.149 GB / 4.923 GB, free: 77.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/10.86, allocations: 89.83 kB / 4.923 GB, free: 77.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06489/10.92, allocations: 36.67 MB / 4.958 GB, free: 47.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.552e-06/10.92, allocations: 4 kB / 4.958 GB, free: 47.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.731e-06/10.92, allocations: 0 / 4.958 GB, free: 47.3 MB / 0.7136 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.0002979/10.92, allocations: 354.2 kB / 4.959 GB, free: 46.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/10.92, allocations: 8.031 kB / 4.959 GB, free: 46.91 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/10.92, allocations: 16.56 kB / 4.959 GB, free: 46.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.643e-05/10.92, allocations: 171 kB / 4.959 GB, free: 46.68 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/10.92, allocations: 0 / 4.959 GB, free: 46.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/10.92, allocations: 11.41 kB / 4.959 GB, free: 46.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/10.92, allocations: 53.17 kB / 4.959 GB, free: 46.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/10.92, allocations: 0 / 4.959 GB, free: 46.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/10.92, allocations: 3.875 kB / 4.959 GB, free: 46.62 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/10.92, allocations: 0 / 4.959 GB, free: 46.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.12e-05/10.92, allocations: 15.94 kB / 4.959 GB, free: 46.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/10.92, allocations: 160.9 kB / 4.959 GB, free: 46.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.712e-05/10.92, allocations: 49.7 kB / 4.959 GB, free: 46.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/10.92, allocations: 8.156 kB / 4.959 GB, free: 46.35 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/10.92, allocations: 34.19 kB / 4.959 GB, free: 46.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/10.92, allocations: 0 / 4.959 GB, free: 46.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0005988/10.92, allocations: 377.1 kB / 4.96 GB, free: 45.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/10.92, allocations: 55.36 kB / 4.96 GB, free: 45.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.121e-05/10.92, allocations: 96.5 kB / 4.96 GB, free: 45.76 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/10.92, allocations: 29.7 kB / 4.96 GB, free: 45.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.415e-05/10.92, allocations: 80.14 kB / 4.96 GB, free: 45.64 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/10.92, allocations: 42.44 kB / 4.96 GB, free: 45.61 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/10.92, allocations: 0 / 4.96 GB, free: 45.61 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.036e-05/10.92, allocations: 318.5 kB / 4.96 GB, free: 45.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/10.92, allocations: 15.55 kB / 4.96 GB, free: 45.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/10.92, allocations: 36.39 kB / 4.96 GB, free: 45.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/10.92, allocations: 39.03 kB / 4.96 GB, free: 45.22 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/10.92, allocations: 0 / 4.96 GB, free: 45.22 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001032/10.92, allocations: 91.36 kB / 4.96 GB, free: 45.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/10.92, allocations: 8 kB / 4.96 GB, free: 45.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/10.92, allocations: 0 / 4.96 GB, free: 45.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/10.92, allocations: 4 kB / 4.96 GB, free: 45.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/10.92, allocations: 20 kB / 4.96 GB, free: 45.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/10.92, allocations: 0 / 4.96 GB, free: 45.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/10.92, allocations: 7.828 kB / 4.96 GB, free: 45.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-06/10.92, allocations: 4 kB / 4.96 GB, free: 45.11 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.465e-05/10.92, allocations: 125.8 kB / 4.961 GB, free: 44.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/10.92, allocations: 7.906 kB / 4.961 GB, free: 44.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/10.92, allocations: 11.22 kB / 4.961 GB, free: 44.96 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/10.92, allocations: 0 / 4.961 GB, free: 44.96 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/10.92, allocations: 0 / 4.961 GB, free: 44.96 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/10.92, allocations: 3.938 kB / 4.961 GB, free: 44.96 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.23e-05/10.92, allocations: 176.7 kB / 4.961 GB, free: 44.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/10.92, allocations: 0 / 4.961 GB, free: 44.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/10.93, allocations: 19.98 kB / 4.961 GB, free: 44.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/10.93, allocations: 4 kB / 4.961 GB, free: 44.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/10.93, allocations: 7.938 kB / 4.961 GB, free: 44.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/10.93, allocations: 0 / 4.961 GB, free: 44.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/10.93, allocations: 0 / 4.961 GB, free: 44.72 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/10.93, allocations: 134.2 kB / 4.961 GB, free: 44.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/10.93, allocations: 81.14 kB / 4.961 GB, free: 44.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/10.93, allocations: 7.562 kB / 4.961 GB, free: 44.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/10.93, allocations: 0 / 4.961 GB, free: 44.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/10.93, allocations: 15.92 kB / 4.961 GB, free: 44.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/10.93, allocations: 7.5 kB / 4.961 GB, free: 44.47 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.492e-05/10.93, allocations: 75.28 kB / 4.961 GB, free: 44.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/10.93, allocations: 0 / 4.961 GB, free: 44.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000308/10.93, allocations: 54.11 kB / 4.961 GB, free: 44.36 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005331/10.93, allocations: 0.5612 MB / 4.962 GB, free: 43.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001108/10.93, allocations: 54.92 kB / 4.962 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/10.93, allocations: 3.984 kB / 4.962 GB, free: 43.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/10.93, allocations: 30.81 kB / 4.962 GB, free: 43.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/10.93, allocations: 6.969 kB / 4.962 GB, free: 43.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/10.93, allocations: 393.3 kB / 4.962 GB, free: 43.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/10.93, allocations: 0.6926 MB / 4.963 GB, free: 42.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.714e-05/10.93, allocations: 12.66 kB / 4.963 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/10.93, allocations: 11.44 kB / 4.963 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/10.93, allocations: 0 / 4.963 GB, free: 42.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.009267/10.94, allocations: 8.039 MB / 4.971 GB, free: 34.55 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (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)