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.64/1.64, allocations: 289.7 MB / 302.3 MB, free: 2.164 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.001249/0.001249, allocations: 175.8 kB / 371.6 MB, free: 3.336 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.835/1.835, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001049/0.001049, allocations: 92.25 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.572e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2949/0.2949, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.07/13.36, allocations: 4.612 GB / 5.592 GB, free: 212.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/13.36, allocations: 84.84 kB / 5.592 GB, free: 212.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06465/13.43, allocations: 36.48 MB / 5.628 GB, free: 175.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.745e-06/13.43, allocations: 0 / 5.628 GB, free: 175.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.846e-06/13.43, allocations: 0 / 5.628 GB, free: 175.8 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.0003712/13.43, allocations: 352.3 kB / 5.628 GB, free: 175.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/13.43, allocations: 12.03 kB / 5.628 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/13.43, allocations: 10.02 kB / 5.628 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/13.43, allocations: 163.1 kB / 5.628 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/13.43, allocations: 3.938 kB / 5.628 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/13.43, allocations: 8 kB / 5.628 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/13.43, allocations: 45.69 kB / 5.628 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/13.43, allocations: 0.6562 kB / 5.628 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/13.43, allocations: 3.953 kB / 5.628 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/13.43, allocations: 8 kB / 5.628 GB, free: 175.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.906e-05/13.43, allocations: 19.92 kB / 5.628 GB, free: 175.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/13.43, allocations: 168 kB / 5.629 GB, free: 174.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/13.43, allocations: 46.56 kB / 5.629 GB, free: 174.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/13.43, allocations: 12.86 kB / 5.629 GB, free: 174.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/13.43, allocations: 4.656 kB / 5.629 GB, free: 174.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/13.43, allocations: 34.56 kB / 5.629 GB, free: 174.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/13.43, allocations: 0 / 5.629 GB, free: 174.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0008039/13.43, allocations: 364.1 kB / 5.629 GB, free: 174.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/13.43, allocations: 51.41 kB / 5.629 GB, free: 174.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.333e-05/13.43, allocations: 89 kB / 5.629 GB, free: 174.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/13.43, allocations: 29.7 kB / 5.629 GB, free: 174.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.182e-05/13.43, allocations: 84.83 kB / 5.629 GB, free: 174.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/13.43, allocations: 43.39 kB / 5.629 GB, free: 174.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/13.43, allocations: 3.938 kB / 5.629 GB, free: 174.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/13.43, allocations: 322.8 kB / 5.63 GB, free: 173.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/13.43, allocations: 16 kB / 5.63 GB, free: 173.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/13.43, allocations: 33.72 kB / 5.63 GB, free: 173.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/13.43, allocations: 28.52 kB / 5.63 GB, free: 173.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/13.43, allocations: 0 / 5.63 GB, free: 173.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001106/13.43, allocations: 89.62 kB / 5.63 GB, free: 173.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/13.43, allocations: 4 kB / 5.63 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/13.43, allocations: 0 / 5.63 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/13.43, allocations: 11.94 kB / 5.63 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/13.43, allocations: 24.83 kB / 5.63 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/13.43, allocations: 7.938 kB / 5.63 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.008e-05/13.43, allocations: 0 / 5.63 GB, free: 173.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/13.43, allocations: 4 kB / 5.63 GB, free: 173.5 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 () * 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 6.158e-05/13.43, allocations: 105 kB / 5.63 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.301e-05/13.43, allocations: 11.91 kB / 5.63 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/13.43, allocations: 12.09 kB / 5.63 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/13.43, allocations: 4 kB / 5.63 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/13.43, allocations: 3.953 kB / 5.63 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/13.43, allocations: 5.391 kB / 5.63 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/13.43, allocations: 165.7 kB / 5.63 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/13.43, allocations: 0 / 5.63 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/13.43, allocations: 27.98 kB / 5.63 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/13.43, allocations: 3.938 kB / 5.63 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/13.43, allocations: 0 / 5.63 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/13.43, allocations: 4 kB / 5.63 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/13.43, allocations: 4 kB / 5.63 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/13.43, allocations: 136.9 kB / 5.63 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/13.43, allocations: 85.14 kB / 5.63 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/13.43, allocations: 0 / 5.63 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/13.43, allocations: 4 kB / 5.63 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/13.43, allocations: 7.984 kB / 5.63 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/13.43, allocations: 4 kB / 5.63 GB, free: 172.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.372e-05/13.43, allocations: 83.23 kB / 5.63 GB, free: 172.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/13.43, allocations: 1.031 kB / 5.63 GB, free: 172.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003872/13.43, allocations: 59.98 kB / 5.63 GB, free: 172.7 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 () * 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.0007603/13.44, allocations: 0.5624 MB / 5.631 GB, free: 172.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001204/13.44, allocations: 51.92 kB / 5.631 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/13.44, allocations: 0 / 5.631 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/13.44, allocations: 31.94 kB / 5.631 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001514/13.44, allocations: 9.078 kB / 5.631 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004693/13.44, allocations: 284.4 kB / 5.631 GB, free: 171.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001655/13.44, allocations: 0.6887 MB / 5.632 GB, free: 171.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.694e-05/13.44, allocations: 8.672 kB / 5.632 GB, free: 171.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/13.44, allocations: 19.44 kB / 5.632 GB, free: 171 MB / 0.948 GB Notification: Performance of SimCode: time 2.2e-07/13.44, allocations: 0 / 5.632 GB, free: 171 MB / 0.948 GB Notification: Performance of Templates: time 0.01167/13.45, allocations: 9.747 MB / 5.642 GB, free: 161.3 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)