Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.941/4.941, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 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.002386/0.002386, allocations: 358.2 kB / 0.6441 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.147/4.147, allocations: 410.7 MB / 1.112 GB, free: 5.941 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.001793/0.001793, allocations: 192.3 kB / 1.225 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007927/0.0007929, allocations: 16 kB / 1.348 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6863, 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_Btu): time 0.0008895/0.6872, allocations: 0.5373 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001071/0.6873, allocations: 53.03 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.6874, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.782e-05/0.6874, allocations: 5.375 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.393e-05/0.6875, allocations: 7.922 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.682e-05/0.6876, allocations: 12 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.418e-05/0.6877, allocations: 63.78 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.6878, allocations: 41.61 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.09e-05/0.6878, allocations: 19.86 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.6879, allocations: 19.86 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.6879, allocations: 0 / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-06/0.688, allocations: 8.906 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.688, allocations: 4 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.935e-05/0.688, allocations: 37.64 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.505e-05/0.6881, allocations: 59.75 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.448e-06/0.6881, allocations: 0 / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.905e-06/0.6881, allocations: 3.938 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.6881, allocations: 0 / 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.000321/0.6885, allocations: 377.8 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.6885, allocations: 15.61 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.6886, allocations: 11.91 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.6887, allocations: 194.7 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.6888, allocations: 8 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.6888, allocations: 5 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.689, allocations: 99.94 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.689, allocations: 1.734 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.689, allocations: 1.781 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.396e-06/0.689, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.641e-05/0.6891, allocations: 35.98 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005292/0.6897, allocations: 454.8 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.085e-05/0.6897, allocations: 39.92 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.6898, allocations: 19.22 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-06/0.6898, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.6898, allocations: 37.38 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.737e-06/0.6898, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001915/0.69, allocations: 57.53 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.6901, allocations: 77.11 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.6902, allocations: 172.2 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.079e-06/0.6903, allocations: 25.7 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.6903, allocations: 108 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.121e-05/0.6903, allocations: 8.719 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.721e-06/0.6904, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/0.6904, allocations: 323.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.526e-05/0.6905, allocations: 9.531 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.968e-05/0.6905, allocations: 17.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.6905, allocations: 9.031 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-06/0.6906, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001093/0.6907, allocations: 66.16 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6907, allocations: 8.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.713e-06/0.6907, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.6907, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.111e-05/0.6908, allocations: 13.33 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.569e-06/0.6908, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.275e-05/0.6909, allocations: 11.84 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.6909, allocations: 1.031 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.376e-05/0.691, allocations: 116.1 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.691, allocations: 15.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.6911, allocations: 12.56 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-06/0.6911, allocations: 3.984 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.134e-06/0.6911, allocations: 4.875 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.519e-06/0.6911, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.6915, allocations: 483.1 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6915, allocations: 8 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.6916, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.143e-06/0.6916, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-06/0.6916, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.45e-06/0.6916, allocations: 3.984 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6916, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.907e-05/0.6917, allocations: 80.67 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.6918, allocations: 89 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.6918, allocations: 5.094 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.6918, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.6919, allocations: 4.438 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-06/0.6919, allocations: 4.688 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.95e-05/0.692, allocations: 127.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.67e-07/0.692, allocations: 0.5625 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002594/0.6923, allocations: 9.969 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.898e-05/0.6924, allocations: 99.23 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.296e-05/0.6925, allocations: 17.66 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.154e-06/0.6925, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.1e-05/0.6925, 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.0002073/0.6927, allocations: 15.89 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.0003663/0.6931, allocations: 193.6 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.6933, allocations: 0.7019 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.6933, allocations: 10.23 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.6934, allocations: 11.44 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.654e-06/0.6934, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.002993/0.6964, allocations: 446.5 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB