Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.667/1.667, allocations: 285.4 MB / 298 MB, free: 5.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 180.8 kB / 366.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009813/0.0009813, allocations: 95.38 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.637e-05/4.665e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/0.7835, allocations: 115.3 MB / 0.971 GB, free: 77.85 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.9706, allocations: 137.5 MB / 1.105 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.9709, allocations: 59.97 kB / 1.105 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.00288/0.9738, allocations: 1.156 MB / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9738, allocations: 0 / 1.106 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.9739, allocations: 1.625 kB / 1.106 GB, free: 13.09 MB / 0.7136 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.0003401/0.9742, allocations: 366.2 kB / 1.107 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.9743, allocations: 9.188 kB / 1.107 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.9743, allocations: 42.55 kB / 1.107 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.9744, allocations: 13.62 kB / 1.107 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.9745, allocations: 181.7 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.9746, allocations: 4 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.9746, allocations: 8.531 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.9748, allocations: 95.94 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.9748, allocations: 6.422 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.9748, allocations: 0 / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.9748, allocations: 4 kB / 1.107 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.14e-05/0.9749, allocations: 35.94 kB / 1.107 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.9755, allocations: 462.8 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.576e-05/0.9756, allocations: 37.97 kB / 1.108 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.9756, allocations: 20.94 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.9756, allocations: 0 / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.9757, allocations: 30.56 kB / 1.108 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.565e-06/0.9757, allocations: 0 / 1.108 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000162/0.9758, allocations: 61.2 kB / 1.108 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.9759, allocations: 81.77 kB / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.976, allocations: 148.6 kB / 1.108 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.9761, allocations: 32.3 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.695e-05/0.9761, allocations: 108 kB / 1.108 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.9762, allocations: 6.625 kB / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.9762, allocations: 0 / 1.108 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9763, allocations: 322.8 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.292e-05/0.9763, allocations: 8 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.595e-05/0.9764, allocations: 17.72 kB / 1.108 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.132e-05/0.9764, allocations: 21.3 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9764, allocations: 0 / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000101/0.9765, allocations: 62.19 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.9765, allocations: 6.938 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9766, allocations: 96 / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.9766, allocations: 11.97 kB / 1.109 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.9767, allocations: 4 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.9767, allocations: 5.891 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.9767, allocations: 13.94 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.9767, allocations: 5.188 kB / 1.109 GB, free: 10.68 MB / 0.7136 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 7.386e-05/0.9768, allocations: 107.5 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.9769, allocations: 11.86 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.9769, allocations: 12.55 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.9769, allocations: 4 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.9769, allocations: 0 / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.9769, allocations: 0 / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.9774, allocations: 485.2 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.9774, allocations: 0 / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.9774, allocations: 7.984 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9774, allocations: 0 / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.9774, allocations: 2.188 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.9774, allocations: 0 / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9775, allocations: 4 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.9776, allocations: 95.58 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.632e-05/0.9776, allocations: 92.91 kB / 1.109 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.9777, allocations: 0 / 1.109 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.477e-05/0.9777, allocations: 0 / 1.109 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.9777, allocations: 4 kB / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.9777, allocations: 0 / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001059/0.9778, allocations: 130.9 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.9e-07/0.9778, allocations: 8.031 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001881/0.978, allocations: 11.98 kB / 1.11 GB, free: 9.621 MB / 0.7136 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.0004731/0.9785, allocations: 0.6914 MB / 1.11 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.894e-05/0.9786, allocations: 28.02 kB / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9786, allocations: 0 / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.9787, allocations: 4 kB / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.9788, allocations: 13.25 kB / 1.11 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.9792, allocations: 142 kB / 1.11 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.9795, allocations: 0.7046 MB / 1.111 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.9795, allocations: 4.438 kB / 1.111 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.9796, allocations: 27.42 kB / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.9796, allocations: 0 / 1.111 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.9915, allocations: 1.547 MB / 1.113 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002607/0.9918, allocations: 164.8 kB / 1.113 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.461, allocations: 5.875 kB / 1.113 GB, free: 6.344 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)