Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001426/0.001425, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001964/0.001964, allocations: 196.9 kB / 16.25 MB, free: 6.625 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.652/1.652, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.82/1.82, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.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.001448/0.001448, allocations: 64.45 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2974, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002682/0.3001, allocations: 0.9085 MB / 0.7837 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001884/0.3004, allocations: 47.78 kB / 0.7838 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.761e-05/0.3005, allocations: 3.938 kB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.816e-05/0.3005, allocations: 7.922 kB / 0.7838 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.3007, allocations: 3.938 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.56e-05/0.3008, allocations: 16 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3009, allocations: 75.78 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001972/0.3011, allocations: 37.38 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.603e-05/0.3012, allocations: 23.88 kB / 0.7839 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.3013, allocations: 43.77 kB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.3013, allocations: 8 kB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.272e-05/0.3013, allocations: 4 kB / 0.784 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.053e-05/0.3014, allocations: 23.86 kB / 0.784 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.701e-05/0.3014, allocations: 35.75 kB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.3016, allocations: 79.91 kB / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3016, allocations: 0 / 0.7841 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.559e-06/0.3016, allocations: 4 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.3016, allocations: 0 / 0.7841 GB, free: 12.6 MB / 0.6075 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.0005548/0.3022, allocations: 391.1 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.3022, allocations: 12.03 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.3023, allocations: 12.75 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3026, allocations: 196.2 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3026, allocations: 4.375 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3026, allocations: 12.31 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.3028, allocations: 87.95 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3028, allocations: 4.188 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3028, allocations: 7.938 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3029, allocations: 0 / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.509e-05/0.3029, allocations: 43.91 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/0.3037, allocations: 445.7 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.818e-05/0.3037, allocations: 53.23 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.3038, allocations: 13.78 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3038, allocations: 3.938 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3038, allocations: 30.56 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3038, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.304, allocations: 65.58 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.884e-05/0.3041, allocations: 77.11 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.3043, allocations: 171.3 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3043, allocations: 25.7 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.3044, allocations: 119.9 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.3044, allocations: 7.906 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.196e-05/0.3044, allocations: 17.66 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3046, allocations: 323 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.42e-05/0.3046, allocations: 12 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.3047, allocations: 21.66 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.491e-05/0.3047, allocations: 25.7 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3047, allocations: 0 / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.344e-05/0.3048, allocations: 61.55 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3048, allocations: 4.062 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3049, allocations: 11.94 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3049, allocations: 0 / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.469e-05/0.305, allocations: 7.984 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.305, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.305, allocations: 7.906 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.305, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 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.116e-05/0.3051, allocations: 113.8 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.3052, allocations: 7.906 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.3052, allocations: 20.5 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3052, allocations: 4 kB / 0.7865 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3052, allocations: 7.984 kB / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3052, allocations: 0 / 0.7865 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000445/0.3057, allocations: 482.7 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3057, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.3057, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3057, allocations: 4 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3057, allocations: 4.062 kB / 0.7869 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.3057, allocations: 7.922 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3057, allocations: 3.938 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.418e-05/0.3058, allocations: 81.84 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.3059, allocations: 92.91 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.3059, allocations: 0 / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.582e-05/0.306, allocations: 4.031 kB / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.306, allocations: 0 / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.306, allocations: 4 kB / 0.7871 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.456e-05/0.3061, allocations: 124 kB / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3061, allocations: 0 / 0.7872 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001912/0.3063, allocations: 8 kB / 0.7872 GB, free: 9.043 MB / 0.6075 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.0001875/0.3065, allocations: 107.2 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001248/0.3066, allocations: 20 kB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3066, allocations: 0 / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.3067, allocations: 11.94 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.3068, allocations: 11.94 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.3072, allocations: 198.4 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3075, allocations: 0.6963 MB / 0.7883 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.3076, allocations: 4.438 kB / 0.7883 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.3076, allocations: 11.44 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3076, allocations: 4 kB / 0.7883 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.002659/0.3103, allocations: 486.9 kB / 0.7887 GB, free: 7.445 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)