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_gal.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_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",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.515/1.515, allocations: 249.3 MB / 261.8 MB, free: 5.891 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.001097/0.001097, allocations: 182.6 kB / 321.3 MB, free: 14.66 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.631/1.631, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.0008979/0.0008978, allocations: 93.22 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.642e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2001, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6477/0.8478, allocations: 131.4 MB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001991/0.8481, allocations: 65.02 kB / 1.02 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002911/0.851, allocations: 1.161 MB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.851, allocations: 0 / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.851, 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.0003168/0.8514, allocations: 367.2 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.8514, allocations: 12.02 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.965e-05/0.8515, allocations: 38.44 kB / 1.022 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.8515, allocations: 7.906 kB / 1.022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.8517, allocations: 183.1 kB / 1.022 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.8517, allocations: 4 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.8517, allocations: 7.062 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.8519, allocations: 93.08 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.8519, allocations: 1.75 kB / 1.022 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.8519, allocations: 7.688 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.8519, allocations: 4 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.721e-05/0.852, allocations: 40.94 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.8527, allocations: 466.1 kB / 1.023 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.215e-05/0.8528, allocations: 37.19 kB / 1.023 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.8528, allocations: 16.53 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.8528, allocations: 2.734 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.8529, allocations: 41.88 kB / 1.023 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.8529, allocations: 4 kB / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.853, allocations: 48.23 kB / 1.023 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.8531, allocations: 77.11 kB / 1.023 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.8533, allocations: 159.5 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.8533, allocations: 25.7 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.8534, allocations: 113.1 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.684e-06/0.8534, allocations: 7.969 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.8534, allocations: 4 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.8535, allocations: 318.3 kB / 1.023 GB, free: 188 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.8535, allocations: 7.312 kB / 1.023 GB, free: 184 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.612e-05/0.8536, allocations: 21.28 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.806e-05/0.8536, allocations: 15.52 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.8536, allocations: 0 / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.947e-05/0.8537, allocations: 64.41 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.8537, allocations: 8 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.8538, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.8538, allocations: 0 / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.87e-05/0.8538, allocations: 4 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.8539, allocations: 7.938 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.8539, allocations: 3.938 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.8539, allocations: 3.438 kB / 1.023 GB, free: 60 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 9.534e-05/0.854, allocations: 113 kB / 1.024 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.539e-05/0.8541, allocations: 19.62 kB / 1.024 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.8541, allocations: 16.14 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8541, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.8541, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.8541, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.8546, allocations: 480.1 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8546, allocations: 64 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.8546, allocations: 8 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8546, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.8546, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8546, allocations: 4 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8546, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.8547, allocations: 98.31 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.8548, allocations: 92.38 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.8548, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.8549, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.279e-05/0.8549, allocations: 4.078 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-06/0.8549, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.855, allocations: 128.5 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.71e-07/0.855, allocations: 3.938 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001726/0.8552, 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.0003808/0.8556, allocations: 0.6947 MB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.8556, allocations: 18.06 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8557, allocations: 4.156 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.8557, allocations: 6.688 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.0001124/0.8558, allocations: 12.42 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.0003682/0.8562, allocations: 143.2 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.8565, allocations: 0.7043 MB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.078e-05/0.8565, allocations: 12.55 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.8566, allocations: 25.38 kB / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/0.8566, allocations: 0 / 1.026 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.8692, allocations: 1.55 MB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.8695, allocations: 176.7 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.482/2.351, allocations: 6.344 kB / 1.028 GB, free: 11.68 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)