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.54/1.54, allocations: 249.3 MB / 261.9 MB, free: 5.812 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.0009733/0.0009733, allocations: 185.7 kB / 321.3 MB, free: 14.67 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.59/1.59, allocations: 205.1 MB / 0.572 GB, free: 10.64 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.0008506/0.0008506, allocations: 90.48 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.041e-05/4.062e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2535, allocations: 106.3 MB / 0.8919 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8615/1.115, allocations: 131.4 MB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.115, allocations: 63.78 kB / 1.02 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002801/1.118, allocations: 1.159 MB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.254e-06/1.118, allocations: 0 / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.263e-06/1.118, allocations: 0 / 1.021 GB, free: 2.316 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.0003726/1.119, allocations: 369 kB / 1.022 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.119, allocations: 8.031 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.629e-05/1.119, allocations: 38.44 kB / 1.022 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/1.119, allocations: 7.906 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/1.119, allocations: 186.8 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/1.119, allocations: 13 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/1.119, allocations: 4 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/1.119, allocations: 96.91 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.119, allocations: 0 / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/1.119, allocations: 3.75 kB / 1.022 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/1.119, allocations: 7.984 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/1.119, allocations: 39.11 kB / 1.022 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006051/1.12, allocations: 461.6 kB / 1.023 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.202e-05/1.12, allocations: 44.88 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/1.12, allocations: 17.28 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/1.12, allocations: 2.734 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/1.12, allocations: 30.56 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/1.12, allocations: 0 / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/1.12, allocations: 53.16 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/1.12, allocations: 85.17 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/1.12, allocations: 154 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/1.12, allocations: 25.7 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/1.121, allocations: 110.7 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/1.121, allocations: 7.891 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/1.121, allocations: 0 / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.121, allocations: 322 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/1.121, allocations: 7.375 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.999e-05/1.121, allocations: 25.28 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.354e-05/1.121, allocations: 19.81 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.121, allocations: 0 / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.325e-05/1.121, allocations: 56.92 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/1.121, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.121, allocations: 0 / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.121, allocations: 4 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/1.121, allocations: 7.984 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.121, allocations: 8.703 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.341e-05/1.121, allocations: 7.938 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/1.121, allocations: 0 / 1.023 GB, free: 28 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.0001036/1.121, allocations: 115 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/1.121, allocations: 16.03 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/1.121, allocations: 16.02 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/1.121, allocations: 3.938 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.121, allocations: 3.984 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.121, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/1.122, allocations: 479.3 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.122, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/1.122, allocations: 7.984 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.122, allocations: 3.938 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/1.122, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/1.122, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.122, allocations: 4 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/1.122, allocations: 94.27 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/1.122, allocations: 92.44 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/1.122, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.246e-05/1.122, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/1.122, allocations: 4 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/1.122, allocations: 4.031 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001204/1.122, allocations: 132.9 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/1.122, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001778/1.123, allocations: 15.86 kB / 1.024 GB, free: 14.99 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.0004558/1.123, allocations: 0.6975 MB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.556e-05/1.123, allocations: 15.12 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.123, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/1.123, allocations: 7.312 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/1.123, allocations: 19.31 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003846/1.124, allocations: 139.2 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/1.124, allocations: 0.7004 MB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.291e-05/1.124, allocations: 8.375 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/1.124, allocations: 25.3 kB / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of SimCode: time 4.31e-07/1.124, allocations: 0 / 1.026 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/1.136, allocations: 1.573 MB / 1.028 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/1.136, allocations: 171.4 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.662, allocations: 0 / 1.028 GB, free: 11.64 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)