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.857/1.857, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001027/0.001027, allocations: 183.7 kB / 371.8 MB, free: 10.26 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.584/1.584, allocations: 205.4 MB / 0.6305 GB, free: 9.902 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.0008342/0.0008341, allocations: 98.78 kB / 0.7439 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004484, allocations: 15.77 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2273, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.818/1.045, allocations: 137.6 MB / 1.114 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/1.046, allocations: 58.38 kB / 1.114 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003105/1.049, allocations: 1.16 MB / 1.115 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.245e-06/1.049, allocations: 0 / 1.115 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.645e-06/1.049, allocations: 0 / 1.115 GB, free: 32.07 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.0003742/1.049, allocations: 387.9 kB / 1.115 GB, free: 31.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/1.049, allocations: 15.48 kB / 1.115 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.004e-05/1.049, allocations: 36.61 kB / 1.115 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/1.049, allocations: 11.66 kB / 1.115 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/1.049, allocations: 192.9 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.05, allocations: 3.25 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/1.05, allocations: 10.47 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/1.05, allocations: 93.47 kB / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.05, allocations: 0 / 1.116 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/1.05, allocations: 7 kB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.05, allocations: 0 / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.163e-05/1.05, allocations: 42.61 kB / 1.116 GB, free: 31.37 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005475/1.05, allocations: 457.9 kB / 1.116 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.705e-05/1.05, allocations: 43.55 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/1.05, allocations: 0 / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/1.05, allocations: 30.66 kB / 1.116 GB, free: 30.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/1.051, allocations: 7.938 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/1.051, allocations: 51.45 kB / 1.116 GB, free: 30.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/1.051, allocations: 83.81 kB / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/1.051, allocations: 154.2 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/1.051, allocations: 25.7 kB / 1.117 GB, free: 30.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/1.051, allocations: 107.4 kB / 1.117 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/1.051, allocations: 12.28 kB / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/1.051, allocations: 0 / 1.117 GB, free: 30.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.051, allocations: 326.5 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/1.051, allocations: 7.312 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/1.051, allocations: 25.69 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/1.051, allocations: 10.22 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.051, allocations: 0 / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/1.051, allocations: 67.41 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.051, allocations: 5.156 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/1.051, allocations: 4.062 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/1.051, allocations: 1.281 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.67e-05/1.052, allocations: 5.438 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/1.052, allocations: 1.344 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.494e-05/1.052, allocations: 9.156 kB / 1.117 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.924e-06/1.052, allocations: 2.5 kB / 1.117 GB, free: 30.15 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.0001024/1.052, allocations: 112.1 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/1.052, allocations: 15.69 kB / 1.117 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/1.052, allocations: 15.81 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/1.052, allocations: 3.938 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.052, allocations: 1.312 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.052, allocations: 1.188 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004083/1.052, allocations: 480.1 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.052, allocations: 1.969 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.81e-05/1.052, allocations: 7.266 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.052, allocations: 4 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.052, allocations: 10.56 kB / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.052, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.052, allocations: 0 / 1.118 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/1.052, allocations: 100.6 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/1.053, allocations: 84.83 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/1.053, allocations: 10.86 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.401e-05/1.053, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.885e-05/1.053, allocations: 0 / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/1.053, allocations: 3.844 kB / 1.118 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.294e-05/1.053, allocations: 129.1 kB / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.053, allocations: 0 / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001862/1.053, allocations: 11.56 kB / 1.118 GB, free: 29.26 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.0005207/1.053, allocations: 0.7039 MB / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.802e-05/1.054, allocations: 18.66 kB / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.054, allocations: 0 / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/1.054, allocations: 6.844 kB / 1.119 GB, free: 28.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/1.054, allocations: 11.28 kB / 1.119 GB, free: 28.56 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/1.055, allocations: 0.7439 MB / 1.12 GB, free: 28.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/1.055, allocations: 0.7029 MB / 1.12 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.301e-05/1.055, allocations: 7.5 kB / 1.12 GB, free: 27.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/1.055, allocations: 28.19 kB / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/1.055, allocations: 0 / 1.12 GB, free: 27.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/1.07, allocations: 1.581 MB / 1.122 GB, free: 27.15 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/1.07, allocations: 196.4 kB / 1.122 GB, free: 26.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.607, allocations: 3.844 kB / 1.122 GB, free: 26.91 MB / 0.698 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)