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.396/2.396, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 179.5 kB / 325.5 MB, free: 2.918 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.619/2.619, allocations: 205.4 MB / 0.5764 GB, free: 21.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 102.1 kB / 0.6809 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0009047/0.0009049, allocations: 13.22 kB / 0.795 GB, free: 136 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2109, allocations: 106.3 MB / 0.8988 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.429, allocations: 131.2 MB / 1.027 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.4293, allocations: 67.95 kB / 1.027 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004106/0.4334, allocations: 1.157 MB / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.298e-06/0.4335, allocations: 0 / 1.028 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.4335, allocations: 7.938 kB / 1.028 GB, free: 13.33 MB / 0.6823 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.0004769/0.434, allocations: 382.9 kB / 1.029 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.434, allocations: 8.031 kB / 1.029 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.88e-05/0.4341, allocations: 38.56 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.4341, allocations: 12.08 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.4343, allocations: 182.8 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4344, allocations: 7.938 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.4344, allocations: 12 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.4346, allocations: 97.2 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4346, allocations: 0 / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.4347, allocations: 7.984 kB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4347, allocations: 4 kB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.4348, allocations: 35.98 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007756/0.4356, allocations: 464.5 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.4357, allocations: 37.19 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.4358, allocations: 4 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.4358, allocations: 38.69 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/0.4358, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002309/0.4361, allocations: 57.53 kB / 1.03 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.4361, allocations: 77.11 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.4363, allocations: 152.2 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.4364, allocations: 25.7 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.667e-05/0.4365, allocations: 112.2 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.4365, allocations: 15.83 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.4365, allocations: 4 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4366, allocations: 319.8 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.4367, allocations: 7.984 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.555e-05/0.4368, allocations: 21.72 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.4368, allocations: 8 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4368, allocations: 7.938 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000144/0.437, allocations: 65.53 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.437, allocations: 4 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.437, allocations: 96 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.4371, allocations: 7.984 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.4372, allocations: 4 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4372, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.4373, allocations: 7.938 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.4373, allocations: 0 / 1.03 GB, free: 10.89 MB / 0.6823 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.0001105/0.4374, allocations: 121.9 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.847e-05/0.4375, allocations: 11.81 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.789e-05/0.4375, allocations: 16.55 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4375, allocations: 3.938 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.4376, allocations: 4 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4376, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.4381, allocations: 478.8 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4382, allocations: 8.062 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.4382, allocations: 0 / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.4382, allocations: 4 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.4382, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4383, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4383, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.4384, allocations: 103.5 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.4385, allocations: 81.02 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.4385, allocations: 7.984 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.287e-05/0.4386, allocations: 4 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.4386, allocations: 0 / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-06/0.4386, allocations: 4 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001513/0.4388, allocations: 129.8 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.6e-07/0.4388, allocations: 0 / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002622/0.4391, allocations: 11.91 kB / 1.031 GB, free: 9.805 MB / 0.6823 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.000476/0.4396, allocations: 0.6954 MB / 1.032 GB, free: 9.074 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.4397, allocations: 24.03 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4398, allocations: 0 / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.878e-05/0.4398, allocations: 8 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.44, allocations: 15.94 kB / 1.032 GB, free: 9.027 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.4412, allocations: 0.7478 MB / 1.033 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.4416, allocations: 0.7082 MB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.163e-05/0.4416, allocations: 8.422 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.4417, allocations: 23.44 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/0.4417, allocations: 0 / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.4644, allocations: 1.574 MB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003931/0.4649, allocations: 190.5 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/2.993, allocations: 3.938 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB