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.584/1.584, allocations: 249.3 MB / 261.8 MB, free: 5.93 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.001001/0.001001, allocations: 186.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0009506/0.0009505, allocations: 96.69 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.84e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.225, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8186/1.044, allocations: 131.3 MB / 1.02 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/1.044, allocations: 64.91 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002726/1.047, allocations: 1.164 MB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/1.047, allocations: 0 / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.348e-06/1.047, allocations: 4 kB / 1.021 GB, free: 2.336 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.0003229/1.047, allocations: 365.8 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.047, allocations: 8.031 kB / 1.022 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/1.047, allocations: 37.5 kB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/1.047, allocations: 11.89 kB / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/1.047, allocations: 187.3 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.047, allocations: 4 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/1.047, allocations: 11.69 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/1.047, allocations: 89.03 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/1.047, allocations: 0 / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/1.048, allocations: 3.75 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/1.048, allocations: 7.984 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/1.048, allocations: 38.44 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/1.048, allocations: 458 kB / 1.023 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.834e-05/1.048, allocations: 44.81 kB / 1.023 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/1.048, allocations: 19.91 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.965e-06/1.048, allocations: 0 / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/1.048, allocations: 34.55 kB / 1.023 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.048, allocations: 0 / 1.023 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/1.048, allocations: 56.84 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/1.049, allocations: 81.17 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.049, allocations: 156.6 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/1.049, allocations: 25.7 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/1.049, allocations: 112.8 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.675e-06/1.049, allocations: 3.906 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.036e-06/1.049, allocations: 0 / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.049, allocations: 322.2 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/1.049, allocations: 7.625 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/1.049, allocations: 24.59 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/1.049, allocations: 15.25 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.049, allocations: 3.938 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.67e-05/1.049, allocations: 57.36 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.049, allocations: 4 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.049, allocations: 4 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/1.049, allocations: 0 / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/1.049, allocations: 7.984 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.049, allocations: 8 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/1.049, allocations: 14.62 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/1.049, allocations: 4.156 kB / 1.023 GB, free: 52 kB / 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 0.0001029/1.049, allocations: 108.9 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/1.049, allocations: 15.75 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/1.049, allocations: 15.83 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/1.049, allocations: 3.984 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.049, allocations: 0 / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/1.05, allocations: 0 / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/1.05, allocations: 483.7 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.05, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/1.05, allocations: 7.984 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/1.05, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/1.05, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.05, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.05, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001035/1.05, allocations: 97.64 kB / 1.024 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/1.05, allocations: 89 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/1.05, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/1.05, allocations: 4 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/1.05, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/1.05, allocations: 32 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.917e-05/1.05, allocations: 133.3 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.05, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001836/1.051, allocations: 15.86 kB / 1.024 GB, free: 15.02 MB / 0.6511 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.0003853/1.051, allocations: 0.6943 MB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/1.051, allocations: 19.44 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.051, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.45e-05/1.051, allocations: 7.984 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/1.051, allocations: 14.95 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/1.052, allocations: 147 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/1.052, allocations: 0.7004 MB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.178e-05/1.052, allocations: 8.438 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/1.052, allocations: 22.05 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/1.052, allocations: 4 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01084/1.063, allocations: 1.555 MB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/1.063, allocations: 172.7 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.543, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 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)