Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.536/2.536, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001541/0.00154, allocations: 188.9 kB / 360.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.00106/0.00106, allocations: 90.89 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.111e-05, allocations: 8 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8534, allocations: 115.3 MB / 0.9634 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/1.107, allocations: 136.7 MB / 1.097 GB, free: 3.895 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/1.107, allocations: 62.12 kB / 1.097 GB, free: 3.836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004129/1.112, allocations: 1.155 MB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.523e-06/1.112, allocations: 3.938 kB / 1.098 GB, free: 2.699 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.436e-06/1.112, allocations: 1.875 kB / 1.098 GB, free: 2.699 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.0004237/1.112, allocations: 367.5 kB / 1.098 GB, free: 2.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.112, allocations: 8.031 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/1.112, allocations: 13.56 kB / 1.098 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/1.112, allocations: 182.9 kB / 1.099 GB, free: 2.059 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/1.112, allocations: 4 kB / 1.099 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/1.112, allocations: 4 kB / 1.099 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001361/1.113, allocations: 35.33 kB / 1.099 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/1.113, allocations: 90.8 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/1.113, allocations: 1.344 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.113, allocations: 0 / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.113, allocations: 4 kB / 1.099 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006855/1.114, allocations: 413.1 kB / 1.099 GB, free: 1.477 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/1.114, allocations: 42.53 kB / 1.099 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/1.114, allocations: 14.38 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/1.114, allocations: 0.7188 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/1.114, allocations: 39.42 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.586e-06/1.114, allocations: 0.5 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002983/1.114, allocations: 42.27 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/1.114, allocations: 77.8 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/1.114, allocations: 139.4 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/1.115, allocations: 26.36 kB / 1.1 GB, free: 1.043 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/1.115, allocations: 109.1 kB / 1.1 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/1.115, allocations: 3.906 kB / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/1.115, allocations: 0 / 1.1 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001885/1.115, allocations: 323.5 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/1.115, allocations: 8.688 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/1.115, allocations: 19.97 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/1.115, allocations: 5.219 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/1.115, allocations: 0 / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002206/1.115, allocations: 69.98 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.115, allocations: 5.406 kB / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/1.115, allocations: 224 / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/1.116, allocations: 0 / 1.1 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/1.116, allocations: 11.94 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.116, allocations: 3.25 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.249e-05/1.116, allocations: 3.938 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/1.116, allocations: 4 kB / 1.1 GB, free: 484 kB / 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 () * 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 8.619e-05/1.116, allocations: 112.7 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001413/1.116, allocations: 49.56 kB / 1.1 GB, free: 308 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/1.116, allocations: 7.906 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/1.116, allocations: 8.781 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.116, allocations: 4 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.116, allocations: 6.703 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.116, allocations: 0 / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005709/1.117, allocations: 443.4 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.117, allocations: 3.984 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/1.117, allocations: 4.25 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/1.117, allocations: 4 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/1.117, allocations: 4 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.117, allocations: 3.875 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.117, allocations: 0 / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/1.117, allocations: 92.73 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.82e-05/1.117, allocations: 93.03 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/1.117, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.5e-05/1.117, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.759e-05/1.117, allocations: 0.6562 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/1.117, allocations: 8 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000136/1.117, allocations: 99.27 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.117, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002709/1.118, allocations: 12 kB / 1.101 GB, free: 15.43 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.0004923/1.118, allocations: 0.6953 MB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001059/1.118, allocations: 12 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.118, allocations: 2.812 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.502e-05/1.118, allocations: 16.09 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/1.119, allocations: 13.06 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006292/1.119, allocations: 146.2 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/1.12, allocations: 0.6963 MB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.605e-05/1.12, allocations: 8.297 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/1.12, allocations: 23.44 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of SimCode: time 9.11e-07/1.12, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03904/1.159, allocations: 0.9722 MB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003328/1.159, allocations: 153.3 kB / 1.104 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/3.412, allocations: 0 / 1.104 GB, free: 12.61 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)