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 4.979/4.979, allocations: 0.5623 GB / 0.5769 GB, free: 3.301 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004261/0.00426, allocations: 352.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.206/4.206, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001682/0.001681, allocations: 184.1 kB / 1.225 GB, free: 35.95 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004855/0.0004858, allocations: 12.53 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1549, allocations: 115.3 MB / 1.461 GB, free: 6.574 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0008555/0.1558, allocations: 0.5365 MB / 1.461 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001033/0.1559, allocations: 47.78 kB / 1.461 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.156, allocations: 4 kB / 1.461 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.156, allocations: 7.875 kB / 1.461 GB, free: 5.977 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.185e-05/0.1561, allocations: 7.922 kB / 1.461 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.863e-05/0.1561, allocations: 12 kB / 1.461 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.227e-05/0.1562, allocations: 59.84 kB / 1.461 GB, free: 5.898 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1564, allocations: 33.56 kB / 1.461 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.561e-05/0.1564, allocations: 15.88 kB / 1.461 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.1565, allocations: 31.78 kB / 1.461 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1565, allocations: 0 / 1.461 GB, free: 5.812 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.1565, allocations: 4 kB / 1.461 GB, free: 5.809 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1565, allocations: 7.875 kB / 1.461 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.1566, allocations: 37.64 kB / 1.462 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.775e-05/0.1566, allocations: 64.08 kB / 1.462 GB, free: 5.695 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.904e-06/0.1567, allocations: 0 / 1.462 GB, free: 5.695 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.888e-06/0.1567, allocations: 0 / 1.462 GB, free: 5.695 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.669e-06/0.1567, allocations: 0 / 1.462 GB, free: 5.695 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.0003188/0.157, allocations: 379 kB / 1.462 GB, free: 5.277 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.1571, allocations: 8.031 kB / 1.462 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.716e-05/0.1571, allocations: 7.906 kB / 1.462 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1573, allocations: 194.8 kB / 1.462 GB, free: 5.031 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1573, allocations: 4 kB / 1.462 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.1573, allocations: 8 kB / 1.462 GB, free: 5.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1575, allocations: 106.4 kB / 1.462 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.416e-06/0.1575, allocations: 0 / 1.462 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1575, allocations: 0 / 1.462 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-06/0.1576, allocations: 0 / 1.462 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.242e-05/0.1577, allocations: 39.92 kB / 1.462 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.1582, allocations: 456.5 kB / 1.463 GB, free: 4.367 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.551e-05/0.1583, allocations: 42.38 kB / 1.463 GB, free: 4.309 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.1583, allocations: 17.77 kB / 1.463 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.698e-06/0.1583, allocations: 0 / 1.463 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1584, allocations: 34.56 kB / 1.463 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.724e-06/0.1584, allocations: 4 kB / 1.463 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001993/0.1586, allocations: 57.53 kB / 1.463 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.1586, allocations: 81.05 kB / 1.463 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1588, allocations: 172.3 kB / 1.463 GB, free: 3.902 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.1588, allocations: 25.7 kB / 1.463 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.1589, allocations: 111.9 kB / 1.463 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-06/0.1589, allocations: 4 kB / 1.463 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-06/0.1589, allocations: 0 / 1.463 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.159, allocations: 323.1 kB / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.159, allocations: 8 kB / 1.464 GB, free: 3.422 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.159, allocations: 17.72 kB / 1.464 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.425e-05/0.1591, allocations: 15.92 kB / 1.464 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.941e-06/0.1591, allocations: 0 / 1.464 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001085/0.1592, allocations: 69.41 kB / 1.464 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1592, allocations: 4 kB / 1.464 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.846e-06/0.1592, allocations: 8.062 kB / 1.464 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1593, allocations: 4 kB / 1.464 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.1593, allocations: 11.92 kB / 1.464 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.755e-06/0.1594, allocations: 0 / 1.464 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.1594, allocations: 4 kB / 1.464 GB, free: 3.277 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-06/0.1594, allocations: 0 / 1.464 GB, free: 3.277 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.1595, allocations: 118.4 kB / 1.464 GB, free: 3.152 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.1596, allocations: 11.86 kB / 1.464 GB, free: 3.141 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.837e-05/0.1596, allocations: 12.56 kB / 1.464 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1596, allocations: 4 kB / 1.464 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.322e-06/0.1596, allocations: 3.984 kB / 1.464 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1596, allocations: 4 kB / 1.464 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.16, allocations: 478.7 kB / 1.464 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-06/0.1601, allocations: 0 / 1.464 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.1601, allocations: 4 kB / 1.464 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.295e-06/0.1601, allocations: 0 / 1.464 GB, free: 2.582 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-06/0.1601, allocations: 8.062 kB / 1.464 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.359e-06/0.1601, allocations: 0 / 1.464 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.1601, allocations: 3.984 kB / 1.464 GB, free: 2.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.773e-05/0.1602, allocations: 77.8 kB / 1.464 GB, free: 2.473 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.1603, allocations: 96.94 kB / 1.464 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.1603, allocations: 4 kB / 1.464 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.473e-05/0.1604, allocations: 4.031 kB / 1.464 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.1604, allocations: 0 / 1.464 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-06/0.1604, allocations: 0 / 1.464 GB, free: 2.352 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.099e-05/0.1605, allocations: 128 kB / 1.465 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.89e-07/0.1605, allocations: 0 / 1.465 GB, free: 2.227 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002525/0.1608, allocations: 8 kB / 1.465 GB, free: 2.219 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 (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.348e-05/0.1609, allocations: 99.23 kB / 1.465 GB, free: 2.113 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.161, allocations: 27.88 kB / 1.465 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.632e-06/0.161, allocations: 0 / 1.465 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.161, allocations: 8 kB / 1.465 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.1612, allocations: 11.95 kB / 1.465 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.1616, allocations: 198.1 kB / 1.465 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.1618, allocations: 0.6965 MB / 1.466 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.497e-05/0.1618, allocations: 8.422 kB / 1.466 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.028e-05/0.1619, allocations: 11.44 kB / 1.466 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of SimCode: time 3.596e-06/0.1619, allocations: 4 kB / 1.466 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of Templates: time 0.003017/0.1649, allocations: 451.8 kB / 1.466 GB, free: 0.6602 MB / 0.6042 GB