Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.896/1.896, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001463/0.001463, allocations: 176.8 kB / 366.7 MB, free: 1.637 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.627/1.627, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.0008422/0.0008421, allocations: 90.69 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.079e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.658/0.658, allocations: 116.3 MB / 0.9733 GB, free: 76.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.8608, allocations: 137.8 MB / 1.108 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.8611, allocations: 61.41 kB / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003607/0.8647, allocations: 1.15 MB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8647, allocations: 0 / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.8647, allocations: 0 / 1.109 GB, free: 11.09 MB / 0.7136 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.0003924/0.8651, allocations: 375 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.8652, allocations: 8.625 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.8652, allocations: 15.81 kB / 1.109 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.8654, allocations: 175.6 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.8655, allocations: 7.828 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.8655, allocations: 4.531 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001238/0.8656, allocations: 36.58 kB / 1.11 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.8658, allocations: 80.34 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.8658, allocations: 0.5938 kB / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.8659, allocations: 0 / 1.11 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.8659, allocations: 7.875 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.8666, allocations: 423 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.732e-05/0.8666, allocations: 45.09 kB / 1.11 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.995e-05/0.8667, allocations: 15.81 kB / 1.11 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/0.8667, allocations: 96 / 1.11 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.8667, allocations: 42.38 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8667, allocations: 0 / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001666/0.8669, allocations: 41.69 kB / 1.11 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.867, allocations: 77.11 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.8671, allocations: 134.6 kB / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.8671, allocations: 25.7 kB / 1.111 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.8672, allocations: 113.2 kB / 1.111 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.194e-06/0.8672, allocations: 3.906 kB / 1.111 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.8672, allocations: 0 / 1.111 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.8673, allocations: 324.3 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.088e-05/0.8674, allocations: 8 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.841e-05/0.8674, allocations: 19 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.496e-05/0.8674, allocations: 4 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8674, allocations: 6.281 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.8676, allocations: 57.59 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.8676, allocations: 8.734 kB / 1.111 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8676, allocations: 3.938 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.8676, allocations: 0 / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.8677, allocations: 8.812 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.8677, allocations: 5.156 kB / 1.111 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.844e-05/0.8677, allocations: 4.812 kB / 1.111 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.8678, allocations: 4 kB / 1.111 GB, free: 8.848 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 5.911e-05/0.8678, allocations: 104.1 kB / 1.111 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001201/0.868, allocations: 53.53 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.868, allocations: 14.81 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.8681, allocations: 11.97 kB / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.8681, allocations: 0 / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.8681, allocations: 0 / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8681, allocations: 3.125 kB / 1.111 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.8685, allocations: 447.3 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8685, allocations: 0 / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.8685, allocations: 4 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.8686, allocations: 0 / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.8686, allocations: 4.25 kB / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8686, allocations: 4 kB / 1.112 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.8686, allocations: 6.359 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.107e-05/0.8687, allocations: 87.58 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.8688, allocations: 89 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.8688, allocations: 0 / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.534e-05/0.8688, allocations: 4.031 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.8688, allocations: 3.938 kB / 1.112 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.8688, allocations: 8 kB / 1.112 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.525e-05/0.8689, allocations: 101.6 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8689, allocations: 4 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000208/0.8691, allocations: 11.19 kB / 1.112 GB, free: 7.809 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.0004104/0.8695, allocations: 0.6915 MB / 1.113 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.8696, allocations: 19.94 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8696, allocations: 0 / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.287e-05/0.8697, allocations: 4 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001128/0.8698, allocations: 4.281 kB / 1.113 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003917/0.8702, allocations: 146.7 kB / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.8705, allocations: 0.7009 MB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.8706, allocations: 4.188 kB / 1.114 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.8706, allocations: 27.42 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.8706, allocations: 0 / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.8886, allocations: 0.9834 MB / 1.115 GB, free: 5.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.8888, allocations: 143.9 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.471/2.359, allocations: 0 / 1.115 GB, free: 4.98 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1)