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.462/1.462, allocations: 249.5 MB / 257 MB, free: 6.898 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.001148/0.001148, allocations: 180.8 kB / 316.3 MB, free: 3.238 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.69/1.69, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0007927/0.0007926, allocations: 84.88 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.592e-05/1.586e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1753, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.627/0.8024, allocations: 131.6 MB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.8026, allocations: 64.41 kB / 1.014 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002565/0.8052, allocations: 1.155 MB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8052, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.505e-06/0.8052, allocations: 4 kB / 1.015 GB, free: 4.668 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.0003361/0.8056, allocations: 361.9 kB / 1.015 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8056, allocations: 8.031 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.8057, allocations: 11.91 kB / 1.015 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.8058, allocations: 191.2 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.8059, allocations: 4 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.8059, allocations: 4 kB / 1.016 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.646e-05/0.806, allocations: 30.94 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.8061, allocations: 84.33 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.8061, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.8061, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.8061, allocations: 4 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.8066, allocations: 422.8 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.8067, allocations: 40.94 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.8067, allocations: 17.78 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.8067, allocations: 0 / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.8068, allocations: 37.3 kB / 1.016 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/0.8068, allocations: 3.984 kB / 1.016 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.8069, allocations: 49.25 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.807, allocations: 85.05 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.8071, allocations: 120.2 kB / 1.016 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.8071, allocations: 25.7 kB / 1.016 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.8072, allocations: 114.9 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-06/0.8072, allocations: 7.906 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.8072, allocations: 0 / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.822e-05/0.8073, allocations: 321 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.8073, allocations: 11.53 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.8073, allocations: 17.34 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.8074, allocations: 8 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.8074, allocations: 0 / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.747e-05/0.8075, allocations: 64.73 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.8075, allocations: 5.25 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.8075, allocations: 0 / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.8075, allocations: 4.062 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.8076, allocations: 10.19 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.8076, allocations: 0 / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.8076, allocations: 7.938 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.8076, allocations: 0 / 1.017 GB, free: 2.52 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 7.343e-05/0.8077, allocations: 103 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.328e-05/0.8078, allocations: 57.17 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.8078, allocations: 4 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.8079, allocations: 15.77 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.8079, allocations: 4.062 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8079, allocations: 7.922 kB / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.8079, allocations: 0 / 1.017 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.8082, allocations: 449.4 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.8082, allocations: 7.984 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.8082, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8082, allocations: 4 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.8082, allocations: 4.062 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8082, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8083, allocations: 0.6875 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.637e-05/0.8083, allocations: 86.73 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.8084, allocations: 89 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.8084, allocations: 3.938 kB / 1.018 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.8084, allocations: 4.031 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.8085, allocations: 7.688 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.8085, allocations: 4 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.8085, allocations: 103.9 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8085, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001765/0.8087, allocations: 11.91 kB / 1.018 GB, free: 1.508 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.0003582/0.8091, allocations: 0.6909 MB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.8092, allocations: 19.44 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8092, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.121e-05/0.8092, allocations: 7.75 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.785e-05/0.8093, allocations: 8.234 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.8096, allocations: 141.7 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.8098, allocations: 0.6963 MB / 1.019 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.536e-05/0.8099, allocations: 8.172 kB / 1.019 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.8099, allocations: 21.88 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/0.8099, allocations: 7.875 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01552/0.8255, allocations: 0.9793 MB / 1.02 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.8257, allocations: 164.8 kB / 1.021 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.341/2.167, allocations: 1 kB / 1.021 GB, free: 14.67 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)