Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.666/1.666, allocations: 288.4 MB / 304.3 MB, free: 8.129 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009577/0.0009577, allocations: 187.3 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007484/0.0007485, allocations: 94.23 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003917, allocations: 14.84 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2282, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.817/10.05, allocations: 4.612 GB / 5.592 GB, free: 299.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/10.05, allocations: 79.95 kB / 5.592 GB, free: 299.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06035/10.11, allocations: 36.58 MB / 5.628 GB, free: 262.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.895e-06/10.11, allocations: 0 / 5.628 GB, free: 262.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.668e-06/10.11, allocations: 7.938 kB / 5.628 GB, free: 262.2 MB / 0.948 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.000229/10.11, allocations: 343.5 kB / 5.628 GB, free: 261.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/10.11, allocations: 12.02 kB / 5.628 GB, free: 261.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/10.11, allocations: 9.562 kB / 5.628 GB, free: 261.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.514e-05/10.11, allocations: 168.3 kB / 5.629 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/10.11, allocations: 4.375 kB / 5.629 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/10.11, allocations: 4.375 kB / 5.629 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.379e-05/10.11, allocations: 50.23 kB / 5.629 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/10.11, allocations: 8.125 kB / 5.629 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/10.11, allocations: 7.938 kB / 5.629 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/10.11, allocations: 3.938 kB / 5.629 GB, free: 261.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/10.11, allocations: 15.98 kB / 5.629 GB, free: 261.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/10.11, allocations: 169.6 kB / 5.629 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.319e-05/10.11, allocations: 46.56 kB / 5.629 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/10.11, allocations: 16.86 kB / 5.629 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/10.11, allocations: 4 kB / 5.629 GB, free: 261.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/10.11, allocations: 38.5 kB / 5.629 GB, free: 261.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/10.11, allocations: 0 / 5.629 GB, free: 261.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0005502/10.11, allocations: 378.2 kB / 5.629 GB, free: 260.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/10.11, allocations: 51.41 kB / 5.629 GB, free: 260.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.601e-05/10.11, allocations: 97.86 kB / 5.629 GB, free: 260.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/10.11, allocations: 29.7 kB / 5.629 GB, free: 260.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.033e-05/10.11, allocations: 80.14 kB / 5.63 GB, free: 260.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/10.11, allocations: 39.39 kB / 5.63 GB, free: 260.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/10.11, allocations: 8 kB / 5.63 GB, free: 260.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 3.649e-05/10.11, allocations: 310.8 kB / 5.63 GB, free: 260 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/10.11, allocations: 19.98 kB / 5.63 GB, free: 260 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/10.11, allocations: 34.33 kB / 5.63 GB, free: 260 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.475e-05/10.11, allocations: 66.3 kB / 5.63 GB, free: 259.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/10.11, allocations: 0 / 5.63 GB, free: 259.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.95e-05/10.11, allocations: 105.5 kB / 5.63 GB, free: 259.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/10.11, allocations: 4 kB / 5.63 GB, free: 259.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/10.11, allocations: 4 kB / 5.63 GB, free: 259.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/10.11, allocations: 0 / 5.63 GB, free: 259.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/10.11, allocations: 23.98 kB / 5.63 GB, free: 259.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/10.11, allocations: 0 / 5.63 GB, free: 259.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/10.11, allocations: 0 / 5.63 GB, free: 259.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/10.11, allocations: 8 kB / 5.63 GB, free: 259.8 MB / 0.948 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 4.864e-05/10.11, allocations: 123.3 kB / 5.63 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/10.11, allocations: 7.875 kB / 5.63 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/10.11, allocations: 7.969 kB / 5.63 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/10.11, allocations: 4 kB / 5.63 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/10.11, allocations: 4 kB / 5.63 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/10.11, allocations: 0 / 5.63 GB, free: 259.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.118e-05/10.11, allocations: 173.6 kB / 5.63 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/10.11, allocations: 3.938 kB / 5.63 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/10.11, allocations: 23.98 kB / 5.63 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/10.11, allocations: 4 kB / 5.63 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/10.11, allocations: 4 kB / 5.63 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/10.11, allocations: 0 / 5.63 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/10.11, allocations: 0 / 5.63 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/10.11, allocations: 139 kB / 5.631 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/10.11, allocations: 93.02 kB / 5.631 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/10.11, allocations: 4 kB / 5.631 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/10.11, allocations: 7.984 kB / 5.631 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/10.11, allocations: 8 kB / 5.631 GB, free: 259.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/10.11, allocations: 4 kB / 5.631 GB, free: 259.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.451e-05/10.11, allocations: 75.28 kB / 5.631 GB, free: 259 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/10.11, allocations: 0 / 5.631 GB, free: 259 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002711/10.11, allocations: 51.98 kB / 5.631 GB, free: 258.9 MB / 0.948 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.0004955/10.11, allocations: 0.5571 MB / 5.631 GB, free: 258.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001135/10.11, allocations: 60.22 kB / 5.631 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/10.11, allocations: 0 / 5.631 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.992e-05/10.11, allocations: 27.92 kB / 5.631 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/10.11, allocations: 11.94 kB / 5.631 GB, free: 258.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/10.11, allocations: 391.5 kB / 5.632 GB, free: 257.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.049e-05/10.11, allocations: 0.6848 MB / 5.632 GB, free: 257.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.448e-05/10.11, allocations: 12.66 kB / 5.633 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/10.11, allocations: 11.44 kB / 5.633 GB, free: 257.1 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/10.11, allocations: 0 / 5.633 GB, free: 257.1 MB / 0.948 GB Notification: Performance of Templates: time 0.008796/10.12, allocations: 8.062 MB / 5.64 GB, free: 249.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)