Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.082/5.082, 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.002442/0.002442, allocations: 363.9 kB / 0.644 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.255/4.255, allocations: 410.7 MB / 1.112 GB, free: 5.984 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.001806/0.001806, allocations: 183.7 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005138/0.000514, allocations: 16 kB / 1.348 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5923/0.5929, 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_gal): time 0.0008578/0.5938, allocations: 0.5451 MB / 1.461 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001081/0.5939, allocations: 37.92 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.594, allocations: 0 / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.834e-05/0.594, allocations: 7.922 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.5941, allocations: 11.92 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.835e-05/0.5942, allocations: 19.92 kB / 1.461 GB, free: 283.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.492e-05/0.5943, allocations: 60.97 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.5944, allocations: 35.81 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.5944, allocations: 15.88 kB / 1.461 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.406e-05/0.5945, allocations: 20.52 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.5945, allocations: 4.656 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.483e-06/0.5945, allocations: 3.938 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.5946, allocations: 12.58 kB / 1.461 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.5946, allocations: 39.39 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.164e-05/0.5947, allocations: 49.98 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.5947, allocations: 3.984 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.582e-06/0.5947, allocations: 4 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.066e-06/0.5947, allocations: 3.938 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.000323/0.5951, allocations: 372.2 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5951, allocations: 12.72 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.5951, allocations: 11.91 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.5953, allocations: 202.7 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.5954, allocations: 6.188 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.5954, allocations: 8 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.5956, allocations: 95.08 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.965e-06/0.5956, allocations: 1.062 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.5956, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-06/0.5956, allocations: 4 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.593e-05/0.5957, allocations: 38.98 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005185/0.5963, allocations: 449.6 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.236e-05/0.5963, allocations: 41.86 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.108e-05/0.5964, allocations: 17.84 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.09e-06/0.5964, allocations: 3.984 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5964, allocations: 39.34 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.5964, allocations: 1.312 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.5966, allocations: 53.55 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.5967, allocations: 82.05 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.5968, allocations: 171.1 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.187e-06/0.5968, allocations: 25.7 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.5969, allocations: 105.5 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.885e-06/0.5969, allocations: 3.906 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-06/0.5969, allocations: 0 / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.597, allocations: 319.6 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.667e-05/0.597, allocations: 12.48 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.5971, allocations: 22.16 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.5971, allocations: 4.875 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-06/0.5971, allocations: 0.625 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001086/0.5972, allocations: 71.08 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5973, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-06/0.5973, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5973, allocations: 0.5312 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.5974, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.517e-06/0.5974, allocations: 6.938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.5975, allocations: 11.84 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-06/0.5975, allocations: 0 / 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.377e-05/0.5975, allocations: 113.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.5976, allocations: 25.28 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.782e-05/0.5977, allocations: 8.562 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-06/0.5977, allocations: 5.625 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.681e-06/0.5977, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-06/0.5977, allocations: 0 / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.5981, allocations: 488.2 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-06/0.5981, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.5981, allocations: 5.062 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.5982, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-06/0.5982, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.592e-06/0.5982, allocations: 1.312 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-06/0.5982, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.797e-05/0.5983, allocations: 88.34 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.217e-05/0.5983, allocations: 85.02 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.5984, allocations: 0 / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.5984, allocations: 3.984 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.5984, allocations: 5.594 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-06/0.5984, allocations: 4 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.107e-05/0.5985, allocations: 127.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.07e-07/0.5986, allocations: 0.875 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002948/0.5989, allocations: 8 kB / 1.465 GB, free: 280.1 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.31e-05/0.599, allocations: 98.25 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.107e-05/0.5991, allocations: 16 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.759e-06/0.5991, allocations: 0.6562 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.5991, allocations: 16.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.5993, 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.0003455/0.5997, allocations: 190.2 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.5998, allocations: 0.7054 MB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.508e-05/0.5999, allocations: 4.438 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.5999, allocations: 16.53 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/0.5999, allocations: 0 / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of Templates: time 0.00289/0.6028, allocations: 450.3 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB