Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 252 MB / 268 MB, free: 10.88 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008951/0.0008953, allocations: 170.7 kB / 327.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.83/1.83, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007702/0.0007702, allocations: 82.38 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 9 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1926, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0009701/0.1936, allocations: 0.5771 MB / 0.902 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.319e-05/0.1937, allocations: 43.78 kB / 0.9021 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.566e-05/0.1938, allocations: 0 / 0.9021 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.1938, allocations: 3.938 kB / 0.9021 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.939e-05/0.1939, allocations: 7.922 kB / 0.9021 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.95e-05/0.1939, allocations: 23.98 kB / 0.9021 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.194, allocations: 63.8 kB / 0.9022 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1941, allocations: 41.36 kB / 0.9022 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.1942, allocations: 19.88 kB / 0.9022 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.1942, allocations: 27.8 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1943, allocations: 0 / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.045e-06/0.1943, allocations: 4 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.1943, allocations: 7.922 kB / 0.9023 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.1943, allocations: 57.45 kB / 0.9023 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.322e-05/0.1944, allocations: 55.8 kB / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1944, allocations: 4 kB / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1944, allocations: 0 / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1944, allocations: 0 / 0.9024 GB, free: 62.58 MB / 0.6042 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.0003024/0.1947, allocations: 375.5 kB / 0.9027 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1948, allocations: 15.95 kB / 0.9027 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.1948, allocations: 16.75 kB / 0.9028 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.195, allocations: 188.2 kB / 0.9029 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.195, allocations: 8.375 kB / 0.9029 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.195, allocations: 4.375 kB / 0.9029 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1951, allocations: 106.8 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1952, allocations: 192 / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1952, allocations: 7.938 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1952, allocations: 4 kB / 0.9031 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.624e-05/0.1953, allocations: 35.92 kB / 0.9031 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.1957, allocations: 448.6 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/0.1958, allocations: 37.16 kB / 0.9036 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.1958, allocations: 25.88 kB / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.1958, allocations: 0 / 0.9036 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.1958, allocations: 38.56 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1958, allocations: 4 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001696/0.196, allocations: 65.45 kB / 0.9037 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.1961, allocations: 77.11 kB / 0.9038 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1962, allocations: 170.2 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.1962, allocations: 29.64 kB / 0.904 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.1962, allocations: 107.9 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-06/0.1962, allocations: 4 kB / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.1963, allocations: 0 / 0.9041 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.1963, allocations: 323.1 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.1963, allocations: 8 kB / 0.9044 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.1963, allocations: 21.7 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.579e-05/0.1964, allocations: 29.66 kB / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1964, allocations: 0 / 0.9044 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.879e-05/0.1965, allocations: 65.52 kB / 0.9045 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.1965, allocations: 8 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1965, allocations: 3.938 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1965, allocations: 4 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.1966, allocations: 7.984 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-06/0.1966, allocations: 0 / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/0.1966, allocations: 7.938 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.1966, allocations: 0 / 0.9045 GB, free: 60.12 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.82e-05/0.1967, allocations: 113.8 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.1967, allocations: 7.906 kB / 0.9046 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.004e-05/0.1968, allocations: 24.48 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1968, allocations: 0 / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1968, allocations: 3.938 kB / 0.9047 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1968, allocations: 4 kB / 0.9047 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.1971, allocations: 474.7 kB / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1971, allocations: 0 / 0.9051 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.386e-05/0.1971, allocations: 4 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1971, allocations: 8.047 kB / 0.9051 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1971, allocations: 8 kB / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1972, allocations: 0 / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1972, allocations: 0 / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.005e-05/0.1972, allocations: 81.78 kB / 0.9052 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.871e-05/0.1973, allocations: 89 kB / 0.9053 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.1973, allocations: 8.031 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.1973, allocations: 0 / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.1973, allocations: 0 / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1973, allocations: 3.938 kB / 0.9053 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.1974, allocations: 128.9 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1974, allocations: 0 / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001696/0.1976, allocations: 8 kB / 0.9054 GB, free: 59.07 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.91e-05/0.1977, allocations: 100.8 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.917e-05/0.1977, allocations: 23.94 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1978, allocations: 0 / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.22e-05/0.1978, allocations: 4 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.1979, allocations: 11.94 kB / 0.9056 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002545/0.1982, allocations: 233.8 kB / 0.9058 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.592e-05/0.1983, allocations: 0.6965 MB / 0.9065 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.1983, allocations: 11.44 kB / 0.9065 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of SimCode: time 3.71e-07/0.1983, allocations: 4 kB / 0.9065 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.001684/0.2, allocations: 0.9132 MB / 0.9074 GB, free: 57 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)