Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",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.0009961/0.0009962, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00824/0.00824, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.434/1.434, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.646/1.646, 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.0005762/0.0005762, allocations: 17.97 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2051, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.0009208/0.2061, allocations: 0.5633 MB / 0.7885 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001037/0.2062, allocations: 43.78 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.217e-05/0.2063, allocations: 3.938 kB / 0.7886 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.2063, allocations: 7.938 kB / 0.7886 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.2064, allocations: 11.92 kB / 0.7886 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.143e-05/0.2064, allocations: 16 kB / 0.7886 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.77e-05/0.2065, allocations: 59.84 kB / 0.7887 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.2067, allocations: 37.39 kB / 0.7887 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.2067, allocations: 19.8 kB / 0.7887 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.2068, allocations: 31.78 kB / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.2068, allocations: 0 / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.178e-06/0.2068, allocations: 4 kB / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2068, allocations: 7.938 kB / 0.7888 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.2069, allocations: 57.44 kB / 0.7888 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.589e-05/0.207, allocations: 75.89 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.207, allocations: 3.938 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.207, allocations: 4 kB / 0.7889 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.207, 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.0003363/0.2074, allocations: 379.2 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2074, allocations: 8.031 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.2074, allocations: 38.75 kB / 0.7893 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.2075, allocations: 8.844 kB / 0.7893 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.2076, allocations: 196.1 kB / 0.7895 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2076, allocations: 8.375 kB / 0.7895 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.2077, allocations: 8.375 kB / 0.7895 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.2078, allocations: 94.83 kB / 0.7896 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-06/0.2078, allocations: 7.875 kB / 0.7896 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2078, allocations: 8 kB / 0.7896 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.2078, allocations: 0 / 0.7896 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.224e-05/0.2079, allocations: 35.98 kB / 0.7897 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.2084, allocations: 452.6 kB / 0.7901 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.925e-05/0.2085, allocations: 38.28 kB / 0.7901 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.151e-05/0.2085, allocations: 21.77 kB / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.714e-06/0.2085, allocations: 3.938 kB / 0.7902 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.2085, allocations: 38.5 kB / 0.7902 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.225e-06/0.2085, allocations: 3.984 kB / 0.7902 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001541/0.2087, allocations: 57.55 kB / 0.7903 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.2087, allocations: 81.05 kB / 0.7903 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.2089, allocations: 171.3 kB / 0.7905 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.2089, allocations: 25.7 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.209, allocations: 120.2 kB / 0.7906 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-06/0.209, allocations: 3.906 kB / 0.7906 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.209, allocations: 13.72 kB / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.2091, allocations: 322.8 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.2091, allocations: 4 kB / 0.791 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.2091, allocations: 17.72 kB / 0.791 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.2092, allocations: 33.72 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2092, allocations: 3.938 kB / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.723e-05/0.2093, allocations: 53.59 kB / 0.7911 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2093, allocations: 11.94 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2093, allocations: 0 / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.2093, allocations: 4 kB / 0.7911 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.2094, allocations: 8 kB / 0.7911 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2094, allocations: 3.938 kB / 0.7911 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.476e-05/0.2094, allocations: 11.89 kB / 0.7911 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.2095, allocations: 11.92 kB / 0.7911 GB, free: 8 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.559e-05/0.2095, allocations: 121.8 kB / 0.7912 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.2096, allocations: 11.84 kB / 0.7913 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.307e-05/0.2096, allocations: 12.56 kB / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2096, allocations: 0 / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2096, allocations: 0 / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2096, allocations: 0 / 0.7913 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.21, allocations: 482.8 kB / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.21, allocations: 0 / 0.7917 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/0.21, allocations: 4 kB / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.21, allocations: 0 / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.21, allocations: 0 / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.21, allocations: 0 / 0.7917 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.21, allocations: 7.938 kB / 0.7917 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.102e-05/0.2101, allocations: 93.73 kB / 0.7918 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.2102, allocations: 89 kB / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.196e-05/0.2102, allocations: 0 / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.362e-05/0.2102, allocations: 0 / 0.7919 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.2102, allocations: 4 kB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.2102, allocations: 0 / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.413e-05/0.2103, allocations: 128 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2103, allocations: 0 / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000178/0.2105, allocations: 8 kB / 0.792 GB, free: 6.945 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.0002974/0.2108, allocations: 0.6171 MB / 0.7926 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.642e-05/0.2109, allocations: 19.94 kB / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2109, allocations: 160 / 0.7927 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.551e-05/0.2109, allocations: 15.98 kB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.2111, allocations: 8 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.2121, allocations: 1.385 MB / 0.794 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2123, allocations: 0.6965 MB / 0.7947 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.2124, allocations: 8.422 kB / 0.7947 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.2124, allocations: 23.44 kB / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2124, allocations: 4 kB / 0.7948 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009304/0.2217, allocations: 1.462 MB / 0.7962 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.2219, allocations: 205.4 kB / 0.7964 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/1.816, allocations: 0 / 0.7964 GB, free: 2.434 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)