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_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009934, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008448/0.008449, allocations: 170 kB / 16.26 MB, free: 6.613 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.781/1.781, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.706/1.706, allocations: 252 MB / 0.5105 GB, free: 4.652 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.0006541/0.0006545, allocations: 12 kB / 0.6249 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6867/0.6873, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001237/0.6886, allocations: 0.5769 MB / 0.7293 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.6888, allocations: 43.77 kB / 0.7293 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.6888, allocations: 4 kB / 0.7293 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.839e-05/0.6889, allocations: 3.938 kB / 0.7293 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.689, allocations: 7.922 kB / 0.7293 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 5.286e-05/0.689, allocations: 23.98 kB / 0.7294 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.6892, allocations: 63.78 kB / 0.7294 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.6893, allocations: 33.39 kB / 0.7295 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.6894, allocations: 23.86 kB / 0.7295 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.6895, allocations: 23.8 kB / 0.7295 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.6895, allocations: 4 kB / 0.7295 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.676e-06/0.6895, allocations: 0 / 0.7295 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.6895, allocations: 15.88 kB / 0.7295 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.251e-05/0.6896, allocations: 57.44 kB / 0.7296 GB, free: 10.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.6897, allocations: 77.64 kB / 0.7297 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6897, allocations: 0 / 0.7297 GB, free: 10.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6898, allocations: 0 / 0.7297 GB, free: 10.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.6898, allocations: 0 / 0.7297 GB, free: 10.34 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.0005312/0.6903, allocations: 379.2 kB / 0.73 GB, free: 9.922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.6904, allocations: 12.03 kB / 0.73 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.6904, allocations: 12.75 kB / 0.73 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.6906, allocations: 195 kB / 0.7302 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.6906, allocations: 8.312 kB / 0.7302 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.6907, allocations: 8.375 kB / 0.7302 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.6909, allocations: 97.97 kB / 0.7303 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6909, allocations: 192 / 0.7303 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.6909, allocations: 11.94 kB / 0.7303 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6909, allocations: 0 / 0.7303 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.656e-05/0.691, allocations: 39.92 kB / 0.7304 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006198/0.6916, allocations: 456.5 kB / 0.7308 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.809e-05/0.6917, allocations: 37.25 kB / 0.7309 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.6917, allocations: 17.78 kB / 0.7309 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.6918, allocations: 0 / 0.7309 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.6918, allocations: 30.56 kB / 0.7309 GB, free: 8.883 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6918, allocations: 4 kB / 0.7309 GB, free: 8.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001984/0.692, allocations: 65.47 kB / 0.731 GB, free: 8.809 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.6921, allocations: 77.11 kB / 0.731 GB, free: 8.715 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.6922, allocations: 168.8 kB / 0.7312 GB, free: 8.539 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.6923, allocations: 25.7 kB / 0.7312 GB, free: 8.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.6923, allocations: 111.9 kB / 0.7313 GB, free: 8.395 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.442e-06/0.6924, allocations: 0 / 0.7313 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.404e-05/0.6924, allocations: 9.719 kB / 0.7313 GB, free: 8.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6925, allocations: 327.1 kB / 0.7317 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/0.6926, allocations: 8 kB / 0.7317 GB, free: 8.043 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.723e-05/0.6926, allocations: 25.64 kB / 0.7317 GB, free: 8.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.941e-05/0.6926, allocations: 21.72 kB / 0.7317 GB, free: 7.984 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6927, allocations: 7.938 kB / 0.7317 GB, free: 7.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.23e-05/0.6928, allocations: 65.45 kB / 0.7318 GB, free: 7.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.6928, allocations: 11.98 kB / 0.7318 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6928, allocations: 3.938 kB / 0.7318 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6928, allocations: 0 / 0.7318 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.6929, allocations: 8 kB / 0.7318 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6929, allocations: 4 kB / 0.7318 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.6929, allocations: 3.938 kB / 0.7318 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.693, allocations: 8 kB / 0.7318 GB, free: 7.867 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 9.784e-05/0.6931, allocations: 109.8 kB / 0.7319 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.6931, allocations: 15.97 kB / 0.7319 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.6931, allocations: 12.48 kB / 0.7319 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.6931, allocations: 4 kB / 0.7319 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6932, allocations: 0 / 0.7319 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6932, allocations: 0 / 0.7319 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.6936, allocations: 482.7 kB / 0.7324 GB, free: 7.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6936, allocations: 4.078 kB / 0.7324 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.6936, allocations: 8.062 kB / 0.7324 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.6936, allocations: 3.984 kB / 0.7324 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.6937, allocations: 0 / 0.7324 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6937, allocations: 3.938 kB / 0.7324 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.6937, allocations: 0 / 0.7324 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.6938, allocations: 81.84 kB / 0.7325 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.6938, allocations: 89 kB / 0.7326 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.6939, allocations: 4.031 kB / 0.7326 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.316e-05/0.6939, allocations: 3.938 kB / 0.7326 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.6939, allocations: 4 kB / 0.7326 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.6939, allocations: 0 / 0.7326 GB, free: 6.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001036/0.694, allocations: 131.9 kB / 0.7327 GB, free: 6.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.694, allocations: 0 / 0.7327 GB, free: 6.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001839/0.6942, allocations: 8 kB / 0.7327 GB, free: 6.812 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.0001283/0.6944, allocations: 99.19 kB / 0.7328 GB, free: 6.703 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.414e-05/0.6944, allocations: 20 kB / 0.7328 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6945, allocations: 0 / 0.7328 GB, free: 6.684 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.6945, allocations: 8 kB / 0.7329 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.6947, allocations: 15.88 kB / 0.7329 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.695, allocations: 208.1 kB / 0.7331 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.6954, allocations: 0.6965 MB / 0.7338 GB, free: 5.707 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.6954, allocations: 4.438 kB / 0.7338 GB, free: 5.703 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.997e-05/0.6954, allocations: 15.42 kB / 0.7338 GB, free: 5.688 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.6954, allocations: 4 kB / 0.7338 GB, free: 5.684 MB / 0.545 GB Notification: Performance of Templates: time 0.002742/0.6982, allocations: 456.4 kB / 0.7342 GB, free: 5.238 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) Environment - environmentSimulation: