Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_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.41/1.41, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001239/0.001239, allocations: 186.8 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008618/0.0008617, allocations: 89.92 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004587/0.0004587, allocations: 9.438 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2838, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.5083, allocations: 131.4 MB / 1.029 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5086, allocations: 67.95 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003516/0.5122, allocations: 1.153 MB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5122, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.5122, allocations: 4 kB / 1.03 GB, free: 11.05 MB / 0.6823 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.0004903/0.5127, allocations: 383.1 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.5128, allocations: 11.97 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.5128, allocations: 42.55 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.5129, allocations: 19.81 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.5131, allocations: 178.9 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.5131, allocations: 4 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.5131, allocations: 12 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.5133, allocations: 97.67 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5134, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.5134, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.5134, allocations: 4 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.5135, allocations: 39.98 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007788/0.5143, allocations: 464.5 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.5144, allocations: 37.16 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.5144, allocations: 0 / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.5145, allocations: 42.72 kB / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5145, allocations: 0 / 1.031 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002673/0.5147, allocations: 53.55 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.5148, allocations: 85.09 kB / 1.031 GB, free: 9.395 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.515, allocations: 157.2 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.5151, allocations: 25.7 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.5152, allocations: 104 kB / 1.031 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.5152, allocations: 20.09 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.5152, allocations: 0 / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5154, allocations: 319.5 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.5154, allocations: 4 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.5154, allocations: 25.7 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.784e-05/0.5155, allocations: 8 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5155, allocations: 3.953 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001289/0.5156, allocations: 65.55 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5157, allocations: 4 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5157, allocations: 0 / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5157, allocations: 7.984 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.399e-05/0.5158, allocations: 4 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5158, allocations: 0 / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.268e-05/0.5159, allocations: 11.91 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.5159, allocations: 3.938 kB / 1.032 GB, free: 8.602 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.516, allocations: 113.9 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.5161, allocations: 15.86 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.5161, allocations: 16.55 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.5161, allocations: 3.938 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5162, allocations: 4 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5162, allocations: 0 / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.5167, allocations: 470.8 kB / 1.032 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5167, allocations: 7.938 kB / 1.032 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.5168, allocations: 4.062 kB / 1.032 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.5168, allocations: 4 kB / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.5168, allocations: 0 / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5168, allocations: 0 / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5168, allocations: 0 / 1.032 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.517, allocations: 99.56 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.517, allocations: 85.02 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.5171, allocations: 4 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.305e-05/0.5171, allocations: 0 / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.285e-05/0.5171, allocations: 7.984 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.5171, allocations: 7.938 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001311/0.5173, allocations: 124.9 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5173, allocations: 0 / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003109/0.5176, allocations: 15.84 kB / 1.033 GB, free: 7.52 MB / 0.6823 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 (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.0004956/0.5181, allocations: 0.7009 MB / 1.033 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.5182, allocations: 19.94 kB / 1.033 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5183, allocations: 4.156 kB / 1.033 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/0.5183, allocations: 8 kB / 1.033 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.5185, allocations: 8 kB / 1.033 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5198, allocations: 0.7493 MB / 1.034 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.5202, allocations: 0.7004 MB / 1.035 GB, free: 5.219 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.974e-05/0.5202, allocations: 12.52 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.5203, allocations: 27.42 kB / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of SimCode: time 3.277e-06/0.5204, allocations: 0 / 1.035 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.5356, allocations: 1.585 MB / 1.037 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/0.5359, allocations: 193.2 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.034, allocations: 1.719 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)