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.8568/0.8568, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 184.7 kB / 187.3 MB, free: 11.89 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.66/1.66, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009697/0.0009698, allocations: 87.02 kB / 0.5124 GB, free: 24.28 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 278.7 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.73e-05/4.733e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5328/0.5328, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.7/11.23, allocations: 4.149 GB / 4.913 GB, free: 64.39 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/11.24, allocations: 86.94 kB / 4.913 GB, free: 64.31 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.06481/11.3, allocations: 36.6 MB / 4.949 GB, free: 27.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/11.3, allocations: 0 / 4.949 GB, free: 27.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.194e-06/11.3, allocations: 0 / 4.949 GB, free: 27.27 MB / 0.698 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.0002899/11.3, allocations: 350.4 kB / 4.949 GB, free: 26.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/11.3, allocations: 8.031 kB / 4.949 GB, free: 26.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/11.3, allocations: 11.95 kB / 4.949 GB, free: 26.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.739e-05/11.3, allocations: 170.9 kB / 4.949 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/11.3, allocations: 4 kB / 4.949 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.749e-05/11.3, allocations: 11.91 kB / 4.949 GB, free: 26.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/11.3, allocations: 45.75 kB / 4.949 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/11.3, allocations: 0 / 4.949 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/11.3, allocations: 4 kB / 4.949 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/11.3, allocations: 0 / 4.949 GB, free: 26.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/11.3, allocations: 27.88 kB / 4.949 GB, free: 26.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/11.3, allocations: 161.7 kB / 4.95 GB, free: 26.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.123e-05/11.3, allocations: 50.56 kB / 4.95 GB, free: 26.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.524e-05/11.3, allocations: 12.86 kB / 4.95 GB, free: 26.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/11.3, allocations: 0 / 4.95 GB, free: 26.28 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/11.3, allocations: 38.56 kB / 4.95 GB, free: 26.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/11.3, allocations: 4 kB / 4.95 GB, free: 26.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006203/11.3, allocations: 362.3 kB / 4.95 GB, free: 25.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/11.3, allocations: 51.41 kB / 4.95 GB, free: 25.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.001e-05/11.3, allocations: 85 kB / 4.95 GB, free: 25.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/11.3, allocations: 29.7 kB / 4.95 GB, free: 25.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.522e-05/11.3, allocations: 84.27 kB / 4.95 GB, free: 25.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/11.3, allocations: 47.3 kB / 4.95 GB, free: 25.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/11.3, allocations: 0 / 4.95 GB, free: 25.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.901e-05/11.3, allocations: 314.8 kB / 4.951 GB, free: 25.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/11.3, allocations: 16 kB / 4.951 GB, free: 25.17 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.739e-05/11.3, allocations: 41.64 kB / 4.951 GB, free: 25.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/11.3, allocations: 23.27 kB / 4.951 GB, free: 25.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/11.3, allocations: 0 / 4.951 GB, free: 25.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001049/11.3, allocations: 97.61 kB / 4.951 GB, free: 25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/11.3, allocations: 8 kB / 4.951 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/11.3, allocations: 0 / 4.951 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/11.3, allocations: 0 / 4.951 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/11.3, allocations: 20 kB / 4.951 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/11.3, allocations: 7.938 kB / 4.951 GB, free: 24.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/11.3, allocations: 4 kB / 4.951 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/11.3, allocations: 7.938 kB / 4.951 GB, free: 24.96 MB / 0.698 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 () * 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.238e-05/11.3, allocations: 109 kB / 4.951 GB, free: 24.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/11.3, allocations: 7.906 kB / 4.951 GB, free: 24.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/11.3, allocations: 16.08 kB / 4.951 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/11.3, allocations: 0 / 4.951 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/11.3, allocations: 0 / 4.951 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/11.3, allocations: 3.953 kB / 4.951 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.557e-05/11.3, allocations: 173.6 kB / 4.951 GB, free: 24.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/11.3, allocations: 4 kB / 4.951 GB, free: 24.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/11.3, allocations: 23.98 kB / 4.951 GB, free: 24.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/11.3, allocations: 4 kB / 4.951 GB, free: 24.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/11.3, allocations: 0 / 4.951 GB, free: 24.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/11.3, allocations: 0 / 4.951 GB, free: 24.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/11.3, allocations: 7.938 kB / 4.951 GB, free: 24.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/11.3, allocations: 132.9 kB / 4.951 GB, free: 24.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/11.3, allocations: 81.11 kB / 4.951 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/11.3, allocations: 4 kB / 4.951 GB, free: 24.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/11.3, allocations: 8.031 kB / 4.951 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/11.3, allocations: 4 kB / 4.951 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/11.3, allocations: 4 kB / 4.951 GB, free: 24.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.579e-05/11.3, allocations: 83.28 kB / 4.951 GB, free: 24.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/11.3, allocations: 0 / 4.951 GB, free: 24.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002941/11.3, allocations: 51.98 kB / 4.952 GB, free: 24.16 MB / 0.698 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 () * 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.0006446/11.3, allocations: 0.569 MB / 4.952 GB, free: 23.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001174/11.3, allocations: 59.92 kB / 4.952 GB, free: 23.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/11.3, allocations: 0 / 4.952 GB, free: 23.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/11.3, allocations: 28.16 kB / 4.952 GB, free: 23.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/11.3, allocations: 12.09 kB / 4.952 GB, free: 23.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/11.31, allocations: 281.6 kB / 4.952 GB, free: 23.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/11.31, allocations: 0.6887 MB / 4.953 GB, free: 22.48 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.535e-05/11.31, allocations: 16.59 kB / 4.953 GB, free: 22.46 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/11.31, allocations: 15.44 kB / 4.953 GB, free: 22.45 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/11.31, allocations: 0 / 4.953 GB, free: 22.45 MB / 0.698 GB Notification: Performance of Templates: time 0.01115/11.32, allocations: 9.775 MB / 4.963 GB, free: 12.67 MB / 0.698 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)