Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_UnitConversions_Validation_To_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.25/2.25, allocations: 248.5 MB / 261.1 MB, free: 5.934 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.001436/0.001436, allocations: 194.6 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 1.992/1.992, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001121/0.00112, allocations: 90.48 kB / 0.6754 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.609e-05, allocations: 4 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2048, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9097/1.115, allocations: 131.2 MB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.115, allocations: 63.16 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004329/1.119, allocations: 1.171 MB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.974e-06/1.119, allocations: 4 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.658e-06/1.119, allocations: 0 / 1.02 GB, free: 3.027 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.0004959/1.12, allocations: 365.8 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/1.12, allocations: 8.031 kB / 1.02 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/1.12, allocations: 48.86 kB / 1.02 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/1.12, allocations: 11.86 kB / 1.02 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.12, allocations: 178.9 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/1.12, allocations: 7.75 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/1.12, allocations: 8 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/1.121, allocations: 93.11 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.121, allocations: 3.938 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/1.121, allocations: 3 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/1.121, allocations: 0 / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/1.121, allocations: 36.31 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008198/1.122, allocations: 470.5 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.921e-05/1.122, allocations: 39.28 kB / 1.021 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/1.122, allocations: 17.78 kB / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/1.122, allocations: 3.984 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.122, allocations: 37.78 kB / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/1.122, allocations: 0 / 1.021 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002091/1.122, allocations: 45.05 kB / 1.021 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/1.122, allocations: 85.05 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/1.122, allocations: 155.1 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/1.122, allocations: 25.7 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/1.123, allocations: 114 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.289e-05/1.123, allocations: 3.906 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/1.123, allocations: 3.812 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.123, allocations: 326.1 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/1.123, allocations: 7.625 kB / 1.022 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/1.123, allocations: 17.34 kB / 1.022 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.075e-05/1.123, allocations: 12 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.123, allocations: 0 / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001475/1.123, allocations: 64.78 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.123, allocations: 4 kB / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/1.123, allocations: 0 / 1.022 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/1.123, allocations: 4 kB / 1.022 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/1.123, allocations: 4 kB / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/1.123, allocations: 64 / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/1.123, allocations: 15.47 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.123, allocations: 0 / 1.022 GB, free: 0.7461 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.226e-05/1.123, allocations: 108.9 kB / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/1.124, allocations: 15.81 kB / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/1.124, allocations: 15.69 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.124, allocations: 4 kB / 1.022 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.124, allocations: 3.938 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.124, allocations: 0 / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/1.124, allocations: 486.5 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/1.124, allocations: 4 kB / 1.023 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.176e-05/1.124, allocations: 7.938 kB / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.124, allocations: 96 / 1.023 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.124, allocations: 3.984 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.124, allocations: 0 / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.124, allocations: 0 / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/1.125, allocations: 98.88 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/1.125, allocations: 85.02 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/1.125, allocations: 3.984 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.257e-05/1.125, allocations: 2.625 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/1.125, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/1.125, allocations: 3.953 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001446/1.125, allocations: 132.9 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.125, allocations: 0 / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002432/1.125, allocations: 8 kB / 1.023 GB, free: 15.71 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.0004985/1.126, allocations: 0.6987 MB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000111/1.126, allocations: 22.81 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.126, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.262e-05/1.126, allocations: 4 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/1.126, allocations: 11.77 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004932/1.127, allocations: 147.4 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.127, allocations: 0.7043 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.527e-05/1.127, allocations: 8.422 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/1.127, allocations: 23.12 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.127, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02005/1.147, allocations: 1.552 MB / 1.026 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000298/1.147, allocations: 158.4 kB / 1.026 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.405, allocations: 7.875 kB / 1.026 GB, free: 12.36 MB / 0.6511 GB