Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.644/5.644, allocations: 0.5623 GB / 0.5776 GB, free: 3.402 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.002471/0.00247, allocations: 356.2 kB / 0.6447 GB, free: 185.7 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.542/4.542, allocations: 410.7 MB / 1.113 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001878/0.001878, allocations: 179.8 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.000516, allocations: 16 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8128, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00113/0.814, allocations: 0.5337 MB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001353/0.8141, allocations: 47.78 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.8142, allocations: 0 / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.8143, allocations: 8.578 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 9.092e-05/0.8144, allocations: 6.375 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 5.099e-05/0.8144, allocations: 15.98 kB / 1.462 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.8145, allocations: 63.78 kB / 1.462 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.8147, allocations: 34.94 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.8148, allocations: 18.3 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.247e-05/0.8148, allocations: 27.8 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.8149, allocations: 0 / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.8149, allocations: 4 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.8149, allocations: 7.938 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.8149, allocations: 37.64 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.277e-05/0.815, allocations: 58.94 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.8151, allocations: 0 / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8151, allocations: 3.938 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.8151, allocations: 1.781 kB / 1.462 GB, free: 283.5 MB / 0.8542 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.0004055/0.8155, allocations: 378.9 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.8156, allocations: 11.62 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.8156, allocations: 8.406 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.8158, allocations: 203 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.8159, allocations: 10.17 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.8159, allocations: 4 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.8161, allocations: 99.66 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8161, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.8161, allocations: 8.75 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.8162, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.8163, allocations: 35.28 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.8169, allocations: 459.9 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.417e-05/0.817, allocations: 39.83 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.406e-05/0.817, allocations: 17.78 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.817, allocations: 1 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.8171, allocations: 36 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.8171, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002042/0.8173, allocations: 58.84 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.8173, allocations: 81.11 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.8175, allocations: 167.3 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.8175, allocations: 26.98 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.8176, allocations: 104 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.8176, allocations: 7.906 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.8176, allocations: 1.469 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.8177, allocations: 318.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.8177, allocations: 8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.8178, allocations: 22.27 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.8178, allocations: 9.062 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8178, allocations: 1 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001145/0.818, allocations: 66.12 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.818, allocations: 7.984 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.818, allocations: 5.719 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.818, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.8181, allocations: 11.94 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.8182, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.37e-05/0.8182, allocations: 7.844 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.8183, allocations: 5.625 kB / 1.464 GB, free: 281.1 MB / 0.8542 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.603e-05/0.8183, allocations: 117.3 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.8184, allocations: 11.86 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.8184, allocations: 17.23 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.8185, allocations: 2.781 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8185, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.8185, allocations: 89.02 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.8186, allocations: 7.922 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.8187, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.8187, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001161/0.8188, allocations: 193.8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001354/0.819, allocations: 303.6 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.99e-05/0.819, allocations: 9.062 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001026/0.8191, allocations: 131.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of Backend: time 8.02e-07/0.8192, allocations: 0.6562 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000567/0.8197, allocations: 91.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0005267/0.8203, allocations: 0.6336 MB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003574/0.8239, allocations: 0.5191 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB