Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.699/1.699, allocations: 292.6 MB / 307.5 MB, free: 5.27 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.001235/0.001235, allocations: 184.2 kB / 377.1 MB, free: 1.543 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.422/1.422, allocations: 205.4 MB / 0.6367 GB, free: 8.672 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008083/0.0008083, allocations: 98.17 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002995, allocations: 8 kB / 0.8748 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2735, allocations: 116.3 MB / 0.9884 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.66/11.94, allocations: 4.612 GB / 5.601 GB, free: 92.69 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/11.94, allocations: 84.52 kB / 5.601 GB, free: 92.61 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06379/12, allocations: 36.57 MB / 5.636 GB, free: 55.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.442e-06/12, allocations: 4 kB / 5.636 GB, free: 55.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.911e-06/12, allocations: 0 / 5.636 GB, free: 55.75 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.0002522/12, allocations: 356.1 kB / 5.637 GB, free: 55.35 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/12, allocations: 8.031 kB / 5.637 GB, free: 55.34 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/12, allocations: 8.625 kB / 5.637 GB, free: 55.34 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.628e-05/12, allocations: 167 kB / 5.637 GB, free: 55.13 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/12, allocations: 4 kB / 5.637 GB, free: 55.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/12, allocations: 8 kB / 5.637 GB, free: 55.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/12, allocations: 58.64 kB / 5.637 GB, free: 55.06 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/12, allocations: 0 / 5.637 GB, free: 55.06 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/12, allocations: 3.953 kB / 5.637 GB, free: 55.05 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/12, allocations: 0 / 5.637 GB, free: 55.05 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.485e-05/12, allocations: 19.97 kB / 5.637 GB, free: 55.04 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/12, allocations: 165.6 kB / 5.637 GB, free: 54.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/12, allocations: 46.56 kB / 5.637 GB, free: 54.77 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/12, allocations: 15.92 kB / 5.637 GB, free: 54.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/12, allocations: 30.56 kB / 5.637 GB, free: 54.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/12, allocations: 0 / 5.637 GB, free: 54.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0006106/12, allocations: 375.5 kB / 5.638 GB, free: 54.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/12, allocations: 52.34 kB / 5.638 GB, free: 54.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.641e-05/12, allocations: 89 kB / 5.638 GB, free: 54.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/12, allocations: 33.7 kB / 5.638 GB, free: 54.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 1.452e-05/12, allocations: 80.14 kB / 5.638 GB, free: 54.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/12, allocations: 39.39 kB / 5.638 GB, free: 53.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/12, allocations: 4 kB / 5.638 GB, free: 53.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.2e-05/12, allocations: 314.8 kB / 5.638 GB, free: 53.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/12, allocations: 19.98 kB / 5.638 GB, free: 53.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/12, allocations: 29.7 kB / 5.638 GB, free: 53.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/12, allocations: 37.92 kB / 5.638 GB, free: 53.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/12, allocations: 1.219 kB / 5.638 GB, free: 53.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001094/12, allocations: 89.58 kB / 5.638 GB, free: 53.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/12, allocations: 8 kB / 5.638 GB, free: 53.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/12, allocations: 0 / 5.638 GB, free: 53.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/12, allocations: 3.984 kB / 5.638 GB, free: 53.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/12, allocations: 27.89 kB / 5.638 GB, free: 53.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/12, allocations: 0 / 5.638 GB, free: 53.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/12, allocations: 4 kB / 5.638 GB, free: 53.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/12, allocations: 4 kB / 5.638 GB, free: 53.43 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 5.935e-05/12, allocations: 121.8 kB / 5.639 GB, free: 53.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/12, allocations: 3.984 kB / 5.639 GB, free: 53.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/12, allocations: 15.97 kB / 5.639 GB, free: 53.29 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/12, allocations: 0 / 5.639 GB, free: 53.29 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/12, allocations: 9.172 kB / 5.639 GB, free: 53.28 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/12, allocations: 3.938 kB / 5.639 GB, free: 53.27 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/12, allocations: 173.6 kB / 5.639 GB, free: 53.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/12, allocations: 0 / 5.639 GB, free: 53.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/12, allocations: 19.94 kB / 5.639 GB, free: 53.04 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/12, allocations: 8 kB / 5.639 GB, free: 53.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/12, allocations: 3.984 kB / 5.639 GB, free: 53.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/12, allocations: 0.9375 kB / 5.639 GB, free: 53.02 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/12, allocations: 0 / 5.639 GB, free: 53.02 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/12, allocations: 133.5 kB / 5.639 GB, free: 52.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/12, allocations: 81.14 kB / 5.639 GB, free: 52.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/12, allocations: 8 kB / 5.639 GB, free: 52.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/12, allocations: 0 / 5.639 GB, free: 52.77 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/12, allocations: 20.89 kB / 5.639 GB, free: 52.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/12, allocations: 4 kB / 5.639 GB, free: 52.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.251e-05/12, allocations: 79.28 kB / 5.639 GB, free: 52.67 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/12, allocations: 0 / 5.639 GB, free: 52.67 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003092/12, allocations: 55.94 kB / 5.639 GB, free: 52.61 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.0006583/12.01, allocations: 0.565 MB / 5.64 GB, free: 52.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001235/12.01, allocations: 55.92 kB / 5.64 GB, free: 52 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/12.01, allocations: 0 / 5.64 GB, free: 52 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/12.01, allocations: 27.98 kB / 5.64 GB, free: 51.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/12.01, allocations: 448 / 5.64 GB, free: 51.98 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/12.01, allocations: 402.4 kB / 5.64 GB, free: 51.55 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/12.01, allocations: 0.6926 MB / 5.641 GB, free: 50.83 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.052e-05/12.01, allocations: 12.66 kB / 5.641 GB, free: 50.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/12.01, allocations: 11.44 kB / 5.641 GB, free: 50.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/12.01, allocations: 0 / 5.641 GB, free: 50.8 MB / 0.948 GB Notification: Performance of Templates: time 0.01001/12.02, allocations: 8.016 MB / 5.649 GB, free: 42.79 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)