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.182/2.182, allocations: 248.5 MB / 261.1 MB, free: 5.965 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.001466/0.001466, allocations: 180.8 kB / 320.4 MB, free: 15.32 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.916/1.916, allocations: 205.2 MB / 0.5711 GB, free: 11.73 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.001146/0.001146, allocations: 106.8 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.644e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 106.2 MB / 0.8907 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.87/1.078, allocations: 131.2 MB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.079, allocations: 72.95 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004072/1.083, allocations: 1.149 MB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/1.083, allocations: 0 / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.777e-06/1.083, allocations: 4 kB / 1.02 GB, free: 3.02 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.0004538/1.083, allocations: 372.9 kB / 1.02 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.083, allocations: 12.03 kB / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/1.083, allocations: 34.31 kB / 1.02 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/1.083, allocations: 15.86 kB / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/1.084, allocations: 179.6 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.084, allocations: 7.359 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/1.084, allocations: 11.94 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/1.084, allocations: 83.31 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.084, allocations: 4 kB / 1.021 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/1.084, allocations: 6.875 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/1.084, allocations: 0 / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/1.084, allocations: 38.69 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007762/1.085, allocations: 469.7 kB / 1.021 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/1.085, allocations: 42.59 kB / 1.021 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.013e-05/1.085, allocations: 12.66 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/1.085, allocations: 4 kB / 1.021 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.085, allocations: 38.59 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.844e-06/1.085, allocations: 0 / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001917/1.085, allocations: 47.67 kB / 1.021 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/1.085, allocations: 77.11 kB / 1.021 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/1.086, allocations: 158 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/1.086, allocations: 25.7 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/1.086, allocations: 116.9 kB / 1.022 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/1.086, allocations: 3.906 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-06/1.086, allocations: 4.062 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.086, allocations: 326.3 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/1.086, allocations: 7.312 kB / 1.022 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.934e-05/1.086, allocations: 21.45 kB / 1.022 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.17e-05/1.086, allocations: 11.38 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.086, allocations: 0 / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000147/1.086, allocations: 68.72 kB / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/1.086, allocations: 4 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.086, allocations: 0 / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.086, allocations: 0 / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/1.087, allocations: 8 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/1.087, allocations: 3.938 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/1.087, allocations: 4.156 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/1.087, allocations: 4 kB / 1.022 GB, free: 0.7344 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.318e-05/1.087, allocations: 112.9 kB / 1.022 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/1.087, allocations: 19.75 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/1.087, allocations: 12.52 kB / 1.022 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.087, allocations: 2.812 kB / 1.022 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.087, allocations: 4 kB / 1.022 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.087, allocations: 0 / 1.022 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/1.087, allocations: 483.2 kB / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/1.087, allocations: 0 / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/1.088, allocations: 64 / 1.023 GB, free: 72 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/1.088, allocations: 8 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/1.088, allocations: 0 / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/1.088, allocations: 3.938 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.088, allocations: 0 / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/1.088, allocations: 93.75 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.949e-05/1.088, allocations: 95.72 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/1.088, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.918e-05/1.088, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/1.088, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/1.088, allocations: 7.953 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001434/1.088, allocations: 127.2 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/1.088, allocations: 0 / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002374/1.088, allocations: 11.38 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.000505/1.089, allocations: 0.698 MB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001128/1.089, allocations: 22.12 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.089, allocations: 0 / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.486e-05/1.089, allocations: 8.156 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.0001436/1.089, allocations: 14.64 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/1.09, allocations: 147.9 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/1.09, allocations: 0.7004 MB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.625e-05/1.09, allocations: 12.55 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/1.09, allocations: 20.69 kB / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/1.09, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/1.111, allocations: 1.555 MB / 1.026 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003432/1.111, allocations: 166 kB / 1.026 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/3.369, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.6511 GB