Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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 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_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, 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.001257/0.001257, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.68/1.68, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.875/1.875, allocations: 292.2 MB / 0.5485 GB, free: 13.59 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.00141/0.00141, allocations: 67.92 kB / 0.671 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3048, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002301/0.3071, allocations: 0.9098 MB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.3073, allocations: 47.78 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.3074, allocations: 0 / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.38e-05/0.3074, allocations: 7.922 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.564e-05/0.3075, allocations: 3.938 kB / 0.7838 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.136e-05/0.3076, allocations: 23.98 kB / 0.7838 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.983e-05/0.3077, allocations: 59.86 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.3079, allocations: 45.36 kB / 0.7839 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.185e-05/0.3079, allocations: 27.81 kB / 0.7839 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.308, allocations: 39.78 kB / 0.784 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.308, allocations: 4 kB / 0.784 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.308, allocations: 8 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.3081, allocations: 19.92 kB / 0.784 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.389e-05/0.3081, allocations: 31.75 kB / 0.784 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.3082, allocations: 87.89 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3082, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3083, allocations: 0 / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.3083, allocations: 0 / 0.7841 GB, free: 12.59 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.0004872/0.3088, allocations: 391.2 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3088, allocations: 8.031 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3089, allocations: 16.75 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.3091, allocations: 198.8 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3091, allocations: 4.375 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3091, allocations: 12.38 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.3093, allocations: 87.89 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3093, allocations: 192 / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3093, allocations: 11.94 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3093, allocations: 4 kB / 0.7848 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.587e-05/0.3094, allocations: 43.91 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.3099, allocations: 445.6 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.909e-05/0.31, allocations: 45.14 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.592e-05/0.31, allocations: 21.78 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-06/0.3101, allocations: 0 / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.3101, allocations: 38.59 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3101, allocations: 0 / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001972/0.3103, allocations: 65.48 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3103, allocations: 77.11 kB / 0.7855 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.3105, allocations: 171.3 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3105, allocations: 25.7 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.3106, allocations: 111.9 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.3106, allocations: 7.906 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3106, allocations: 17.72 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3107, allocations: 319.1 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.3108, allocations: 12 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.188e-05/0.3108, allocations: 17.72 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.481e-05/0.3108, allocations: 33.64 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3108, allocations: 0 / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.175e-05/0.3109, allocations: 57.61 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.311, allocations: 10.56 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.311, allocations: 3.938 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.311, allocations: 0 / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.3111, allocations: 15.92 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3111, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.3111, allocations: 7.906 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.3111, allocations: 0 / 0.7863 GB, free: 10.1 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 7.419e-05/0.3112, allocations: 114.5 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3113, allocations: 7.906 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.3113, allocations: 24.48 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3113, allocations: 0 / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3113, allocations: 96 / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3113, allocations: 3.984 kB / 0.7865 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.3117, allocations: 478.7 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3117, allocations: 0 / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.3117, allocations: 4 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3117, allocations: 0 / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3118, allocations: 20.05 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3118, allocations: 3.938 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3118, allocations: 0 / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.394e-05/0.3119, allocations: 81.72 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.3119, allocations: 96.91 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.3119, allocations: 4 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.312, allocations: 4.031 kB / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.312, allocations: 0 / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.312, allocations: 0 / 0.7871 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.378e-05/0.3121, allocations: 128 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3121, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001781/0.3123, allocations: 8 kB / 0.7872 GB, free: 9.027 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.0001231/0.3124, allocations: 99.23 kB / 0.7873 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3125, allocations: 23.94 kB / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3125, allocations: 0 / 0.7874 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.475e-05/0.3125, allocations: 12 kB / 0.7874 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3127, allocations: 7.938 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.313, allocations: 190.5 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.3133, allocations: 0.6963 MB / 0.7882 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.758e-05/0.3134, allocations: 8.438 kB / 0.7882 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.3134, allocations: 7.438 kB / 0.7883 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of SimCode: time 1.392e-06/0.3134, allocations: 8 kB / 0.7883 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of Templates: time 0.002846/0.3163, allocations: 484.4 kB / 0.7887 GB, free: 7.441 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)