Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.172/5.172, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 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.002387/0.002386, 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.231/4.231, allocations: 410.7 MB / 1.112 GB, free: 5.945 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.001776/0.001775, allocations: 189 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005009/0.0005014, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5843/0.5848, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.000863/0.5858, allocations: 0.5373 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001051/0.5859, allocations: 45.09 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.586, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.586, allocations: 5.031 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.936e-05/0.5861, allocations: 11.92 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.797e-05/0.5861, allocations: 11.98 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.822e-05/0.5862, allocations: 65.91 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.5864, allocations: 38.19 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.5864, allocations: 26.48 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.971e-05/0.5865, allocations: 19.86 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.5865, allocations: 0 / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-06/0.5865, allocations: 4 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.5865, allocations: 7.938 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.5866, allocations: 37.64 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.485e-05/0.5867, allocations: 61.91 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.485e-06/0.5867, allocations: 1 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5867, allocations: 4 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.892e-06/0.5867, 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.0003247/0.587, allocations: 368.8 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5871, allocations: 15.61 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/0.5871, allocations: 12.47 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.5873, allocations: 203.2 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5873, allocations: 2.969 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.5874, allocations: 12 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.5875, allocations: 98.28 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.409e-06/0.5876, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5876, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-06/0.5876, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.5877, allocations: 35.98 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000524/0.5882, allocations: 455.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.701e-05/0.5883, allocations: 40.92 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.5884, allocations: 13.84 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.5884, allocations: 0.7188 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.5884, allocations: 43.12 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.999e-06/0.5884, allocations: 0.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001874/0.5886, allocations: 56.28 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.5887, allocations: 81.11 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.5888, allocations: 166.6 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.762e-06/0.5888, allocations: 29.7 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.5889, allocations: 102.2 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.802e-06/0.5889, allocations: 7.906 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-06/0.5889, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/0.589, allocations: 322.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.589, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.5891, allocations: 22.33 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.5891, allocations: 9.562 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.375e-06/0.5891, allocations: 7.938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.5893, allocations: 62.06 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5893, allocations: 9.625 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.183e-06/0.5893, allocations: 3.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5893, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.362e-05/0.5894, allocations: 9.016 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.229e-06/0.5894, allocations: 4.688 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.247e-05/0.5895, allocations: 7.844 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.95e-06/0.5895, allocations: 0.875 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.576e-05/0.5896, allocations: 114.9 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.44e-05/0.5896, allocations: 19.86 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.5897, allocations: 13.86 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.947e-06/0.5897, allocations: 4 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.1e-06/0.5897, allocations: 3.938 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-06/0.5897, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.5901, allocations: 476.5 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.554e-06/0.5901, allocations: 2.438 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.5902, allocations: 7.938 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.34e-06/0.5902, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.073e-06/0.5902, allocations: 7.984 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.412e-06/0.5902, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.606e-06/0.5902, allocations: 0.5156 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/0.5903, allocations: 80.02 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.222e-05/0.5904, allocations: 93 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.5904, allocations: 1.25 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.5904, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.5905, allocations: 0.5156 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-06/0.5905, allocations: 4.656 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.839e-05/0.5906, allocations: 132 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.18e-07/0.5906, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002521/0.5909, allocations: 8.719 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.104e-05/0.591, allocations: 99.86 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.842e-05/0.5911, allocations: 17.16 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.95e-06/0.5911, allocations: 2.688 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.5911, 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.0001968/0.5913, allocations: 7.953 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.0003578/0.5917, allocations: 206.8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.5918, allocations: 0.7014 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.983e-05/0.5919, allocations: 9.391 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.5919, allocations: 12.44 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.45e-06/0.5919, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.002849/0.5948, allocations: 452.4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB