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.391/1.391, allocations: 249.5 MB / 257 MB, free: 6.941 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.0009836/0.0009835, allocations: 179.2 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009132/0.0009133, allocations: 85.53 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.557e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6486/0.8533, allocations: 131.6 MB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.8536, allocations: 68.38 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002665/0.8562, allocations: 1.147 MB / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8563, allocations: 0 / 1.015 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.8563, allocations: 4 kB / 1.015 GB, free: 4.715 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.0003318/0.8566, allocations: 365.1 kB / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.8567, allocations: 12.03 kB / 1.015 GB, free: 4.309 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.8567, allocations: 15.72 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.8569, allocations: 186.8 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.8569, allocations: 0 / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.8569, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.881e-05/0.857, allocations: 33.88 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.8572, allocations: 81.22 kB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8572, allocations: 3.938 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.8572, allocations: 3.984 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.8572, allocations: 8 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.8577, allocations: 419.7 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.541e-05/0.8578, allocations: 33.31 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.21e-05/0.8578, allocations: 22.59 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.8578, allocations: 0 / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.8579, allocations: 38 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.8579, allocations: 0 / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000149/0.858, allocations: 52.84 kB / 1.016 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.8581, allocations: 81.11 kB / 1.016 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.8582, allocations: 120.9 kB / 1.016 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.8582, allocations: 25.7 kB / 1.017 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.8583, allocations: 112.7 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-06/0.8583, allocations: 7.906 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.8583, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8584, allocations: 324.5 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.8584, allocations: 7 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.8585, allocations: 16.91 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.393e-05/0.8585, allocations: 10.94 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8585, allocations: 0 / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.754e-05/0.8586, allocations: 64.36 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.8586, allocations: 4 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8586, allocations: 4.062 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.8586, allocations: 4 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/0.8587, allocations: 4 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.8587, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.8587, allocations: 7.938 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.8588, allocations: 224 / 1.017 GB, free: 2.566 MB / 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 5.897e-05/0.8588, allocations: 103 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.35e-05/0.8589, allocations: 60.73 kB / 1.017 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.859, allocations: 4.062 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.859, allocations: 19.48 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.859, allocations: 0 / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.859, allocations: 0 / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.859, allocations: 3.984 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003604/0.8594, allocations: 451.8 kB / 1.018 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8594, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.8594, allocations: 3.984 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.8594, allocations: 8.062 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-06/0.8594, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.8594, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8595, allocations: 7 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.591e-05/0.8595, allocations: 83.05 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.8596, allocations: 96.22 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.8596, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.8596, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.806e-05/0.8597, allocations: 4 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.8597, allocations: 0 / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.488e-05/0.8597, allocations: 105.8 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8597, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001829/0.8599, allocations: 11.91 kB / 1.018 GB, free: 1.559 MB / 0.6355 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.0003687/0.8603, allocations: 0.6899 MB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.486e-05/0.8604, allocations: 22.75 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8604, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.8604, allocations: 4.156 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001132/0.8605, allocations: 15.2 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.8609, allocations: 140.5 kB / 1.019 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.8612, allocations: 0.704 MB / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.8612, allocations: 192 / 1.02 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.8613, allocations: 32.23 kB / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.8613, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.8781, allocations: 0.9811 MB / 1.02 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/0.8784, allocations: 156.8 kB / 1.021 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.31/2.188, allocations: 0 / 1.021 GB, free: 14.72 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)