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_gal.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_gal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.583/1.583, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.0009987/0.0009987, allocations: 180.9 kB / 361.4 MB, free: 6.824 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.388/1.388, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0007946/0.0007945, allocations: 92.41 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.833e-05, allocations: 4 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.6958, allocations: 115.3 MB / 0.9645 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.8809, allocations: 136.8 MB / 1.098 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.8812, allocations: 66.39 kB / 1.098 GB, free: 2.867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002764/0.884, allocations: 1.155 MB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.313e-06/0.884, allocations: 0 / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.884, allocations: 0 / 1.099 GB, free: 1.734 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.0003432/0.8844, allocations: 364.1 kB / 1.1 GB, free: 1.336 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.8844, allocations: 8.031 kB / 1.1 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.8845, allocations: 12.84 kB / 1.1 GB, free: 1.316 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.8847, allocations: 191.9 kB / 1.1 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.8847, allocations: 5.766 kB / 1.1 GB, free: 1.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.8847, allocations: 4 kB / 1.1 GB, free: 1.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/0.8848, allocations: 36.59 kB / 1.1 GB, free: 1.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.885, allocations: 89.39 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.885, allocations: 0 / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.885, allocations: 0.8438 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.885, allocations: 0 / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.8856, allocations: 413.1 kB / 1.1 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.8857, allocations: 42.48 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.8857, allocations: 18.62 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.8857, allocations: 3.828 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.8857, allocations: 35.55 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.8858, allocations: 0 / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.8859, allocations: 46.86 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.886, allocations: 79.61 kB / 1.101 GB, free: 248 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.8861, allocations: 129.6 kB / 1.101 GB, free: 112 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.8861, allocations: 30.36 kB / 1.101 GB, free: 76 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.169e-05/0.8862, allocations: 108.7 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-06/0.8862, allocations: 3.906 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.8863, allocations: 0.875 kB / 1.101 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.8864, allocations: 322.8 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.8864, allocations: 4.812 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.8864, allocations: 18.56 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.8865, allocations: 11.47 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8865, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.191e-05/0.8866, allocations: 61.53 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.8866, allocations: 11.78 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.8866, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8866, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.551e-05/0.8867, allocations: 12 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.8867, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.8868, allocations: 6.125 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.8868, allocations: 7.875 kB / 1.101 GB, free: 15.51 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.503e-05/0.8869, allocations: 106.7 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.121e-05/0.887, allocations: 49.7 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.887, allocations: 15.86 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.887, allocations: 3.969 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8871, allocations: 4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8871, allocations: 3.984 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.8871, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003638/0.8874, allocations: 447.4 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8875, allocations: 4.078 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.8875, allocations: 10.94 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.8875, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.8875, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.8875, allocations: 4 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8875, allocations: 0 / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.495e-05/0.8876, allocations: 95.52 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.925e-05/0.8877, allocations: 89 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.8877, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/0.8877, allocations: 2.625 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.8878, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.8878, allocations: 4 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.403e-05/0.8878, allocations: 101.8 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8878, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001837/0.888, allocations: 8 kB / 1.102 GB, free: 14.48 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.0003923/0.8884, allocations: 0.6991 MB / 1.103 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.396e-05/0.8885, allocations: 19.94 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8885, allocations: 160 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.334e-05/0.8886, allocations: 12 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001126/0.8887, allocations: 224 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.889, allocations: 149 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002568/0.8893, allocations: 0.697 MB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.578e-05/0.8894, allocations: 12.3 kB / 1.104 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.8894, allocations: 25.23 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8894, allocations: 4 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2143/1.104, allocations: 0.9735 MB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/1.104, allocations: 155 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/2.606, allocations: 4.031 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)