Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.45/2.45, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001506/0.001506, allocations: 188.3 kB / 325.6 MB, free: 2.812 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.518/2.518, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.001406/0.001406, allocations: 100.8 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004567/0.0004567, allocations: 15.3 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 106.3 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.4358, allocations: 131.2 MB / 1.027 GB, free: 14.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/0.4361, allocations: 63.97 kB / 1.027 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004296/0.4404, allocations: 1.165 MB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4405, allocations: 0 / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.4405, allocations: 0 / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004978/0.441, allocations: 382.9 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.4411, allocations: 8.031 kB / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.4411, allocations: 11.86 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.4414, allocations: 190.8 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4414, allocations: 4 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.4414, allocations: 8.219 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.4417, allocations: 87.39 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4417, allocations: 3.938 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.4417, allocations: 8 kB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.4417, allocations: 0 / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.4419, allocations: 47.91 kB / 1.029 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.4427, allocations: 456.5 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.319e-05/0.4428, allocations: 41.34 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.4429, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4429, allocations: 30.56 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 4.007e-06/0.4429, allocations: 4 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002328/0.4432, allocations: 61.59 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4432, allocations: 77.11 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.4434, allocations: 151.2 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.4435, allocations: 25.7 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.4436, allocations: 115.9 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-05/0.4436, allocations: 11.89 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.4436, allocations: 0 / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4438, allocations: 327.1 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.312e-05/0.4438, allocations: 8 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.4439, allocations: 17.7 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.4439, allocations: 15.95 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.444, allocations: 0 / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000147/0.4441, allocations: 61.53 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4441, allocations: 8 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.4442, allocations: 4.062 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4442, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4443, allocations: 12 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.4443, allocations: 0 / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.931e-05/0.4444, allocations: 4.984 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.4444, allocations: 4 kB / 1.03 GB, free: 10.88 MB / 0.6823 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 (4): * Single equations (assignments): 4 * 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.0001233/0.4446, allocations: 117.8 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.4446, allocations: 11.81 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.4447, allocations: 16.55 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.319e-06/0.4447, allocations: 4 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.4447, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4447, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.4454, allocations: 486.7 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4454, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.4455, allocations: 4 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.4455, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4455, allocations: 4.062 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.4455, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4455, allocations: 7.938 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.4457, allocations: 91.56 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.4458, allocations: 89.02 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.4458, allocations: 3.984 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.13e-05/0.4459, allocations: 4.031 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.4459, allocations: 4 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.4459, allocations: 0 / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001491/0.4461, allocations: 130.8 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4461, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002691/0.4464, allocations: 11.95 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001428/0.4465, allocations: 95.25 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001256/0.4467, allocations: 27.92 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4467, allocations: 3.938 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.4467, allocations: 8 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.4469, allocations: 15.84 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.4474, allocations: 186.2 kB / 1.032 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.4478, allocations: 0.7043 MB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.129e-05/0.4479, allocations: 4.438 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.408e-05/0.4479, allocations: 11.44 kB / 1.032 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of SimCode: time 2.775e-06/0.4479, allocations: 4 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of Templates: time 0.003466/0.4514, allocations: 457.4 kB / 1.033 GB, free: 8.242 MB / 0.6823 GB