Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.283/2.283, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001617, allocations: 173.8 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.444/2.444, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.00111, allocations: 96.09 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004751, allocations: 9.062 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2192, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001431/0.2207, allocations: 0.9843 MB / 0.8998 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.265/0.4857, allocations: 124.3 MB / 1.021 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.4858, allocations: 0 / 1.021 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.4859, allocations: 0 / 1.021 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-05/0.4859, allocations: 7.984 kB / 1.021 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.4864, allocations: 79.73 kB / 1.021 GB, free: 3.773 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 6.962e-05/0.4865, allocations: 23.97 kB / 1.021 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.4866, allocations: 0 / 1.021 GB, free: 3.75 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.4866, allocations: 15.92 kB / 1.021 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.938e-05/0.4867, allocations: 15.97 kB / 1.021 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.4867, allocations: 4 kB / 1.021 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.4871, allocations: 79.83 kB / 1.021 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.4871, allocations: 11.91 kB / 1.021 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.4872, allocations: 33.64 kB / 1.021 GB, free: 3.586 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0001729/0.4874, allocations: 43.95 kB / 1.022 GB, free: 3.543 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4874, allocations: 4 kB / 1.022 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4874, allocations: 0 / 1.022 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4874, allocations: 4 kB / 1.022 GB, free: 3.535 MB / 0.6667 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.0004657/0.4879, allocations: 343.5 kB / 1.022 GB, free: 3.152 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4879, allocations: 8.031 kB / 1.022 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.4882, allocations: 15.94 kB / 1.022 GB, free: 3.129 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.4883, allocations: 163 kB / 1.022 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.4884, allocations: 8 kB / 1.022 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.4884, allocations: 8 kB / 1.022 GB, free: 2.914 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.4885, allocations: 49.67 kB / 1.022 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.4886, allocations: 0 / 1.022 GB, free: 2.859 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.4886, allocations: 4 kB / 1.022 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4886, allocations: 3.938 kB / 1.022 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.563e-05/0.4887, allocations: 15.94 kB / 1.022 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002279/0.4889, allocations: 165.6 kB / 1.022 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.4891, allocations: 46.56 kB / 1.022 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.4891, allocations: 4 kB / 1.022 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.4891, allocations: 34.56 kB / 1.022 GB, free: 2.523 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 4.178e-06/0.4892, allocations: 3.984 kB / 1.022 GB, free: 2.52 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.001008/0.4902, allocations: 374.6 kB / 1.023 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.4902, allocations: 59.36 kB / 1.023 GB, free: 2.031 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.4903, allocations: 97.8 kB / 1.023 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.4904, allocations: 25.7 kB / 1.023 GB, free: 1.895 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.4904, allocations: 88.14 kB / 1.023 GB, free: 1.805 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.4905, allocations: 39.36 kB / 1.023 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/0.4905, allocations: 0 / 1.023 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4906, allocations: 314.8 kB / 1.023 GB, free: 1.449 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.035e-05/0.4907, allocations: 23.98 kB / 1.023 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.986e-05/0.4908, allocations: 37.83 kB / 1.023 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.4909, allocations: 23.98 kB / 1.023 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.4909, allocations: 0 / 1.023 GB, free: 1.359 MB / 0.6667 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002263/0.4911, allocations: 93.62 kB / 1.023 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.4912, allocations: 11.98 kB / 1.023 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.4912, allocations: 0 / 1.023 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.4912, allocations: 0 / 1.023 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.4914, allocations: 23.94 kB / 1.024 GB, free: 1.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.4914, allocations: 3.953 kB / 1.024 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.4915, allocations: 0 / 1.024 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.4915, allocations: 8 kB / 1.024 GB, free: 1.215 MB / 0.6667 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 0.0001099/0.4916, allocations: 129.8 kB / 1.024 GB, free: 1.078 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.4917, allocations: 3.906 kB / 1.024 GB, free: 1.074 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.4917, allocations: 11.97 kB / 1.024 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4917, allocations: 0 / 1.024 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4918, allocations: 0 / 1.024 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4918, allocations: 3.953 kB / 1.024 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.492, allocations: 173.6 kB / 1.024 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.492, allocations: 0 / 1.024 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.4922, allocations: 23.92 kB / 1.024 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4922, allocations: 4 kB / 1.024 GB, free: 0.8086 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.4923, allocations: 8 kB / 1.024 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4923, allocations: 0 / 1.024 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4923, allocations: 0 / 1.024 GB, free: 0.8008 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.4926, allocations: 134.5 kB / 1.024 GB, free: 0.6523 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.4927, allocations: 85.14 kB / 1.024 GB, free: 0.5508 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4927, allocations: 4 kB / 1.024 GB, free: 0.5469 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.4929, allocations: 8 kB / 1.024 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.639e-05/0.4929, allocations: 7.984 kB / 1.024 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.493, allocations: 4 kB / 1.024 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.493, allocations: 75.28 kB / 1.024 GB, free: 464 kB / 0.6667 GB Notification: Performance of sort global known variables: time 3.6e-07/0.493, allocations: 0 / 1.024 GB, free: 464 kB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000299/0.4933, allocations: 16 kB / 1.024 GB, free: 448 kB / 0.6667 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.0001284/0.4935, allocations: 103.2 kB / 1.024 GB, free: 332 kB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001857/0.4937, allocations: 56 kB / 1.024 GB, free: 276 kB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4937, allocations: 4 kB / 1.024 GB, free: 272 kB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 6.877e-05/0.4937, allocations: 27.94 kB / 1.024 GB, free: 244 kB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.4939, allocations: 7.953 kB / 1.024 GB, free: 236 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/0.4948, allocations: 387.2 kB / 1.025 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.4952, allocations: 0.6887 MB / 1.025 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001231/0.4953, allocations: 12.66 kB / 1.025 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.4954, allocations: 11.44 kB / 1.025 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of SimCode: time 6.11e-07/0.4954, allocations: 0 / 1.025 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of Templates: time 0.003499/0.4989, allocations: 0.5822 MB / 1.026 GB, free: 14.51 MB / 0.6823 GB