Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 252 MB / 268 MB, free: 10.85 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.0009737/0.0009738, allocations: 180.7 kB / 327.6 MB, free: 2.094 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.609/1.609, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0007445/0.0007446, allocations: 91.28 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002998, allocations: 11.44 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1642, allocations: 106.3 MB / 0.9015 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0008436/0.165, allocations: 0.5809 MB / 0.902 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 9.382e-05/0.1652, allocations: 47.77 kB / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.1652, allocations: 0 / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.1652, allocations: 3.938 kB / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.696e-05/0.1653, allocations: 3.938 kB / 0.9021 GB, free: 62.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.738e-05/0.1654, allocations: 19.98 kB / 0.9021 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.803e-05/0.1655, allocations: 67.78 kB / 0.9022 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1656, allocations: 33.39 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.1656, allocations: 19.86 kB / 0.9022 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.1657, allocations: 27.78 kB / 0.9022 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.1657, allocations: 4 kB / 0.9022 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-06/0.1657, allocations: 4 kB / 0.9022 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.1658, allocations: 15.88 kB / 0.9023 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.1658, allocations: 53.44 kB / 0.9023 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.618e-05/0.1659, allocations: 55.88 kB / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1659, allocations: 0 / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1659, allocations: 0 / 0.9024 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.1659, allocations: 4 kB / 0.9024 GB, free: 62.52 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.0003036/0.1662, allocations: 371.5 kB / 0.9027 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.1662, allocations: 8.031 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1663, allocations: 16.75 kB / 0.9028 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.1664, allocations: 200.1 kB / 0.9029 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1664, allocations: 4.375 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.1665, allocations: 8.375 kB / 0.903 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.1666, allocations: 95.89 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.1666, allocations: 192 / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1666, allocations: 3.938 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1666, allocations: 4 kB / 0.9031 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.442e-05/0.1667, allocations: 43.92 kB / 0.9031 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.1671, allocations: 440.6 kB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.201e-05/0.1671, allocations: 45.17 kB / 0.9036 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.1672, allocations: 21.84 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.1672, allocations: 0 / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.452e-05/0.1672, allocations: 38.56 kB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1672, allocations: 0 / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.1674, allocations: 53.48 kB / 0.9037 GB, free: 61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.1674, allocations: 81.36 kB / 0.9037 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1675, allocations: 178.2 kB / 0.9039 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.1675, allocations: 25.7 kB / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.1676, allocations: 115.8 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.141e-06/0.1676, allocations: 0 / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.1676, allocations: 0 / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.886e-05/0.1676, allocations: 322.8 kB / 0.9044 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.667e-05/0.1676, allocations: 8 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.1677, allocations: 17.7 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.647e-05/0.1677, allocations: 37.66 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1677, allocations: 0 / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.134e-05/0.1678, allocations: 69.44 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.1678, allocations: 4 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1678, allocations: 3.938 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1678, allocations: 0 / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.1679, allocations: 8 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1679, allocations: 4.062 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.168, allocations: 7.938 kB / 0.9045 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.168, allocations: 3.984 kB / 0.9045 GB, free: 60.07 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.667e-05/0.168, allocations: 113.8 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.1681, allocations: 7.906 kB / 0.9046 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.007e-05/0.1681, allocations: 16.5 kB / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1681, allocations: 0 / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1681, allocations: 0 / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1681, allocations: 0 / 0.9046 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1684, allocations: 490.6 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1684, allocations: 4 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.1684, allocations: 4 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1684, allocations: 0 / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.1684, allocations: 0 / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1684, allocations: 4 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1684, allocations: 3.938 kB / 0.9051 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.041e-05/0.1685, allocations: 85.89 kB / 0.9052 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.1685, allocations: 93 kB / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.1686, allocations: 0 / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/0.1686, allocations: 4 kB / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.1686, allocations: 0 / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.1686, allocations: 0 / 0.9053 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.049e-05/0.1687, allocations: 128.9 kB / 0.9054 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 3.938 kB / 0.9054 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001793/0.1689, allocations: 12 kB / 0.9054 GB, free: 59.01 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.474e-05/0.169, allocations: 96.66 kB / 0.9055 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.659e-05/0.169, allocations: 23.92 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.169, allocations: 0 / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.1691, allocations: 4.188 kB / 0.9056 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.1692, allocations: 19.94 kB / 0.9056 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.1695, allocations: 229.5 kB / 0.9058 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.1696, allocations: 0.6965 MB / 0.9065 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.494e-05/0.1696, allocations: 11.44 kB / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1696, allocations: 0 / 0.9065 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of Templates: time 0.00175/0.1714, allocations: 0.9171 MB / 0.9074 GB, free: 56.95 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)