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.001652/0.001652, 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.002787/0.002787, allocations: 190.4 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.601/1.601, allocations: 205.1 MB / 222 MB, free: 4.754 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.718/1.718, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001776/0.001776, allocations: 62.23 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2956, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002937/0.2986, allocations: 0.906 MB / 0.7836 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.2988, allocations: 43.78 kB / 0.7836 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.2989, allocations: 7.938 kB / 0.7836 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.669e-05/0.299, allocations: 7.922 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.2991, allocations: 3.938 kB / 0.7836 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.486e-05/0.2992, allocations: 19.98 kB / 0.7836 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2993, allocations: 63.8 kB / 0.7837 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2995, allocations: 45.3 kB / 0.7837 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.493e-05/0.2995, allocations: 27.88 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.2996, allocations: 35.72 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.2996, allocations: 4 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.2997, allocations: 4 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.2997, allocations: 15.92 kB / 0.7838 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.2997, allocations: 27.81 kB / 0.7838 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.2998, allocations: 87.89 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2999, allocations: 0 / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2999, allocations: 0 / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2999, allocations: 0 / 0.7839 GB, free: 12.71 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.0004761/0.3004, allocations: 387.2 kB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3004, allocations: 8.031 kB / 0.7843 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.3004, allocations: 16.75 kB / 0.7843 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.3007, allocations: 196.1 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.3007, allocations: 8.375 kB / 0.7845 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3007, allocations: 12.38 kB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.3009, allocations: 87.89 kB / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3009, allocations: 192 / 0.7846 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3009, allocations: 7.938 kB / 0.7846 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3009, allocations: 4 kB / 0.7846 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.002e-05/0.301, allocations: 43.91 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006651/0.3017, allocations: 449.5 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.769e-05/0.3018, allocations: 49.27 kB / 0.7851 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/0.3018, allocations: 13.84 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.3018, allocations: 4 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.3019, allocations: 34.56 kB / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.3019, allocations: 0 / 0.7852 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002648/0.3022, allocations: 61.48 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.3022, allocations: 77.11 kB / 0.7853 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3024, allocations: 171.3 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3024, allocations: 29.89 kB / 0.7855 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.3025, allocations: 115.9 kB / 0.7856 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.3025, allocations: 11.91 kB / 0.7856 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.3026, allocations: 13.72 kB / 0.7857 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3027, allocations: 318.8 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.3027, allocations: 8 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.3027, allocations: 17.72 kB / 0.786 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.527e-05/0.3028, allocations: 33.7 kB / 0.786 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3028, allocations: 3.938 kB / 0.786 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.325e-05/0.3029, allocations: 61.55 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3029, allocations: 4 kB / 0.7861 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3029, allocations: 7.938 kB / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.303, allocations: 0 / 0.7861 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.479e-05/0.3031, allocations: 11.98 kB / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3031, allocations: 0 / 0.7861 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.3031, allocations: 11.97 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.3031, allocations: 0 / 0.7861 GB, free: 10.21 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 0.0001009/0.3032, allocations: 118.4 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.27e-05/0.3033, allocations: 7.906 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3033, allocations: 20.48 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3033, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3033, allocations: 3.938 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3034, allocations: 0 / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.3038, allocations: 486.7 kB / 0.7867 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3038, allocations: 0 / 0.7867 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.3038, allocations: 4 kB / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3038, allocations: 0 / 0.7867 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.3038, allocations: 7.984 kB / 0.7867 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3038, allocations: 0 / 0.7867 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3038, allocations: 0 / 0.7867 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.1e-05/0.3039, allocations: 77.91 kB / 0.7868 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.194e-05/0.304, allocations: 96.91 kB / 0.7869 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.304, allocations: 4 kB / 0.7869 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.455e-05/0.304, allocations: 0 / 0.7869 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.3041, allocations: 3.938 kB / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.3041, allocations: 0 / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.963e-05/0.3042, allocations: 128 kB / 0.787 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3042, allocations: 4.031 kB / 0.787 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001983/0.3044, allocations: 8 kB / 0.787 GB, free: 9.145 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.0001107/0.3045, allocations: 102 kB / 0.7871 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.122e-05/0.3046, allocations: 16 kB / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3046, allocations: 0 / 0.7872 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.658e-05/0.3046, allocations: 11.94 kB / 0.7872 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.3048, allocations: 11.94 kB / 0.7872 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.3051, allocations: 196.5 kB / 0.7874 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.3054, allocations: 0.7004 MB / 0.788 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.3055, allocations: 4.438 kB / 0.788 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.3055, allocations: 11.44 kB / 0.7881 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.3055, allocations: 0 / 0.7881 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.00287/0.3084, allocations: 476.5 kB / 0.7885 GB, free: 7.57 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)