Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 289.7 MB / 302.2 MB, free: 2.094 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.001228/0.001228, allocations: 175.7 kB / 371.6 MB, free: 3.418 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.679/1.679, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0008775/0.0008774, allocations: 88.14 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.813e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2224, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.788/1.01, allocations: 138.5 MB / 1.115 GB, free: 45.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001521/1.011, allocations: 64.45 kB / 1.115 GB, free: 45.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002327/1.013, allocations: 1.149 MB / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.013, allocations: 0.5938 kB / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.865e-06/1.013, allocations: 4.844 kB / 1.116 GB, free: 44.32 MB / 0.7448 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.000245/1.013, allocations: 364.8 kB / 1.117 GB, free: 43.95 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/1.013, allocations: 8.656 kB / 1.117 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/1.013, allocations: 18.16 kB / 1.117 GB, free: 43.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/1.014, allocations: 176.1 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/1.014, allocations: 11.89 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/1.014, allocations: 4.781 kB / 1.117 GB, free: 43.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/1.014, allocations: 92.55 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.014, allocations: 0.5625 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/1.014, allocations: 11 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.014, allocations: 4.562 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/1.014, allocations: 36.92 kB / 1.117 GB, free: 43.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004721/1.014, allocations: 461 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.508e-05/1.014, allocations: 38.44 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/1.014, allocations: 17.28 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.667e-06/1.014, allocations: 0.5 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/1.014, allocations: 43.91 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/1.014, allocations: 0 / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001487/1.015, allocations: 50.19 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/1.015, allocations: 87.97 kB / 1.118 GB, free: 42.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/1.015, allocations: 156 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/1.015, allocations: 25.7 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/1.015, allocations: 109.1 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/1.015, allocations: 15.25 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/1.015, allocations: 0 / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.171e-05/1.015, allocations: 317.5 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/1.015, allocations: 7.125 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/1.015, allocations: 23.97 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.298e-05/1.015, allocations: 8.156 kB / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/1.015, allocations: 0 / 1.118 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.552e-05/1.015, allocations: 71.23 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/1.015, allocations: 8 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.015, allocations: 0 / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/1.015, allocations: 0 / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/1.015, allocations: 4 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/1.015, allocations: 4 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.232e-05/1.015, allocations: 7.844 kB / 1.118 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/1.015, allocations: 4 kB / 1.118 GB, free: 42.19 MB / 0.7448 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 (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 4.937e-05/1.015, allocations: 111.8 kB / 1.118 GB, free: 42.08 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/1.015, allocations: 12.42 kB / 1.118 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/1.015, allocations: 11.75 kB / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/1.015, allocations: 0 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.015, allocations: 0 / 1.118 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.015, allocations: 4 kB / 1.118 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/1.016, allocations: 476.3 kB / 1.119 GB, free: 41.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.016, allocations: 4.719 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.215e-05/1.016, allocations: 4 kB / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.016, allocations: 0 / 1.119 GB, free: 41.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/1.016, allocations: 8.969 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.016, allocations: 0.75 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.016, allocations: 3.547 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.385e-05/1.016, allocations: 100.2 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/1.016, allocations: 91.98 kB / 1.119 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/1.016, allocations: 4 kB / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/1.016, allocations: 0.875 kB / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/1.016, allocations: 0 / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/1.016, allocations: 0 / 1.119 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.122e-05/1.016, allocations: 127.4 kB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.016, allocations: 0 / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001843/1.016, allocations: 8.562 kB / 1.119 GB, free: 41.22 MB / 0.7448 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 () * 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 9.405e-05/1.016, allocations: 106.6 kB / 1.119 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.036e-05/1.016, allocations: 17.75 kB / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/1.016, allocations: 0 / 1.119 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/1.016, allocations: 14.94 kB / 1.119 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/1.017, allocations: 9.859 kB / 1.119 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/1.017, allocations: 110.6 kB / 1.119 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/1.017, allocations: 0.7057 MB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.663e-05/1.017, allocations: 4.438 kB / 1.12 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.06e-05/1.017, allocations: 11.44 kB / 1.12 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/1.017, allocations: 0 / 1.12 GB, free: 40.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.002032/1.019, allocations: 457.9 kB / 1.121 GB, free: 39.99 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)