Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",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.373/2.373, allocations: 251 MB / 265.9 MB, free: 11.69 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.001579, allocations: 187.1 kB / 325.5 MB, free: 2.871 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.527/2.527, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.00109/0.001089, allocations: 103.5 kB / 0.6809 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004809, allocations: 13.59 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2203, allocations: 106.3 MB / 0.8988 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.4436, allocations: 131.2 MB / 1.027 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4439, allocations: 63.97 kB / 1.027 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004174/0.4481, allocations: 1.165 MB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4481, allocations: 4.156 kB / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.4482, allocations: 0 / 1.028 GB, free: 12.74 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.0004832/0.4487, allocations: 382.9 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4487, allocations: 8.031 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.985e-05/0.4488, allocations: 46.55 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.4488, allocations: 11.86 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.449, allocations: 178.9 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.4491, allocations: 4 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4491, allocations: 8 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.4493, allocations: 93.2 kB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4494, allocations: 4 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.4494, allocations: 7.984 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4494, allocations: 0 / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.4495, allocations: 43.92 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007957/0.4503, allocations: 460.5 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.903e-05/0.4505, allocations: 45.23 kB / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.4505, allocations: 0 / 1.029 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.4505, allocations: 34.56 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.4505, allocations: 0 / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002795/0.4508, allocations: 57.61 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.4509, allocations: 77.11 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.4512, allocations: 152.1 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.4513, allocations: 25.7 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4514, allocations: 111.9 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.4514, allocations: 12.09 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.4514, allocations: 4 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.4516, allocations: 327.6 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.4516, allocations: 8 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.4517, allocations: 17.72 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.743e-05/0.4517, allocations: 15.92 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4518, allocations: 7.938 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001543/0.4519, allocations: 57.61 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.452, allocations: 8 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.452, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.452, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4521, allocations: 11.98 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.4521, allocations: 7.875 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.24e-05/0.4522, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.4522, allocations: 4 kB / 1.03 GB, free: 10.3 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.0001088/0.4523, allocations: 119.7 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.4524, allocations: 15.88 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.878e-05/0.4525, allocations: 12.56 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4525, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4525, allocations: 3.984 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4525, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.4531, allocations: 474.8 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4531, allocations: 0 / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.4532, allocations: 7.984 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4532, allocations: 4.062 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.4532, allocations: 0 / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.4532, allocations: 4 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4533, allocations: 4 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.4534, allocations: 91.52 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.4535, allocations: 97.03 kB / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4535, allocations: 0 / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.4536, allocations: 0 / 1.031 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.4536, allocations: 4 kB / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.4536, allocations: 0 / 1.031 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001527/0.4538, allocations: 137.8 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4538, allocations: 0 / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002445/0.4541, allocations: 15.84 kB / 1.031 GB, free: 9.211 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.0005025/0.4546, allocations: 0.6876 MB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.4547, allocations: 23.94 kB / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4547, allocations: 0 / 1.032 GB, free: 8.465 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.553e-05/0.4548, allocations: 12.16 kB / 1.032 GB, free: 8.453 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.4549, allocations: 11.89 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.4562, allocations: 0.7556 MB / 1.033 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4565, allocations: 0.6965 MB / 1.033 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.056e-05/0.4565, allocations: 12.42 kB / 1.033 GB, free: 6.898 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.4566, allocations: 27.42 kB / 1.033 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of SimCode: time 1.363e-06/0.4566, allocations: 0 / 1.033 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.4761, allocations: 1.571 MB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/0.4764, allocations: 196.1 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.862, allocations: 1.75 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB