Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.026/5.026, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 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.002427/0.002427, allocations: 355.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.459/4.459, allocations: 410.7 MB / 1.112 GB, free: 6.031 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.001784/0.001783, allocations: 187.6 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005236/0.0005238, allocations: 20 kB / 1.348 GB, free: 8.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6703/0.6709, 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_gal): time 0.0008395/0.6718, allocations: 0.5378 MB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001012/0.6719, allocations: 36.89 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.544e-05/0.672, allocations: 4 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.672, allocations: 9.609 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.6721, allocations: 7.922 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.063e-05/0.6721, allocations: 15.98 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.6722, allocations: 63.78 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.6724, allocations: 33.64 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.768e-05/0.6724, allocations: 19.86 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.6725, allocations: 21.23 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.6725, allocations: 4 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.301e-06/0.6725, allocations: 0 / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.6725, allocations: 9.5 kB / 1.461 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.6726, allocations: 37.64 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.429e-05/0.6727, allocations: 61.97 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.6727, allocations: 0 / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.89e-06/0.6727, allocations: 6.5 kB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.355e-06/0.6727, allocations: 0 / 1.462 GB, free: 283.4 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.0003356/0.673, allocations: 375 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.6731, allocations: 11.62 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.6731, allocations: 7.906 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.6733, allocations: 207.4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.6733, allocations: 4 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.6734, allocations: 8.781 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.6735, allocations: 90.12 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.6735, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.6736, allocations: 11.94 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.6736, allocations: 0 / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.317e-05/0.6737, allocations: 35.98 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005245/0.6742, allocations: 454.9 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.6743, allocations: 44.69 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.6744, allocations: 10.38 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.6744, allocations: 6.188 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.351e-05/0.6744, allocations: 34.5 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.018e-06/0.6744, allocations: 3.938 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.6746, allocations: 59.09 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.6747, allocations: 82.11 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.6748, allocations: 166.6 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.344e-06/0.6748, allocations: 25.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.6749, allocations: 104.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.6749, allocations: 13.31 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-06/0.6749, allocations: 0 / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.465e-05/0.675, allocations: 318.8 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.675, allocations: 4.594 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.013e-05/0.6751, allocations: 22.3 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.6751, allocations: 14.56 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.115e-06/0.6751, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001106/0.6752, allocations: 65.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6753, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6753, allocations: 0.5625 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6753, allocations: 5.766 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-05/0.6754, allocations: 14.56 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.417e-06/0.6754, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.6755, allocations: 7.844 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.6755, allocations: 4 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.484e-05/0.6756, allocations: 113.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.6756, allocations: 13.3 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.6757, allocations: 16.55 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.6757, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.044e-06/0.6757, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.082e-06/0.6757, allocations: 1.656 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.6761, allocations: 479.2 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.878e-06/0.6761, allocations: 0.5 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.6762, allocations: 11.92 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.688e-06/0.6762, allocations: 0.5 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.108e-06/0.6762, allocations: 0.5938 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.314e-06/0.6762, allocations: 4.531 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.13e-06/0.6762, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.752e-05/0.6763, allocations: 80.45 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.437e-05/0.6764, allocations: 93 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.6764, allocations: 0 / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.6765, allocations: 5.281 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.6765, allocations: 4 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-06/0.6765, allocations: 0.5312 kB / 1.464 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.18e-05/0.6766, allocations: 132.1 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.83e-07/0.6766, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002531/0.6769, allocations: 15.94 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 8.583e-05/0.677, allocations: 100.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.056e-05/0.6771, allocations: 16.66 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.61e-06/0.6771, allocations: 1.531 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.221e-05/0.6771, allocations: 7.938 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.0001991/0.6773, allocations: 11.95 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.0003396/0.6777, allocations: 193.7 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.6778, allocations: 0.7056 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.6779, allocations: 9.672 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.6779, allocations: 11.44 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.423e-06/0.6779, allocations: 0.6562 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.00285/0.6808, allocations: 440.6 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB