Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.723/2.723, allocations: 287.9 MB / 302.9 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001429, allocations: 178.5 kB / 371.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.18/2.18, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 95.58 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004582, allocations: 12.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1565, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0008455/0.1574, allocations: 0.5365 MB / 0.9793 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.1575, allocations: 39.8 kB / 0.9793 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.1576, allocations: 4 kB / 0.9793 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.025e-05/0.1576, allocations: 7.922 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.1577, allocations: 11.92 kB / 0.9793 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.814e-05/0.1577, allocations: 15.98 kB / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.655e-05/0.1578, allocations: 39.91 kB / 0.9794 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1579, allocations: 37.55 kB / 0.9794 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.885e-05/0.158, allocations: 15.88 kB / 0.9794 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.033e-05/0.1581, allocations: 19.86 kB / 0.9795 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1581, allocations: 4 kB / 0.9795 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-06/0.1581, allocations: 7.938 kB / 0.9795 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1581, allocations: 11.92 kB / 0.9795 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.1582, allocations: 37.64 kB / 0.9795 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.431e-05/0.1582, allocations: 60.08 kB / 0.9796 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1583, allocations: 0 / 0.9796 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.818e-06/0.1583, allocations: 0 / 0.9796 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.027e-06/0.1583, allocations: 0 / 0.9796 GB, free: 27.3 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.0003097/0.1586, allocations: 375 kB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1586, allocations: 12.03 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1587, allocations: 11.91 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.1589, allocations: 205.4 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1589, allocations: 8 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.1589, allocations: 4 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1591, allocations: 92.33 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.591e-06/0.1591, allocations: 0 / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1591, allocations: 7.938 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.311e-06/0.1591, allocations: 4 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1592, allocations: 43.91 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.1598, allocations: 444.5 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.412e-05/0.1598, allocations: 49.33 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.239e-06/0.1599, allocations: 0 / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.1599, allocations: 30.56 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.79e-06/0.1599, allocations: 0 / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001928/0.1601, allocations: 57.61 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.1601, allocations: 77.11 kB / 0.9809 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.1603, allocations: 175.6 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.667e-06/0.1603, allocations: 25.7 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.1604, allocations: 115.9 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.55e-06/0.1604, allocations: 4 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-06/0.1604, allocations: 0 / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.1605, allocations: 322.8 kB / 0.9815 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.4e-05/0.1605, allocations: 4 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.951e-05/0.1605, allocations: 21.66 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.062e-05/0.1606, allocations: 12 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.284e-06/0.1606, allocations: 0 / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001094/0.1607, allocations: 73.39 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1607, allocations: 4 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1608, allocations: 0 / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1608, allocations: 4 kB / 0.9817 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.1609, allocations: 7.938 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.565e-06/0.1609, allocations: 0 / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.1609, allocations: 4.062 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-06/0.1609, allocations: 4 kB / 0.9817 GB, free: 24.9 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 6.294e-05/0.161, allocations: 117.8 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.1611, allocations: 11.86 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.1611, allocations: 12.56 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-06/0.1611, allocations: 0 / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.467e-06/0.1611, allocations: 0 / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1612, allocations: 4 kB / 0.9818 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.1615, allocations: 486.7 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-06/0.1616, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.058e-05/0.1616, allocations: 4 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.087e-06/0.1616, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-06/0.1616, allocations: 4 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.1616, allocations: 0 / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.737e-06/0.1616, allocations: 3.938 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.1618, allocations: 103.6 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.1618, allocations: 88.95 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1618, allocations: 7.984 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.1619, allocations: 0 / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.1619, allocations: 0 / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-06/0.1619, allocations: 4 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001048/0.162, allocations: 128 kB / 0.9826 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.43e-07/0.162, allocations: 4 kB / 0.9826 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000251/0.1623, allocations: 8 kB / 0.9826 GB, free: 23.82 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.972e-05/0.1624, allocations: 95.25 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.401e-05/0.1625, allocations: 23.92 kB / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.577e-06/0.1625, allocations: 0 / 0.9827 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.027e-05/0.1625, allocations: 8 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1627, allocations: 9.922 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.163, allocations: 198.9 kB / 0.9829 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.1632, allocations: 0.7043 MB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.1632, allocations: 4.438 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.1633, allocations: 11.44 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.231e-06/0.1633, allocations: 0 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.0028/0.1661, allocations: 447.9 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB