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.001131/0.001132, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001268/0.001268, allocations: 194.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.872/1.872, allocations: 205.1 MB / 222 MB, free: 4.773 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.626/1.626, allocations: 251.7 MB / 0.5088 GB, free: 3.355 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.001976/0.001977, allocations: 71.91 kB / 0.6216 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.6857, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002246/0.688, allocations: 0.9274 MB / 0.7247 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.6882, allocations: 39.78 kB / 0.7247 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.6882, allocations: 4 kB / 0.7248 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.6883, allocations: 11.92 kB / 0.7248 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.678e-05/0.6884, allocations: 3.938 kB / 0.7248 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.661e-05/0.6884, allocations: 19.98 kB / 0.7248 GB, free: 12.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.6885, allocations: 59.84 kB / 0.7248 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001588/0.6887, allocations: 41.39 kB / 0.7249 GB, free: 12.06 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.262e-05/0.6888, allocations: 27.8 kB / 0.7249 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.725e-05/0.6888, allocations: 31.8 kB / 0.7249 GB, free: 12 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.6889, allocations: 4 kB / 0.7249 GB, free: 12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.6889, allocations: 4 kB / 0.7249 GB, free: 12 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.6889, allocations: 19.91 kB / 0.725 GB, free: 11.98 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.689, allocations: 31.73 kB / 0.725 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.6891, allocations: 85.61 kB / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6891, allocations: 0 / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.002e-06/0.6891, allocations: 4 kB / 0.7251 GB, free: 11.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.6891, allocations: 0 / 0.7251 GB, free: 11.86 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.0004394/0.6896, allocations: 387.1 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.6896, allocations: 11.97 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.327e-05/0.6897, allocations: 8.844 kB / 0.7255 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.6899, allocations: 204.1 kB / 0.7257 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.6899, allocations: 8.281 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.6899, allocations: 8.375 kB / 0.7257 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.6901, allocations: 101.8 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.6901, allocations: 192 / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.6901, allocations: 7.922 kB / 0.7258 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.6901, allocations: 4 kB / 0.7258 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.854e-05/0.6902, allocations: 35.98 kB / 0.7258 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/0.6908, allocations: 452.5 kB / 0.7263 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.473e-05/0.6909, allocations: 37.16 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.939e-05/0.6909, allocations: 13.84 kB / 0.7263 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.6909, allocations: 4.031 kB / 0.7263 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.6909, allocations: 38.56 kB / 0.7263 GB, free: 10.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6909, allocations: 0 / 0.7263 GB, free: 10.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001768/0.6911, allocations: 61.48 kB / 0.7264 GB, free: 10.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.6912, allocations: 85.09 kB / 0.7265 GB, free: 10.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.6913, allocations: 172.7 kB / 0.7266 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.6914, allocations: 25.7 kB / 0.7267 GB, free: 10 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.419e-05/0.6914, allocations: 104.3 kB / 0.7268 GB, free: 9.895 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.6915, allocations: 11.91 kB / 0.7268 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.6915, allocations: 13.72 kB / 0.7268 GB, free: 9.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6916, allocations: 322.8 kB / 0.7271 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.6916, allocations: 8 kB / 0.7271 GB, free: 9.531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.6917, allocations: 21.7 kB / 0.7271 GB, free: 9.504 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.706e-05/0.6917, allocations: 33.66 kB / 0.7272 GB, free: 9.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6917, allocations: 0 / 0.7272 GB, free: 9.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.866e-05/0.6918, allocations: 53.61 kB / 0.7272 GB, free: 9.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6918, allocations: 8 kB / 0.7272 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6919, allocations: 3.938 kB / 0.7272 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.6919, allocations: 3.984 kB / 0.7272 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.6919, allocations: 7.938 kB / 0.7272 GB, free: 9.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.692, allocations: 4 kB / 0.7272 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.369e-05/0.692, allocations: 7.844 kB / 0.7273 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.692, allocations: 8 kB / 0.7273 GB, free: 9.363 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.806e-05/0.6921, allocations: 117.8 kB / 0.7274 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.6921, allocations: 7.906 kB / 0.7274 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.6922, allocations: 20.48 kB / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.6922, allocations: 0 / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6922, allocations: 0 / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6922, allocations: 0 / 0.7274 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.6926, allocations: 490.7 kB / 0.7279 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6926, allocations: 0 / 0.7279 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.6926, allocations: 7.984 kB / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.6927, allocations: 0 / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.6927, allocations: 0 / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6927, allocations: 0 / 0.7279 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6927, allocations: 4 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.629e-05/0.6928, allocations: 81.84 kB / 0.728 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.6928, allocations: 93 kB / 0.728 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.6929, allocations: 0 / 0.728 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.647e-05/0.6929, allocations: 0 / 0.728 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.6929, allocations: 7.938 kB / 0.7281 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.6929, allocations: 0 / 0.7281 GB, free: 8.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001003/0.693, allocations: 131.9 kB / 0.7282 GB, free: 8.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.693, allocations: 0 / 0.7282 GB, free: 8.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001857/0.6932, allocations: 8 kB / 0.7282 GB, free: 8.305 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001298/0.6933, allocations: 99.28 kB / 0.7283 GB, free: 8.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.6935, allocations: 19.94 kB / 0.7283 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6935, allocations: 0 / 0.7283 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.6935, allocations: 8 kB / 0.7283 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.6937, allocations: 11.94 kB / 0.7283 GB, free: 8.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004277/0.6941, allocations: 202.6 kB / 0.7285 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.6945, allocations: 0.6965 MB / 0.7292 GB, free: 7.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.6945, allocations: 8.438 kB / 0.7292 GB, free: 7.203 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.6946, allocations: 15.38 kB / 0.7292 GB, free: 7.188 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6946, allocations: 0 / 0.7292 GB, free: 7.188 MB / 0.545 GB Notification: Performance of Templates: time 0.003137/0.6977, allocations: 472.5 kB / 0.7297 GB, free: 6.727 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (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)