Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, 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.001201/0.001201, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.243/1.243, allocations: 205.1 MB / 222 MB, free: 4.992 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.578/1.578, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.002373/0.002373, allocations: 65.95 kB / 0.6709 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1957, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.001811/0.1975, allocations: 0.9022 MB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.381e-05/0.1976, allocations: 51.72 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.263e-05/0.1977, allocations: 0 / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.1977, allocations: 3.938 kB / 0.7837 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.1978, allocations: 7.922 kB / 0.7837 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.667e-05/0.1978, allocations: 16 kB / 0.7838 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.1979, allocations: 71.78 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.198, allocations: 33.39 kB / 0.7839 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.1981, allocations: 27.86 kB / 0.7839 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.1981, allocations: 43.7 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1982, allocations: 4 kB / 0.7839 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.1982, allocations: 7.938 kB / 0.7839 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1982, allocations: 15.92 kB / 0.7839 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.1982, allocations: 27.81 kB / 0.784 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.309e-05/0.1983, allocations: 79.91 kB / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1983, allocations: 0 / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.1983, allocations: 0 / 0.7841 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1983, allocations: 0 / 0.7841 GB, free: 12.64 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.000363/0.1987, allocations: 395.1 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.1988, allocations: 8.031 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.1988, allocations: 38.75 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.1988, allocations: 16.83 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.199, allocations: 196.2 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.199, allocations: 12.3 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.199, allocations: 8.375 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.1992, allocations: 103.3 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1992, allocations: 7.938 kB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1992, allocations: 4 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1992, allocations: 0 / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.04e-05/0.1993, allocations: 43.92 kB / 0.7848 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004462/0.1997, allocations: 441.7 kB / 0.7853 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.207e-05/0.1998, allocations: 41.34 kB / 0.7853 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.1998, allocations: 13.78 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.1998, allocations: 0 / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.1998, allocations: 30.56 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1999, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.2, allocations: 73.38 kB / 0.7854 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.2001, allocations: 77.11 kB / 0.7855 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.2002, allocations: 175.3 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.2002, allocations: 25.7 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.2003, allocations: 108 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-06/0.2003, allocations: 11.89 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.2003, allocations: 13.72 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.2004, allocations: 327.1 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.2004, allocations: 8 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.2005, allocations: 21.7 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.56e-05/0.2005, allocations: 21.72 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2005, allocations: 4 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.972e-05/0.2006, allocations: 61.58 kB / 0.7862 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2006, allocations: 15.92 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2006, allocations: 0 / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.2006, allocations: 3.938 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.2007, allocations: 4 kB / 0.7863 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2007, allocations: 7.984 kB / 0.7863 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.2007, allocations: 3.906 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.2008, allocations: 4 kB / 0.7863 GB, free: 10.09 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 6.363e-05/0.2008, allocations: 117.7 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.2009, allocations: 19.88 kB / 0.7864 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.2009, allocations: 16.48 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2009, allocations: 4 kB / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2009, allocations: 0 / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.2009, allocations: 0 / 0.7864 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.2013, allocations: 478.8 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2013, allocations: 3.984 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.294e-05/0.2013, allocations: 4.062 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2013, allocations: 4 kB / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.2013, allocations: 0 / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2013, allocations: 0 / 0.7869 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2013, allocations: 4 kB / 0.7869 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.824e-05/0.2014, allocations: 81.75 kB / 0.787 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.384e-05/0.2015, allocations: 93 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.2015, allocations: 4.031 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.494e-05/0.2015, allocations: 0 / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.2015, allocations: 7.938 kB / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.2015, allocations: 0 / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.359e-05/0.2016, allocations: 131.9 kB / 0.7872 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2016, allocations: 0 / 0.7872 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001775/0.2018, allocations: 8 kB / 0.7872 GB, free: 9.02 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.0002955/0.2021, allocations: 0.6171 MB / 0.7878 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.365e-05/0.2022, allocations: 15.94 kB / 0.7878 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2022, allocations: 4 kB / 0.7878 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.847e-05/0.2022, allocations: 8 kB / 0.7878 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.2024, allocations: 8.281 kB / 0.7878 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.2034, allocations: 1.396 MB / 0.7892 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.2036, allocations: 0.6965 MB / 0.7899 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.962e-05/0.2036, allocations: 4.625 kB / 0.7899 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/0.2037, allocations: 27.42 kB / 0.7899 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2037, allocations: 0 / 0.7899 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009513/0.2132, allocations: 1.527 MB / 0.7914 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.2134, allocations: 212.8 kB / 0.7916 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.498/1.711, allocations: 3.234 kB / 0.7916 GB, free: 4.406 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_hp.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1)