Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.0007304/0.0007304, allocations: 90.75 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.004098/0.004098, allocations: 172.7 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.279/1.279, 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 8.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004739/0.0004739, allocations: 14.22 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1973, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.0008824/0.1982, allocations: 0.5672 MB / 0.7886 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 9.85e-05/0.1983, allocations: 47.78 kB / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.915e-05/0.1984, allocations: 0 / 0.7886 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.1984, allocations: 3.938 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.1985, allocations: 7.922 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.54e-05/0.1985, allocations: 16 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.1986, allocations: 63.78 kB / 0.7887 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.1988, allocations: 45.36 kB / 0.7887 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.879e-05/0.1988, allocations: 19.88 kB / 0.7887 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.706e-05/0.1989, allocations: 23.8 kB / 0.7888 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.1989, allocations: 7.938 kB / 0.7888 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.592e-06/0.1989, allocations: 0 / 0.7888 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.1989, allocations: 11.92 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.199, allocations: 53.45 kB / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.41e-05/0.1991, allocations: 79.89 kB / 0.7889 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1991, allocations: 4 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1991, allocations: 0 / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1991, allocations: 0 / 0.7889 GB, free: 10.54 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.0003284/0.1994, allocations: 371.2 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1995, allocations: 12.03 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.1995, allocations: 34.75 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.1995, allocations: 8.844 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1997, allocations: 204.1 kB / 0.7895 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1997, allocations: 12.28 kB / 0.7895 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.1997, allocations: 8.375 kB / 0.7895 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.1999, allocations: 91.95 kB / 0.7896 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1999, allocations: 3.938 kB / 0.7896 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1999, allocations: 0 / 0.7896 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.1999, allocations: 4 kB / 0.7896 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.2, allocations: 39.92 kB / 0.7897 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004562/0.2004, allocations: 448.5 kB / 0.7901 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.088e-05/0.2005, allocations: 54.27 kB / 0.7902 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.2005, allocations: 13.84 kB / 0.7902 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.2006, allocations: 7.938 kB / 0.7902 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2006, allocations: 34.56 kB / 0.7902 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2006, allocations: 0 / 0.7902 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/0.2007, allocations: 57.48 kB / 0.7903 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.2008, allocations: 81.11 kB / 0.7903 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2009, allocations: 171.3 kB / 0.7905 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.2009, allocations: 25.95 kB / 0.7905 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/0.201, allocations: 112 kB / 0.7906 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-06/0.201, allocations: 7.906 kB / 0.7906 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.201, allocations: 13.72 kB / 0.7907 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.2011, allocations: 322.8 kB / 0.791 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.2012, allocations: 8 kB / 0.791 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.2012, allocations: 17.72 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.2012, allocations: 29.72 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2012, allocations: 0 / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.424e-05/0.2013, allocations: 65.53 kB / 0.7911 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2013, allocations: 7.938 kB / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.2013, allocations: 0 / 0.7911 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.2014, allocations: 4 kB / 0.7911 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.2014, allocations: 4 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.2014, allocations: 3.984 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.2015, allocations: 7.906 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2015, allocations: 4.062 kB / 0.7911 GB, free: 8.023 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.129e-05/0.2016, allocations: 117.8 kB / 0.7912 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.2016, allocations: 11.84 kB / 0.7912 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.2016, allocations: 12.56 kB / 0.7912 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2016, allocations: 0 / 0.7912 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2016, allocations: 3.938 kB / 0.7913 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2016, allocations: 7.984 kB / 0.7913 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.202, allocations: 470.8 kB / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.202, allocations: 0 / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.202, allocations: 7.938 kB / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2021, allocations: 0 / 0.7917 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.2021, allocations: 4 kB / 0.7917 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.2021, allocations: 4 kB / 0.7917 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2021, allocations: 3.938 kB / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.992e-05/0.2022, allocations: 93.8 kB / 0.7918 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.2022, allocations: 89 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.2022, allocations: 4 kB / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.2023, allocations: 0 / 0.7919 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.2023, allocations: 3.938 kB / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.2023, allocations: 0 / 0.7919 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.2024, allocations: 127.9 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2024, allocations: 0 / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001779/0.2026, allocations: 16.03 kB / 0.792 GB, free: 6.953 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.0002926/0.2029, allocations: 0.6132 MB / 0.7926 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.672e-05/0.2029, allocations: 27.95 kB / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2029, allocations: 0 / 0.7927 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.184e-05/0.203, allocations: 4 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.2031, allocations: 10.97 kB / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.2041, allocations: 1.393 MB / 0.794 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.2043, allocations: 0.6926 MB / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.211e-05/0.2044, allocations: 12.42 kB / 0.7947 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.2044, allocations: 23.44 kB / 0.7948 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.2044, allocations: 0 / 0.7948 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009671/0.2141, allocations: 1.472 MB / 0.7962 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.2143, allocations: 205.4 kB / 0.7964 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/1.722, allocations: 3.938 kB / 0.7964 GB, free: 2.434 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)