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.009/5.009, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 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.002996/0.002995, allocations: 357.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.219/4.219, allocations: 410.7 MB / 1.112 GB, free: 5.977 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.001759/0.001759, allocations: 180.1 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004921, allocations: 15.98 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5833/0.5838, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0009067/0.5847, allocations: 0.5373 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001059/0.5849, allocations: 47.7 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.457e-05/0.5849, allocations: 0 / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.275e-05/0.585, allocations: 9.031 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.5851, allocations: 7.922 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.162e-05/0.5851, allocations: 12 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.657e-05/0.5852, allocations: 65.84 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.5853, allocations: 30.88 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.703e-05/0.5854, allocations: 15.88 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.31e-05/0.5855, allocations: 21.64 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.5855, allocations: 7.984 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.61e-06/0.5855, allocations: 0 / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.503e-05/0.5855, allocations: 15.92 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.5856, allocations: 38.14 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.347e-05/0.5856, allocations: 49.98 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.633e-06/0.5857, allocations: 4.75 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.646e-06/0.5857, allocations: 0 / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.412e-06/0.5857, allocations: 5.062 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.0003419/0.586, allocations: 371.8 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.5861, allocations: 12.38 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.5861, allocations: 11.91 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.5863, allocations: 211 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5864, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.5864, allocations: 10.47 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.5866, allocations: 87.39 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.852e-06/0.5866, allocations: 3.938 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.5866, allocations: 5.281 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.027e-06/0.5866, allocations: 9.531 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.5867, allocations: 35.98 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005333/0.5873, allocations: 447.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.5873, allocations: 39.58 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.079e-05/0.5874, allocations: 23.56 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.5874, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.5874, allocations: 39.53 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.731e-06/0.5874, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002052/0.5877, allocations: 50.3 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.5877, allocations: 90.38 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.5878, allocations: 166.6 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.648e-06/0.5879, allocations: 28.11 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.921e-05/0.5879, allocations: 104 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.261e-06/0.5879, allocations: 7.844 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.588, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.588, allocations: 322.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/0.5881, allocations: 8.719 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.5881, allocations: 18.72 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.318e-05/0.5882, allocations: 4.562 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.872e-06/0.5882, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001128/0.5883, allocations: 67.27 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5883, allocations: 8 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.5884, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5884, allocations: 1.625 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.5885, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5885, allocations: 7.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.364e-05/0.5885, allocations: 11.83 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-06/0.5886, allocations: 4.688 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 6.536e-05/0.5886, allocations: 110.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.5887, allocations: 20.89 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.86e-05/0.5887, allocations: 7.219 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.321e-06/0.5888, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.242e-06/0.5888, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.193e-06/0.5888, allocations: 3.938 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.5892, allocations: 487.3 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.668e-06/0.5892, allocations: 1.25 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/0.5892, allocations: 7.938 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5892, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.195e-06/0.5893, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.569e-06/0.5893, allocations: 0.875 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.222e-06/0.5893, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.016e-05/0.5894, allocations: 87.94 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.5894, allocations: 90.69 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.5895, allocations: 0.6562 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.5895, allocations: 1.25 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.5895, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.278e-06/0.5896, allocations: 4 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.304e-05/0.5897, allocations: 132 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.79e-07/0.5897, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000279/0.59, allocations: 9.594 kB / 1.465 GB, free: 280 MB / 0.8542 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 9.352e-05/0.5901, allocations: 95.25 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.766e-05/0.5902, allocations: 22.67 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.529e-06/0.5902, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.5902, allocations: 11.94 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.5904, allocations: 16.88 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.5908, allocations: 198.7 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.591, allocations: 0.7003 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.12e-05/0.591, allocations: 9.016 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.591, allocations: 12.16 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.703e-06/0.5911, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.002969/0.594, allocations: 443.3 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB