Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_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.424/1.424, allocations: 249.5 MB / 257 MB, free: 6.984 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.001103/0.001103, allocations: 179.5 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.499/1.499, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0009427/0.0009429, allocations: 90.28 kB / 0.6714 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.725e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1567, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5839/0.7407, allocations: 131.6 MB / 1.014 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.741, allocations: 71.14 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002678/0.7437, allocations: 1.145 MB / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7437, allocations: 0 / 1.015 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.158e-06/0.7437, allocations: 4 kB / 1.015 GB, free: 4.688 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.000359/0.7441, allocations: 369.2 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.7441, allocations: 8.031 kB / 1.015 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.7442, allocations: 15.91 kB / 1.015 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.7443, allocations: 189.8 kB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.7444, allocations: 0 / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.7444, allocations: 4.5 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.298e-05/0.7445, allocations: 34.44 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001255/0.7446, allocations: 86.52 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.7446, allocations: 0 / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.7447, allocations: 3.938 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7447, allocations: 4 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.7452, allocations: 417.4 kB / 1.016 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/0.7453, allocations: 41.25 kB / 1.016 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.7453, allocations: 13.72 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.7453, allocations: 2.625 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.7453, allocations: 38.55 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.7454, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001573/0.7455, allocations: 49.05 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.7456, allocations: 81.11 kB / 1.016 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.7457, allocations: 123.4 kB / 1.016 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.7457, allocations: 25.7 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.7458, allocations: 111.1 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-06/0.7458, allocations: 7.906 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.7458, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.746, allocations: 321.2 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.807e-05/0.746, allocations: 11.5 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.746, allocations: 17.09 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.746, allocations: 11.69 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7461, allocations: 0 / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.975e-05/0.7461, allocations: 60.98 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.7462, allocations: 5.25 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.7462, allocations: 0 / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.719e-06/0.7462, allocations: 8.062 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.7463, allocations: 4 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.7463, allocations: 0 / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.7463, allocations: 7.938 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.7463, allocations: 0 / 1.017 GB, free: 2.543 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 6.18e-05/0.7464, allocations: 108.3 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.181e-05/0.7465, allocations: 53.16 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.7465, allocations: 4 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.646e-05/0.7466, allocations: 19.92 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.7466, allocations: 4.078 kB / 1.017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.7466, allocations: 3.984 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.7466, allocations: 0 / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.747, allocations: 460.2 kB / 1.018 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.747, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.747, allocations: 0.75 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.747, allocations: 4.062 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.747, allocations: 4 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.747, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.747, allocations: 0 / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.608e-05/0.7471, allocations: 90.3 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.7472, allocations: 93 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.7472, allocations: 4.031 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.7472, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.7473, allocations: 4 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.7473, allocations: 0 / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.15e-05/0.7473, allocations: 105.5 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7473, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001757/0.7475, allocations: 11.91 kB / 1.018 GB, free: 1.523 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.0003686/0.7479, allocations: 0.6903 MB / 1.019 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.44e-05/0.748, allocations: 23 kB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.748, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.748, allocations: 4 kB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.7481, allocations: 20.42 kB / 1.019 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.7485, allocations: 141.1 kB / 1.019 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.7488, allocations: 0.7002 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.493e-05/0.7488, allocations: 8.109 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.7488, allocations: 20.69 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/0.7488, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.7674, allocations: 0.976 MB / 1.02 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.7677, allocations: 159.2 kB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.348/2.115, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)