Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_Btu,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_From_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.426/2.426, allocations: 248.5 MB / 261.1 MB, free: 5.941 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.002157/0.002157, allocations: 176.1 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.1 MB / 0.571 GB, free: 11.86 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.00114/0.00114, allocations: 92.72 kB / 0.6754 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.416e-05, allocations: 8 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2115, allocations: 106.3 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8914/1.103, allocations: 131.2 MB / 1.019 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.103, allocations: 65.28 kB / 1.019 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00418/1.107, allocations: 1.159 MB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.114e-06/1.108, allocations: 0 / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.347e-06/1.108, allocations: 7.938 kB / 1.02 GB, free: 3.047 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.0005052/1.108, allocations: 362.1 kB / 1.02 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/1.108, allocations: 12.03 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.462e-05/1.108, allocations: 45.36 kB / 1.02 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/1.108, allocations: 17.67 kB / 1.02 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/1.108, allocations: 178.9 kB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.108, allocations: 3.688 kB / 1.021 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/1.109, allocations: 8 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/1.109, allocations: 88.08 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/1.109, allocations: 0 / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.109, allocations: 11.19 kB / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/1.109, allocations: 0 / 1.021 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/1.109, allocations: 38.44 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007667/1.11, allocations: 462.8 kB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.063e-05/1.11, allocations: 43.66 kB / 1.021 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.685e-05/1.11, allocations: 13.72 kB / 1.021 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/1.11, allocations: 4 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.11, allocations: 38.47 kB / 1.021 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/1.11, allocations: 0 / 1.021 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001927/1.11, allocations: 53.41 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/1.11, allocations: 81.05 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/1.11, allocations: 146.8 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/1.11, allocations: 25.7 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/1.111, allocations: 115.7 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/1.111, allocations: 11.77 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/1.111, allocations: 0 / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.111, allocations: 322.7 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/1.111, allocations: 11.94 kB / 1.022 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/1.111, allocations: 17.7 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/1.111, allocations: 11.81 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.111, allocations: 0 / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001384/1.111, allocations: 61.05 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.111, allocations: 7.984 kB / 1.022 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.111, allocations: 4.062 kB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.111, allocations: 0 / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/1.111, allocations: 8 kB / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/1.111, allocations: 0.7812 kB / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/1.111, allocations: 4.156 kB / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/1.111, allocations: 8.188 kB / 1.022 GB, free: 0.7695 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 7.724e-05/1.111, allocations: 108.9 kB / 1.022 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.733e-05/1.111, allocations: 15.75 kB / 1.022 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/1.112, allocations: 19.56 kB / 1.022 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.112, allocations: 4 kB / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/1.112, allocations: 4 kB / 1.022 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.112, allocations: 0 / 1.022 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/1.112, allocations: 477.2 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.112, allocations: 4 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/1.112, allocations: 4.984 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.112, allocations: 4 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/1.112, allocations: 8 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.112, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.112, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/1.112, allocations: 93.62 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/1.112, allocations: 88.08 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/1.113, allocations: 4 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/1.113, allocations: 4.031 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/1.113, allocations: 3.984 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/1.113, allocations: 7.953 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000139/1.113, allocations: 128 kB / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.113, allocations: 0 / 1.023 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002345/1.113, allocations: 11.5 kB / 1.023 GB, free: 15.73 MB / 0.6511 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.0004857/1.114, allocations: 0.6983 MB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001122/1.114, allocations: 22.69 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.114, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/1.114, allocations: 4 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/1.114, allocations: 15.48 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/1.114, allocations: 143.5 kB / 1.024 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/1.115, allocations: 0.7043 MB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.446e-05/1.115, allocations: 4.438 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.362e-05/1.115, allocations: 26.73 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/1.115, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02049/1.135, allocations: 1.544 MB / 1.026 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003441/1.136, allocations: 166 kB / 1.026 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/3.442, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.6511 GB