Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001058, allocations: 184.8 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008349/0.0008349, allocations: 96.61 kB / 0.6714 GB, free: 4.961 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.115e-05/2.117e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2405, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7917/1.032, allocations: 131.6 MB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.033, allocations: 67.66 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002567/1.035, allocations: 1.146 MB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.422e-06/1.035, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.035, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 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.0003317/1.036, allocations: 368.8 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.036, allocations: 8.031 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/1.036, allocations: 11.91 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/1.036, allocations: 185.5 kB / 1.016 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/1.036, allocations: 4 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/1.036, allocations: 4 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.893e-05/1.036, allocations: 35.62 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/1.036, allocations: 80.72 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.036, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.036, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.036, allocations: 4 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005174/1.037, allocations: 424 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.545e-05/1.037, allocations: 33.25 kB / 1.016 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/1.037, allocations: 25.66 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/1.037, allocations: 2.625 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/1.037, allocations: 34.56 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.037, allocations: 0 / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/1.037, allocations: 45.22 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/1.037, allocations: 81.05 kB / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/1.037, allocations: 128.9 kB / 1.016 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/1.037, allocations: 25.7 kB / 1.016 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.314e-05/1.037, allocations: 111.7 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/1.037, allocations: 3.906 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/1.037, allocations: 4 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.037, allocations: 321.3 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.762e-05/1.037, allocations: 7.875 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.264e-05/1.037, allocations: 21.52 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.208e-05/1.037, allocations: 11.31 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.037, allocations: 4 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.498e-05/1.038, allocations: 61.42 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.038, allocations: 5.25 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.038, allocations: 0 / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.038, allocations: 4 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/1.038, allocations: 4.844 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.038, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.05e-05/1.038, allocations: 7.938 kB / 1.017 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/1.038, allocations: 8 kB / 1.017 GB, free: 2.523 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/1.038, allocations: 103 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.505e-05/1.038, allocations: 57.58 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/1.038, allocations: 4 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/1.038, allocations: 19.36 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/1.038, allocations: 0 / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.038, allocations: 3.938 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/1.038, allocations: 0 / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003663/1.038, allocations: 458.4 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.038, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/1.038, allocations: 7.984 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/1.038, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/1.038, allocations: 4 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.038, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.038, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.85e-05/1.038, allocations: 91.11 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.337e-05/1.039, allocations: 89 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/1.039, allocations: 0 / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/1.039, allocations: 0 / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/1.039, allocations: 4 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/1.039, allocations: 4.031 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.101e-05/1.039, allocations: 108.3 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.039, allocations: 0 / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001727/1.039, allocations: 11.91 kB / 1.018 GB, free: 1.516 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003465/1.039, allocations: 0.6912 MB / 1.019 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.208e-05/1.039, allocations: 19.88 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.039, allocations: 0 / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/1.039, allocations: 4 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/1.039, allocations: 11.88 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/1.04, allocations: 138.7 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/1.04, allocations: 0.7041 MB / 1.019 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.556e-05/1.04, allocations: 4.125 kB / 1.019 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/1.04, allocations: 26.8 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.04, allocations: 3.938 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/1.058, allocations: 0.9866 MB / 1.02 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/1.059, allocations: 169.4 kB / 1.021 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/2.482, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)