Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_gal,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.827/1.827, allocations: 288.2 MB / 303.2 MB, free: 8.203 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.001129/0.001129, allocations: 182.7 kB / 371.8 MB, free: 10.24 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.732/1.732, allocations: 205.4 MB / 0.6305 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 91.42 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 16.58 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2738, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7621/1.036, allocations: 137.6 MB / 1.114 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.036, allocations: 63.14 kB / 1.114 GB, free: 16.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003617/1.04, allocations: 1.151 MB / 1.115 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.846e-06/1.04, allocations: 0 / 1.115 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.397e-06/1.04, allocations: 0 / 1.115 GB, free: 31.89 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.0004177/1.04, allocations: 391.5 kB / 1.115 GB, free: 31.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.04, allocations: 11.8 kB / 1.115 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/1.041, allocations: 40.81 kB / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/1.041, allocations: 9.156 kB / 1.115 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/1.041, allocations: 189 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/1.041, allocations: 3.938 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/1.041, allocations: 15.55 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/1.041, allocations: 85.66 kB / 1.116 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.041, allocations: 4 kB / 1.116 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/1.041, allocations: 6.609 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.041, allocations: 3.875 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.426e-05/1.041, allocations: 37 kB / 1.116 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006461/1.042, allocations: 463.9 kB / 1.116 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.544e-05/1.042, allocations: 33.03 kB / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/1.042, allocations: 0 / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.042, allocations: 46.25 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/1.042, allocations: 0 / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002138/1.042, allocations: 52.23 kB / 1.116 GB, free: 30.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/1.042, allocations: 81.05 kB / 1.116 GB, free: 30.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/1.042, allocations: 152.8 kB / 1.117 GB, free: 30.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/1.042, allocations: 25.7 kB / 1.117 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.4e-05/1.042, allocations: 112.9 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/1.042, allocations: 13.94 kB / 1.117 GB, free: 30.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/1.043, allocations: 4.25 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.043, allocations: 323.8 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.501e-05/1.043, allocations: 7.781 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/1.043, allocations: 20.62 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.321e-05/1.043, allocations: 11.69 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.043, allocations: 0 / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001183/1.043, allocations: 71.56 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.043, allocations: 9.406 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.043, allocations: 0 / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.043, allocations: 3.969 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.244e-05/1.043, allocations: 7.812 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/1.043, allocations: 0.7031 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.517e-05/1.043, allocations: 7.75 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/1.043, allocations: 0 / 1.117 GB, free: 29.97 MB / 0.698 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 () * Number of clocked 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 0.0001036/1.043, allocations: 113.4 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/1.043, allocations: 14.5 kB / 1.117 GB, free: 29.85 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.708e-05/1.043, allocations: 16.25 kB / 1.117 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/1.043, allocations: 0 / 1.117 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.043, allocations: 3.875 kB / 1.117 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.043, allocations: 2.766 kB / 1.117 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/1.044, allocations: 478.1 kB / 1.118 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/1.044, allocations: 2.078 kB / 1.118 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/1.044, allocations: 7.906 kB / 1.118 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/1.044, allocations: 7.109 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/1.044, allocations: 0 / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.044, allocations: 0 / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/1.044, allocations: 3.812 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/1.044, allocations: 93.84 kB / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/1.044, allocations: 88.86 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/1.044, allocations: 3.094 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/1.044, allocations: 3.906 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/1.044, allocations: 3.812 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/1.044, allocations: 0 / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001163/1.045, allocations: 132.1 kB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.122e-06/1.045, allocations: 0 / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002814/1.045, allocations: 15.69 kB / 1.118 GB, free: 29.08 MB / 0.698 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 () * Number of clocked 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.0004932/1.045, allocations: 0.6931 MB / 1.119 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001113/1.045, allocations: 22.45 kB / 1.119 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.045, allocations: 0 / 1.119 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.228e-05/1.046, allocations: 13.16 kB / 1.119 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/1.046, allocations: 7.234 kB / 1.119 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/1.047, allocations: 0.7416 MB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/1.047, allocations: 0.6973 MB / 1.12 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.131e-05/1.047, allocations: 11.53 kB / 1.12 GB, free: 27.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/1.047, allocations: 24.62 kB / 1.12 GB, free: 27.13 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/1.047, allocations: 3.938 kB / 1.12 GB, free: 27.13 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01505/1.062, allocations: 1.59 MB / 1.122 GB, free: 26.97 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.063, allocations: 202.2 kB / 1.122 GB, free: 26.73 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.512/2.574, allocations: 0 / 1.122 GB, free: 26.73 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1)