Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001534/0.001535, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.754/1.754, allocations: 252 MB / 0.5102 GB, free: 4.727 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005391/0.0005391, allocations: 16 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6641/0.6647, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001206/0.6659, allocations: 0.5539 MB / 0.7287 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.6661, allocations: 55.77 kB / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.6662, allocations: 0 / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.6662, allocations: 3.938 kB / 0.7287 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.6663, allocations: 3.938 kB / 0.7287 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.207e-05/0.6664, allocations: 15.98 kB / 0.7287 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.6665, allocations: 63.78 kB / 0.7288 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.6666, allocations: 33.56 kB / 0.7288 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.221e-05/0.6667, allocations: 19.88 kB / 0.7289 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.6668, allocations: 27.78 kB / 0.7289 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.6668, allocations: 3.938 kB / 0.7289 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.01e-05/0.6668, allocations: 4 kB / 0.7289 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.6668, allocations: 3.984 kB / 0.7289 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.473e-05/0.6669, allocations: 41.64 kB / 0.7289 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.521e-05/0.667, allocations: 53.84 kB / 0.729 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.667, allocations: 0 / 0.729 GB, free: 10.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.895e-06/0.667, allocations: 7.938 kB / 0.729 GB, free: 10.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.667, allocations: 0 / 0.729 GB, free: 10.51 MB / 0.545 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.0004295/0.6674, allocations: 375 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.6675, allocations: 8.031 kB / 0.7294 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.6675, allocations: 15.81 kB / 0.7294 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.6678, allocations: 201.6 kB / 0.7296 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.6678, allocations: 4 kB / 0.7296 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.6678, allocations: 8 kB / 0.7296 GB, free: 9.824 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.668, allocations: 103.2 kB / 0.7297 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.668, allocations: 0 / 0.7297 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.668, allocations: 0 / 0.7297 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.668, allocations: 4 kB / 0.7297 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.6681, allocations: 35.98 kB / 0.7297 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006155/0.6687, allocations: 448.6 kB / 0.7301 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.734e-05/0.6688, allocations: 37.16 kB / 0.7302 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.109e-05/0.6688, allocations: 17.83 kB / 0.7302 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.6689, allocations: 0 / 0.7302 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.6689, allocations: 42.59 kB / 0.7302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6689, allocations: 0 / 0.7302 GB, free: 9.051 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001888/0.6691, allocations: 57.45 kB / 0.7303 GB, free: 8.988 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.6692, allocations: 77.11 kB / 0.7304 GB, free: 8.895 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.6693, allocations: 173.5 kB / 0.7305 GB, free: 8.715 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.6694, allocations: 25.7 kB / 0.7306 GB, free: 8.684 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.6694, allocations: 108 kB / 0.7307 GB, free: 8.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.6695, allocations: 8.156 kB / 0.7307 GB, free: 8.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/0.6695, allocations: 0 / 0.7307 GB, free: 8.566 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6696, allocations: 322.8 kB / 0.731 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.85e-05/0.6696, allocations: 4 kB / 0.731 GB, free: 8.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.455e-05/0.6697, allocations: 17.72 kB / 0.731 GB, free: 8.215 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.749e-05/0.6697, allocations: 8 kB / 0.731 GB, free: 8.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6697, allocations: 0 / 0.731 GB, free: 8.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.501e-05/0.6698, allocations: 73.48 kB / 0.7311 GB, free: 8.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.6699, allocations: 5.719 kB / 0.7311 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.6699, allocations: 8.031 kB / 0.7311 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.6699, allocations: 7.984 kB / 0.7311 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.67, allocations: 7.938 kB / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.67, allocations: 0 / 0.7311 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.395e-05/0.67, allocations: 11.84 kB / 0.7311 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-06/0.67, allocations: 0 / 0.7311 GB, free: 8.09 MB / 0.545 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 0.0001167/0.6702, allocations: 121.8 kB / 0.7312 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.6702, allocations: 15.86 kB / 0.7312 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.6702, allocations: 12.56 kB / 0.7313 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6702, allocations: 0 / 0.7313 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.6703, allocations: 4 kB / 0.7313 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6703, allocations: 0 / 0.7313 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/0.6707, allocations: 478.8 kB / 0.7317 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.6707, allocations: 4 kB / 0.7317 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.6707, allocations: 8.062 kB / 0.7317 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6707, allocations: 4 kB / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.6707, allocations: 0 / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6708, allocations: 0 / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6708, allocations: 0 / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.779e-05/0.6709, allocations: 81.84 kB / 0.7318 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.6709, allocations: 92.95 kB / 0.7319 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.671, allocations: 7.984 kB / 0.7319 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.671, allocations: 0 / 0.7319 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.671, allocations: 3.938 kB / 0.7319 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-06/0.671, allocations: 4 kB / 0.7319 GB, free: 7.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.69e-05/0.6711, allocations: 128.9 kB / 0.732 GB, free: 7.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6711, allocations: 0 / 0.732 GB, free: 7.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001853/0.6713, allocations: 8 kB / 0.732 GB, free: 7.027 MB / 0.545 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 0.0001345/0.6714, allocations: 99.25 kB / 0.7321 GB, free: 6.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.962e-05/0.6715, allocations: 19.98 kB / 0.7322 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6715, allocations: 0 / 0.7322 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.6716, allocations: 11.94 kB / 0.7322 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.6717, allocations: 7.953 kB / 0.7322 GB, free: 6.879 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.6721, allocations: 194.2 kB / 0.7324 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.6724, allocations: 0.6965 MB / 0.733 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.865e-05/0.6725, allocations: 8.422 kB / 0.733 GB, free: 5.934 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.6725, allocations: 15.44 kB / 0.7331 GB, free: 5.918 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6725, allocations: 0 / 0.7331 GB, free: 5.918 MB / 0.545 GB Notification: Performance of Templates: time 0.00263/0.6752, allocations: 447.8 kB / 0.7335 GB, free: 5.48 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) Environment - environmentSimulation: