Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.158/5.158, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002711/0.002711, allocations: 360.7 kB / 0.6446 GB, free: 21.5 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.696/4.696, allocations: 410.7 MB / 1.113 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0019/0.0019, allocations: 171.2 kB / 1.226 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005359, allocations: 12.41 kB / 1.349 GB, free: 321 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2281, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.0011/0.2292, allocations: 0.5378 MB / 1.462 GB, free: 220.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.2294, allocations: 43.78 kB / 1.462 GB, free: 220.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.2294, allocations: 0 / 1.462 GB, free: 220.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.2295, allocations: 10.28 kB / 1.462 GB, free: 220.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.536e-05/0.2296, allocations: 7.922 kB / 1.462 GB, free: 220.1 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 5.573e-05/0.2296, allocations: 12 kB / 1.462 GB, free: 220.1 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.2298, allocations: 59.84 kB / 1.462 GB, free: 220.1 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2299, allocations: 44.86 kB / 1.462 GB, free: 220 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.23, allocations: 11.88 kB / 1.462 GB, free: 220 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.23, allocations: 27.8 kB / 1.462 GB, free: 220 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2301, allocations: 3.938 kB / 1.462 GB, free: 220 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.2301, allocations: 4 kB / 1.462 GB, free: 220 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.2301, allocations: 12.7 kB / 1.462 GB, free: 220 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.2301, allocations: 37.64 kB / 1.462 GB, free: 219.9 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.697e-05/0.2302, allocations: 61.14 kB / 1.462 GB, free: 219.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2303, allocations: 0 / 1.462 GB, free: 219.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2303, allocations: 0 / 1.462 GB, free: 219.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2303, allocations: 0.6562 kB / 1.462 GB, free: 219.9 MB / 0.8073 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.0003971/0.2307, allocations: 376.3 kB / 1.463 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.2307, allocations: 8.75 kB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.2308, allocations: 7.906 kB / 1.463 GB, free: 219.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.231, allocations: 198.7 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.231, allocations: 8 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.923e-05/0.231, allocations: 4 kB / 1.463 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.2312, allocations: 94.3 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2313, allocations: 0 / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.2313, allocations: 8 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.2313, allocations: 7.969 kB / 1.463 GB, free: 219.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.2314, allocations: 39.92 kB / 1.463 GB, free: 219 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.232, allocations: 451.5 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.2321, allocations: 42.14 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.2321, allocations: 14.59 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.2322, allocations: 5.938 kB / 1.463 GB, free: 218.5 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.2322, allocations: 30.56 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.2322, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/0.2324, allocations: 58.58 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.2324, allocations: 82 kB / 1.464 GB, free: 218.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2326, allocations: 167.4 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.2326, allocations: 25.7 kB / 1.464 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.2327, allocations: 119.1 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.897e-06/0.2327, allocations: 4 kB / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.2327, allocations: 0 / 1.464 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.2328, allocations: 318.8 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.2328, allocations: 8 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.2329, allocations: 17.72 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.2329, allocations: 18.47 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.233, allocations: 3.938 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001135/0.2331, allocations: 69.39 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2331, allocations: 4 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2331, allocations: 4.531 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2331, allocations: 0.625 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.2332, allocations: 12 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.2333, allocations: 0.625 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.2333, allocations: 8.922 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.2333, allocations: 4 kB / 1.464 GB, free: 217.5 MB / 0.8073 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 7.071e-05/0.2334, allocations: 115.4 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.2335, allocations: 12.67 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.043e-05/0.2335, allocations: 12.56 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2335, allocations: 1.344 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2336, allocations: 0 / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.2336, allocations: 92.91 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.2336, allocations: 0.6875 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.2338, allocations: 0 / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.2338, allocations: 4.688 kB / 1.465 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00012/0.2339, allocations: 207.4 kB / 1.465 GB, free: 217 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001317/0.2341, allocations: 290 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.044e-05/0.2341, allocations: 9.719 kB / 1.465 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001013/0.2342, allocations: 130.2 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of Backend: time 1.062e-06/0.2342, allocations: 0 / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.2347, allocations: 97.56 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of SimCode: time 0.0004864/0.2352, allocations: 0.6337 MB / 1.466 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of Templates: time 0.003328/0.2386, allocations: 0.5309 MB / 1.466 GB, free: 215.3 MB / 0.8073 GB