Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 288.3 MB / 303.2 MB, free: 8.18 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.001174/0.001174, allocations: 179.7 kB / 371.8 MB, free: 10.28 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.929/1.929, allocations: 205.4 MB / 0.6306 GB, free: 9.992 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009307/0.0009309, allocations: 93.95 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003978/0.0003979, allocations: 15.89 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2621, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0008803/0.263, allocations: 0.529 MB / 0.9799 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.2631, allocations: 47.72 kB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.2632, allocations: 4 kB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.2632, allocations: 3.938 kB / 0.98 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.2633, allocations: 7.969 kB / 0.98 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.259e-05/0.2634, allocations: 12 kB / 0.98 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.797e-05/0.2634, allocations: 47.89 kB / 0.9801 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2636, allocations: 29.52 kB / 0.9801 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.407e-05/0.2636, allocations: 23.84 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.137e-05/0.2637, allocations: 23.86 kB / 0.9801 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.2637, allocations: 4 kB / 0.9801 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.2637, allocations: 7.938 kB / 0.9802 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.2638, allocations: 4 kB / 0.9802 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.2638, allocations: 37.64 kB / 0.9802 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.848e-05/0.2639, allocations: 60.08 kB / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.2639, allocations: 0 / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2639, allocations: 0 / 0.9802 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2639, allocations: 0 / 0.9802 GB, free: 26.84 MB / 0.6198 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.00034/0.2642, allocations: 379 kB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2643, allocations: 12.03 kB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.2643, allocations: 7.906 kB / 0.9806 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.2645, allocations: 194.8 kB / 0.9808 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.2645, allocations: 4 kB / 0.9808 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.2645, allocations: 8 kB / 0.9808 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.2647, allocations: 93.41 kB / 0.9809 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2647, allocations: 7.938 kB / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2647, allocations: 0 / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.2647, allocations: 4 kB / 0.9809 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.2648, allocations: 39.98 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.2652, allocations: 452.6 kB / 0.9814 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.813e-05/0.2653, allocations: 45.17 kB / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.2653, allocations: 0 / 0.9814 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.2653, allocations: 30.56 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.2653, allocations: 0 / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.2655, allocations: 61.59 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.2655, allocations: 81.3 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2657, allocations: 169.2 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-06/0.2657, allocations: 25.7 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.2657, allocations: 115.9 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-06/0.2657, allocations: 0 / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.2657, allocations: 3.938 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.2658, allocations: 322.8 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/0.2658, allocations: 7.938 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.2658, allocations: 25.7 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.204e-05/0.2659, allocations: 12 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2659, allocations: 0 / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.717e-05/0.2659, allocations: 65.41 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.266, allocations: 4 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.266, allocations: 96 / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.266, allocations: 7.984 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.341e-05/0.2661, allocations: 7.984 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2661, allocations: 0 / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.192e-05/0.2661, allocations: 12.06 kB / 0.9824 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.2662, allocations: 0 / 0.9824 GB, free: 24.44 MB / 0.6198 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 5.153e-05/0.2662, allocations: 113.8 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.2663, allocations: 11.86 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.2663, allocations: 16.55 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2663, allocations: 0 / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2663, allocations: 0 / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2663, allocations: 4 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.2666, allocations: 482.7 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.2666, allocations: 0 / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.2666, allocations: 4 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2667, allocations: 3.984 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.2667, allocations: 7.938 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2667, allocations: 0 / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2667, allocations: 0 / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.618e-05/0.2667, allocations: 91.64 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.2668, allocations: 92.94 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2668, allocations: 4 kB / 0.9831 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.412e-05/0.2668, allocations: 4 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-06/0.2668, allocations: 0 / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.2669, allocations: 0 / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.2669, allocations: 133.6 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2669, allocations: 0 / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001732/0.2671, allocations: 8 kB / 0.9833 GB, free: 23.37 MB / 0.6198 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 8.867e-05/0.2672, allocations: 107.2 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.242e-05/0.2673, allocations: 16 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2673, allocations: 3.938 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.2673, allocations: 7.938 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.2674, allocations: 17.23 kB / 0.9834 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.2677, allocations: 194.9 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.2678, allocations: 0.7004 MB / 0.9843 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.2679, allocations: 8.422 kB / 0.9843 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.2679, allocations: 11.44 kB / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2679, allocations: 0 / 0.9843 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.002042/0.2699, allocations: 439.9 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)