Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.198/2.198, allocations: 248.7 MB / 256.2 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 172.5 kB / 315.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.095/2.095, allocations: 205.3 MB / 0.5662 GB, free: 0.543 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 86.03 kB / 0.6704 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.564e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2118, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8782/1.09, allocations: 131.4 MB / 1.012 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.09, allocations: 62.34 kB / 1.013 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004072/1.094, allocations: 1.162 MB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/1.095, allocations: 0 / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.677e-06/1.095, allocations: 0 / 1.014 GB, free: 6.406 MB / 0.6355 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.0004291/1.095, allocations: 373 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.095, allocations: 8.031 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/1.095, allocations: 15.86 kB / 1.014 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/1.095, allocations: 182.8 kB / 1.014 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/1.095, allocations: 4 kB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/1.095, allocations: 4 kB / 1.014 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/1.095, allocations: 34.25 kB / 1.014 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/1.096, allocations: 79.66 kB / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.096, allocations: 0 / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.096, allocations: 0 / 1.014 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/1.096, allocations: 4 kB / 1.014 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/1.096, allocations: 418.4 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.763e-05/1.097, allocations: 36.78 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/1.097, allocations: 20.34 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/1.097, allocations: 0 / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/1.097, allocations: 42.59 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.097, allocations: 0 / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001812/1.097, allocations: 44.66 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/1.097, allocations: 77.11 kB / 1.015 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/1.097, allocations: 126.4 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/1.097, allocations: 25.7 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/1.097, allocations: 110.6 kB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.203e-05/1.097, allocations: 15.09 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/1.097, allocations: 4 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.097, allocations: 320.7 kB / 1.016 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/1.097, allocations: 4 kB / 1.016 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/1.097, allocations: 21.28 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/1.098, allocations: 4 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.098, allocations: 4 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/1.098, allocations: 62.14 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.098, allocations: 4 kB / 1.016 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.098, allocations: 4 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.098, allocations: 7.938 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/1.098, allocations: 4 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.098, allocations: 4.719 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/1.098, allocations: 7.844 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/1.098, allocations: 4 kB / 1.016 GB, free: 4.254 MB / 0.6355 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.453e-05/1.098, allocations: 105.3 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001274/1.098, allocations: 53.33 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/1.098, allocations: 11.84 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/1.098, allocations: 15.42 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.098, allocations: 0 / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.098, allocations: 0 / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.098, allocations: 0 / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005041/1.099, allocations: 457.2 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/1.099, allocations: 0 / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.701e-05/1.099, allocations: 4.094 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.099, allocations: 7.969 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/1.099, allocations: 4 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.099, allocations: 0 / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.099, allocations: 0 / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/1.099, allocations: 86.36 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/1.099, allocations: 89 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/1.099, allocations: 0 / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/1.099, allocations: 0 / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/1.099, allocations: 0 / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/1.099, allocations: 7.938 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.262e-05/1.099, allocations: 113.9 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.099, allocations: 32 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002601/1.1, allocations: 15.91 kB / 1.017 GB, free: 3.238 MB / 0.6355 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.0004493/1.1, allocations: 0.6822 MB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.582e-05/1.1, allocations: 22.09 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.1, allocations: 4 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/1.1, allocations: 4 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/1.1, allocations: 6.766 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004651/1.101, allocations: 144.6 kB / 1.017 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/1.101, allocations: 0.7043 MB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4e-05/1.101, allocations: 4.188 kB / 1.018 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/1.101, allocations: 22.17 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/1.101, allocations: 0 / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03478/1.136, allocations: 0.9784 MB / 1.019 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003193/1.137, allocations: 150.3 kB / 1.019 GB, free: 424 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.174/3.311, allocations: 5.703 kB / 1.019 GB, free: 424 kB / 0.6355 GB