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.261/2.261, allocations: 251.1 MB / 266.1 MB, free: 11.64 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.001935/0.001935, allocations: 184.5 kB / 325.6 MB, free: 2.84 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.495/2.495, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001142/0.001142, allocations: 88.88 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006242/0.0006245, allocations: 16.17 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2319, allocations: 106.2 MB / 0.8989 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 14.52/14.75, allocations: 4.605 GB / 5.504 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/14.75, allocations: 86.03 kB / 5.504 GB, free: 243.8 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1336/14.88, allocations: 36.57 MB / 5.54 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.154e-06/14.88, allocations: 0 / 5.54 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.852e-06/14.88, allocations: 3.969 kB / 5.54 GB, free: 237.5 MB / 0.8855 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.0003924/14.88, allocations: 354.6 kB / 5.54 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/14.88, allocations: 15.69 kB / 5.54 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/14.88, allocations: 11.39 kB / 5.54 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/14.88, allocations: 159.1 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/14.88, allocations: 3.938 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/14.88, allocations: 3.625 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/14.88, allocations: 60.56 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/14.88, allocations: 4 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/14.88, allocations: 3.906 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/14.88, allocations: 0 / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/14.88, allocations: 15.23 kB / 5.54 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/14.88, allocations: 172.9 kB / 5.54 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/14.88, allocations: 48.8 kB / 5.541 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/14.88, allocations: 0 / 5.541 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/14.88, allocations: 38.47 kB / 5.541 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/14.88, allocations: 0 / 5.541 GB, free: 236.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0008618/14.88, allocations: 370.6 kB / 5.541 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/14.88, allocations: 59.28 kB / 5.541 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/14.88, allocations: 92.72 kB / 5.541 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/14.88, allocations: 25.7 kB / 5.541 GB, free: 236.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.064e-05/14.88, allocations: 84.27 kB / 5.541 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/14.88, allocations: 42.97 kB / 5.541 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/14.88, allocations: 3.906 kB / 5.541 GB, free: 236.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.486e-05/14.88, allocations: 314.2 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.853e-05/14.88, allocations: 22.41 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.297e-05/14.88, allocations: 28.77 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.116e-05/14.88, allocations: 22 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/14.88, allocations: 0 / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001737/14.88, allocations: 105.8 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/14.88, allocations: 7.922 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/14.88, allocations: 0 / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/14.88, allocations: 3.891 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/14.88, allocations: 19.53 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/14.88, allocations: 0 / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.176e-05/14.88, allocations: 7.734 kB / 5.542 GB, free: 235.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/14.88, allocations: 3.688 kB / 5.542 GB, free: 235.7 MB / 0.8855 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 7.819e-05/14.88, allocations: 129.1 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/14.88, allocations: 7.875 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/14.88, allocations: 15.48 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/14.88, allocations: 0 / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/14.88, allocations: 3.906 kB / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/14.88, allocations: 0 / 5.542 GB, free: 235.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/14.89, allocations: 167.8 kB / 5.542 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/14.89, allocations: 3.938 kB / 5.542 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/14.89, allocations: 22.86 kB / 5.542 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/14.89, allocations: 0 / 5.542 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/14.89, allocations: 7.625 kB / 5.542 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/14.89, allocations: 7.953 kB / 5.542 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/14.89, allocations: 0 / 5.542 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/14.89, allocations: 132 kB / 5.542 GB, free: 235.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/14.89, allocations: 87.69 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/14.89, allocations: 3.562 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/14.89, allocations: 7.703 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/14.89, allocations: 7.766 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/14.89, allocations: 3.906 kB / 5.542 GB, free: 235.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 2.363e-05/14.89, allocations: 79.28 kB / 5.542 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.61e-07/14.89, allocations: 3.812 kB / 5.542 GB, free: 235.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004241/14.89, allocations: 51.45 kB / 5.542 GB, free: 235.1 MB / 0.8855 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.0007871/14.89, allocations: 0.5576 MB / 5.543 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001822/14.89, allocations: 57.55 kB / 5.543 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/14.89, allocations: 0 / 5.543 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-05/14.89, allocations: 30.81 kB / 5.543 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000168/14.89, allocations: 3.688 kB / 5.543 GB, free: 234.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/14.89, allocations: 385.7 kB / 5.543 GB, free: 234.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/14.89, allocations: 0.6958 MB / 5.544 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001116/14.89, allocations: 12.56 kB / 5.544 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/14.89, allocations: 15.25 kB / 5.544 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of SimCode: time 9.32e-07/14.89, allocations: 3.938 kB / 5.544 GB, free: 233.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.01748/14.91, allocations: 8.012 MB / 5.552 GB, free: 230.2 MB / 0.8855 GB