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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008689/0.008689, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.993/1.993, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006232/0.0006233, allocations: 15.56 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3485, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001116/0.3497, allocations: 0.5632 MB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001145/0.3498, allocations: 43.78 kB / 0.7885 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.3499, allocations: 4 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.42e-05/0.3499, allocations: 7.922 kB / 0.7885 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.35, allocations: 11.94 kB / 0.7885 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.62e-05/0.3501, allocations: 11.98 kB / 0.7885 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000105/0.3502, allocations: 67.78 kB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3504, allocations: 41.38 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.3504, allocations: 15.88 kB / 0.7886 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.3505, allocations: 31.73 kB / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3505, allocations: 0 / 0.7886 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.3505, allocations: 4 kB / 0.7887 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.3506, allocations: 7.922 kB / 0.7887 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.3506, allocations: 61.39 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3507, allocations: 79.89 kB / 0.7888 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3508, allocations: 0 / 0.7888 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3508, allocations: 0 / 0.7888 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3508, allocations: 0 / 0.7888 GB, free: 10.64 MB / 0.6075 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.0003959/0.3512, allocations: 375.2 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3512, allocations: 8.031 kB / 0.7892 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.3513, allocations: 8.844 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.3515, allocations: 200.1 kB / 0.7894 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3515, allocations: 4.375 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.3515, allocations: 12.38 kB / 0.7894 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3517, allocations: 98.67 kB / 0.7895 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3517, allocations: 192 / 0.7895 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3517, allocations: 3.938 kB / 0.7895 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3518, allocations: 4 kB / 0.7895 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.144e-05/0.3518, allocations: 39.92 kB / 0.7895 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.3524, allocations: 448.5 kB / 0.7899 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.631e-05/0.3525, allocations: 46.34 kB / 0.79 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.3525, allocations: 21.77 kB / 0.79 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3525, allocations: 7.984 kB / 0.79 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3526, allocations: 38.56 kB / 0.7901 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3526, allocations: 4 kB / 0.7901 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001862/0.3528, allocations: 53.48 kB / 0.7901 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3528, allocations: 81.11 kB / 0.7902 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.353, allocations: 175.3 kB / 0.7904 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.353, allocations: 25.95 kB / 0.7904 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.3531, allocations: 112 kB / 0.7905 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.799e-06/0.3531, allocations: 7.906 kB / 0.7905 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.3531, allocations: 13.72 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3533, allocations: 318.8 kB / 0.7908 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3533, allocations: 4 kB / 0.7908 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.399e-05/0.3533, allocations: 21.72 kB / 0.7908 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.3534, allocations: 29.72 kB / 0.7909 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3534, allocations: 0 / 0.7909 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.389e-05/0.3535, allocations: 65.53 kB / 0.7909 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3535, allocations: 4 kB / 0.7909 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3535, allocations: 3.938 kB / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.3535, allocations: 0 / 0.7909 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.693e-05/0.3536, allocations: 8 kB / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3536, allocations: 0 / 0.7909 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.563e-05/0.3537, allocations: 11.84 kB / 0.7909 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.3537, allocations: 4.062 kB / 0.791 GB, free: 8.16 MB / 0.6075 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 8.727e-05/0.3538, allocations: 121.8 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.3538, allocations: 7.906 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.107e-05/0.3538, allocations: 16.5 kB / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3539, allocations: 0 / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3539, allocations: 0 / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3539, allocations: 0 / 0.7911 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.3543, allocations: 486.7 kB / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3543, allocations: 0 / 0.7916 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.3543, allocations: 4 kB / 0.7916 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3543, allocations: 0 / 0.7916 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.3543, allocations: 4 kB / 0.7916 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3543, allocations: 3.938 kB / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3543, allocations: 0 / 0.7916 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3544, allocations: 89.8 kB / 0.7917 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.3545, allocations: 89 kB / 0.7917 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.3545, allocations: 4 kB / 0.7917 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.537e-05/0.3546, allocations: 4 kB / 0.7917 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.3546, allocations: 3.938 kB / 0.7918 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.3546, allocations: 0 / 0.7918 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.762e-05/0.3547, allocations: 124 kB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3547, allocations: 0 / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001858/0.3549, allocations: 12.03 kB / 0.7919 GB, free: 7.098 MB / 0.6075 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 0.0001192/0.355, allocations: 99.25 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.633e-05/0.3551, allocations: 19.98 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3551, allocations: 0 / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.504e-05/0.3551, allocations: 7.938 kB / 0.792 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.3553, allocations: 14.86 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.3557, allocations: 192.5 kB / 0.7922 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.356, allocations: 0.6965 MB / 0.7929 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.68e-05/0.356, allocations: 8.422 kB / 0.7929 GB, free: 6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.356, allocations: 11.44 kB / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.356, allocations: 0 / 0.7929 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of Templates: time 0.002386/0.3584, allocations: 464.5 kB / 0.7933 GB, free: 5.539 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: