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.505/1.505, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.00106/0.00106, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.893/1.893, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008027/0.0008025, allocations: 91.16 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.658e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6454/0.6454, allocations: 115.3 MB / 0.9645 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1801/0.8255, allocations: 136.8 MB / 1.098 GB, free: 2.883 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.8258, allocations: 67.33 kB / 1.098 GB, free: 2.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002701/0.8286, allocations: 1.151 MB / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8286, allocations: 0 / 1.099 GB, free: 1.691 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.8286, allocations: 4.625 kB / 1.099 GB, free: 1.688 MB / 0.698 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.0003549/0.829, allocations: 359.4 kB / 1.1 GB, free: 1.293 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.829, allocations: 12.56 kB / 1.1 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.8291, allocations: 12.84 kB / 1.1 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.8292, allocations: 183.5 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.8293, allocations: 2.953 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.8293, allocations: 5 kB / 1.1 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001002/0.8294, allocations: 32 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.8295, allocations: 89.41 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.8296, allocations: 3.984 kB / 1.1 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.8296, allocations: 4.594 kB / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.8296, allocations: 0 / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.8302, allocations: 413.8 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.997e-05/0.8302, allocations: 45.73 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.8303, allocations: 21.12 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.8303, allocations: 0.6562 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.8303, allocations: 31.12 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.8303, allocations: 0.5 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.8305, allocations: 50.22 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.8305, allocations: 78.64 kB / 1.101 GB, free: 200 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.8307, allocations: 125.6 kB / 1.101 GB, free: 68 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.8307, allocations: 26.36 kB / 1.101 GB, free: 36 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.8308, allocations: 112.7 kB / 1.101 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.015e-06/0.8308, allocations: 8.531 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.8308, allocations: 1.406 kB / 1.101 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.8309, allocations: 314.8 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.8309, allocations: 8 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.831, allocations: 22.5 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.831, allocations: 10.88 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.831, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.639e-05/0.8311, allocations: 59 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.8311, allocations: 11.95 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8311, allocations: 3.828 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.8312, allocations: 1 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.312e-05/0.8312, allocations: 4 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.8313, allocations: 5.562 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.8313, allocations: 7.875 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.8313, allocations: 0 / 1.101 GB, free: 15.47 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 6.009e-05/0.8314, allocations: 106 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.668e-05/0.8315, allocations: 53.53 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.8315, allocations: 7.859 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.8315, allocations: 11.97 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.8315, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8315, allocations: 5.812 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.8316, allocations: 9.703 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.8319, allocations: 447.6 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.832, allocations: 8.016 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-05/0.832, allocations: 4 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.832, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.832, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.832, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.832, allocations: 0 / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.8321, allocations: 91.52 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.185e-05/0.8322, allocations: 94.41 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.8322, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.372e-05/0.8323, allocations: 4 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.776e-05/0.8323, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.8323, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.07e-05/0.8324, allocations: 104.5 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8324, allocations: 0 / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001865/0.8326, allocations: 8 kB / 1.102 GB, free: 14.44 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.0004405/0.833, allocations: 0.6952 MB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.8331, allocations: 19.94 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8331, allocations: 4.156 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.8331, allocations: 8 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.8333, allocations: 5.562 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.8337, allocations: 145.2 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.8339, allocations: 0.7048 MB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.8339, allocations: 4.312 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.779e-05/0.834, allocations: 27.42 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.834, allocations: 0 / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/0.9709, allocations: 0.9794 MB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/0.9712, allocations: 157.5 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.559, allocations: 2.844 kB / 1.105 GB, free: 11.61 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)