Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.From_ton,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.289/2.289, 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.001596/0.001596, allocations: 185.2 kB / 325.5 MB, free: 2.906 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.564/2.564, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001195/0.001195, allocations: 92.19 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006482/0.0006482, allocations: 12.81 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2271, allocations: 106.3 MB / 0.8988 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.452, allocations: 131.2 MB / 1.027 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.4524, allocations: 67.95 kB / 1.027 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004123/0.4565, allocations: 1.165 MB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.814e-06/0.4566, allocations: 0 / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.4566, allocations: 0 / 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.0004648/0.4571, allocations: 378.9 kB / 1.029 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.138e-05/0.4572, allocations: 8.031 kB / 1.029 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.313e-05/0.4573, allocations: 38.56 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.271e-05/0.4573, allocations: 20.08 kB / 1.029 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.4575, allocations: 186.8 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.4575, allocations: 7.938 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.4576, allocations: 11.94 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.4578, allocations: 87.39 kB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4578, allocations: 3.938 kB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4578, allocations: 4 kB / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4578, allocations: 0 / 1.029 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001262/0.458, allocations: 39.98 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007637/0.4588, allocations: 464.5 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.373e-05/0.4589, allocations: 45.2 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4589, allocations: 0 / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4589, allocations: 34.59 kB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.4589, allocations: 0 / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002249/0.4592, allocations: 53.61 kB / 1.029 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.4592, allocations: 85.36 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.4595, allocations: 152.1 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.4595, allocations: 25.7 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.4596, allocations: 111.9 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.4596, allocations: 7.844 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-06/0.4596, allocations: 4 kB / 1.03 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4598, allocations: 327.8 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.077e-05/0.4598, allocations: 4 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.4599, allocations: 25.7 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.4599, allocations: 8 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4599, allocations: 4 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/0.4601, allocations: 57.55 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4601, allocations: 8 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4601, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4601, allocations: 0 / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4603, allocations: 12.05 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4603, allocations: 4 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.505e-05/0.4603, allocations: 4 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.4604, allocations: 4 kB / 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.0001017/0.4605, allocations: 119.7 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.4605, allocations: 11.81 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.4606, allocations: 12.55 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.4606, allocations: 4.031 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4606, allocations: 3.938 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.4606, allocations: 7.984 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00058/0.4612, allocations: 474.8 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4612, allocations: 4 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.4613, allocations: 11.92 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.4613, allocations: 3.938 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.4613, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4613, allocations: 0 / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4614, allocations: 4 kB / 1.031 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.4615, allocations: 91.64 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.4616, allocations: 93 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.4616, allocations: 0 / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.988e-05/0.4617, allocations: 0 / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.4617, allocations: 4 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.4617, allocations: 4.031 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001525/0.4619, allocations: 141.7 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4619, allocations: 0 / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002711/0.4622, allocations: 11.91 kB / 1.031 GB, free: 9.789 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.0005022/0.4627, allocations: 0.6954 MB / 1.032 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.4628, allocations: 15.94 kB / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4628, allocations: 0 / 1.032 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/0.4629, allocations: 12 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.4631, allocations: 7.953 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.4643, allocations: 0.7518 MB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.4647, allocations: 0.7004 MB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.522e-05/0.4647, allocations: 4.438 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.4648, allocations: 27.42 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of SimCode: time 6.61e-07/0.4648, allocations: 0 / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.4897, allocations: 1.587 MB / 1.035 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.49, allocations: 186.5 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.302/2.792, allocations: 4.062 kB / 1.035 GB, free: 5.781 MB / 0.6823 GB