Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001354, 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.00174/0.00174, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.792/1.792, allocations: 205.1 MB / 222 MB, free: 4.805 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.734/1.734, allocations: 251.6 MB / 0.5088 GB, free: 3.336 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.001362/0.001362, allocations: 59.92 kB / 0.6216 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6966/0.698, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002414/0.7005, allocations: 0.9235 MB / 0.7247 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.7006, allocations: 43.78 kB / 0.7248 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.003e-05/0.7007, allocations: 4 kB / 0.7248 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.763e-05/0.7008, allocations: 3.938 kB / 0.7248 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.7009, allocations: 7.922 kB / 0.7248 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.435e-05/0.7009, allocations: 16 kB / 0.7248 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.7011, allocations: 67.78 kB / 0.7248 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.7012, allocations: 33.39 kB / 0.7249 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.009e-05/0.7013, allocations: 27.86 kB / 0.7249 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.7014, allocations: 35.72 kB / 0.7249 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.7014, allocations: 4 kB / 0.7249 GB, free: 12.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.7014, allocations: 8 kB / 0.725 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.662e-05/0.7015, allocations: 15.94 kB / 0.725 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.041e-05/0.7015, allocations: 43.66 kB / 0.725 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.7017, allocations: 77.67 kB / 0.7251 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.7017, allocations: 0 / 0.7251 GB, free: 11.89 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7017, allocations: 0 / 0.7251 GB, free: 11.89 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7017, allocations: 0 / 0.7251 GB, free: 11.89 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.0005271/0.7022, allocations: 391.1 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7023, allocations: 8.031 kB / 0.7255 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.7023, allocations: 16.84 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.7025, allocations: 200.1 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.7026, allocations: 12.28 kB / 0.7257 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.7026, allocations: 8.375 kB / 0.7257 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.7028, allocations: 93.61 kB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.7028, allocations: 192 / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.7028, allocations: 7.938 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.7028, allocations: 4 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.7029, allocations: 43.92 kB / 0.7258 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.7035, allocations: 440.6 kB / 0.7263 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.476e-05/0.7036, allocations: 41.25 kB / 0.7263 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.7036, allocations: 21.78 kB / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.7036, allocations: 0 / 0.7263 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.7037, allocations: 38.55 kB / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7037, allocations: 0 / 0.7264 GB, free: 10.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002008/0.7039, allocations: 61.48 kB / 0.7264 GB, free: 10.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.7039, allocations: 81.36 kB / 0.7265 GB, free: 10.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.7041, allocations: 172.7 kB / 0.7267 GB, free: 10.06 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.7041, allocations: 25.7 kB / 0.7267 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.9e-05/0.7042, allocations: 104 kB / 0.7268 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.928e-06/0.7042, allocations: 11.89 kB / 0.7268 GB, free: 9.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.7043, allocations: 17.72 kB / 0.7268 GB, free: 9.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7044, allocations: 318.8 kB / 0.7271 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.9e-05/0.7044, allocations: 4 kB / 0.7271 GB, free: 9.566 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.374e-05/0.7044, allocations: 21.72 kB / 0.7271 GB, free: 9.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.7045, allocations: 33.66 kB / 0.7272 GB, free: 9.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7045, allocations: 0 / 0.7272 GB, free: 9.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.856e-05/0.7046, allocations: 65.53 kB / 0.7272 GB, free: 9.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7046, allocations: 4 kB / 0.7272 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7046, allocations: 7.875 kB / 0.7272 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.7046, allocations: 4.062 kB / 0.7272 GB, free: 9.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.7047, allocations: 8 kB / 0.7273 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7047, allocations: 0 / 0.7273 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.708e-05/0.7048, allocations: 11.84 kB / 0.7273 GB, free: 9.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.7048, allocations: 3.984 kB / 0.7273 GB, free: 9.391 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 7.998e-05/0.7049, allocations: 113.8 kB / 0.7274 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.7049, allocations: 7.906 kB / 0.7274 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.705, allocations: 16.5 kB / 0.7274 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.705, allocations: 0 / 0.7274 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.705, allocations: 4 kB / 0.7274 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.705, allocations: 0 / 0.7274 GB, free: 9.246 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003757/0.7054, allocations: 482.7 kB / 0.7279 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7054, allocations: 0 / 0.7279 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.7054, allocations: 4 kB / 0.7279 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.7054, allocations: 0 / 0.7279 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.7054, allocations: 4 kB / 0.7279 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7054, allocations: 0 / 0.7279 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7054, allocations: 4.062 kB / 0.7279 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.7055, allocations: 85.77 kB / 0.728 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.7056, allocations: 89 kB / 0.728 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.7056, allocations: 8 kB / 0.728 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/0.7056, allocations: 0 / 0.728 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.7057, allocations: 0 / 0.728 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.7057, allocations: 8.031 kB / 0.7281 GB, free: 8.473 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.096e-05/0.7058, allocations: 127.9 kB / 0.7282 GB, free: 8.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7058, allocations: 0 / 0.7282 GB, free: 8.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001775/0.7059, allocations: 12 kB / 0.7282 GB, free: 8.336 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.0001219/0.7061, allocations: 95.25 kB / 0.7283 GB, free: 8.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.937e-05/0.7062, allocations: 23.92 kB / 0.7283 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.7062, allocations: 0 / 0.7283 GB, free: 8.207 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.7062, allocations: 8.125 kB / 0.7283 GB, free: 8.199 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.7064, allocations: 11.94 kB / 0.7283 GB, free: 8.188 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.7067, allocations: 207.9 kB / 0.7285 GB, free: 7.957 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.7069, allocations: 0.6927 MB / 0.7292 GB, free: 7.238 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.288e-05/0.707, allocations: 8.422 kB / 0.7292 GB, free: 7.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.707, allocations: 11.44 kB / 0.7292 GB, free: 7.219 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.707, allocations: 0 / 0.7292 GB, free: 7.219 MB / 0.545 GB Notification: Performance of Templates: time 0.002614/0.7096, allocations: 488.3 kB / 0.7297 GB, free: 6.742 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)