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.2/2.2, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.001443/0.001442, allocations: 189.4 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.877/1.877, allocations: 205.3 MB / 0.5662 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 94.47 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.38e-05/2.392e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2061, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8619/1.068, allocations: 131.4 MB / 1.012 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/1.068, allocations: 66.2 kB / 1.013 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003912/1.072, allocations: 1.157 MB / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.423e-06/1.072, allocations: 0 / 1.014 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.072, allocations: 4 kB / 1.014 GB, free: 6.262 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.0004168/1.073, allocations: 366.1 kB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.073, allocations: 12.03 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/1.073, allocations: 11.86 kB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001831/1.073, allocations: 177.2 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/1.073, allocations: 4 kB / 1.014 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/1.073, allocations: 4 kB / 1.014 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/1.073, allocations: 38.75 kB / 1.014 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/1.074, allocations: 82.77 kB / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/1.074, allocations: 0 / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.074, allocations: 0.75 kB / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/1.074, allocations: 0 / 1.014 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006976/1.074, allocations: 427.7 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/1.074, allocations: 39.48 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/1.074, allocations: 22.41 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/1.074, allocations: 0 / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/1.075, allocations: 30.66 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.536e-06/1.075, allocations: 7.922 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000254/1.075, allocations: 45.3 kB / 1.015 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/1.075, allocations: 77.11 kB / 1.015 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/1.075, allocations: 126.9 kB / 1.015 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/1.075, allocations: 25.7 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/1.075, allocations: 123.5 kB / 1.015 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/1.075, allocations: 3.906 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.075, allocations: 0 / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.075, allocations: 317.4 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/1.075, allocations: 4 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.273e-05/1.075, allocations: 29.33 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.661e-05/1.075, allocations: 11.88 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.075, allocations: 0 / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/1.076, allocations: 53.47 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/1.076, allocations: 8 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.076, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/1.076, allocations: 7.984 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/1.076, allocations: 4 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/1.076, allocations: 7.938 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/1.076, allocations: 8.125 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/1.076, allocations: 4 kB / 1.016 GB, free: 4.105 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.184e-05/1.076, allocations: 108.9 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001217/1.076, allocations: 45.22 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/1.076, allocations: 7.891 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.875e-05/1.076, allocations: 15.86 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.076, allocations: 3.938 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.076, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/1.076, allocations: 4 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/1.077, allocations: 450.9 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/1.077, allocations: 0 / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.572e-05/1.077, allocations: 4 kB / 1.016 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.077, allocations: 3.938 kB / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/1.077, allocations: 0 / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.077, allocations: 0 / 1.016 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.842e-06/1.077, allocations: 4 kB / 1.016 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/1.077, allocations: 91.28 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/1.077, allocations: 84.52 kB / 1.016 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/1.077, allocations: 7.984 kB / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/1.077, allocations: 0 / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/1.077, allocations: 0 / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/1.077, allocations: 4.031 kB / 1.016 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.109e-05/1.077, allocations: 107.9 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.077, allocations: 0 / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002705/1.078, allocations: 11.91 kB / 1.017 GB, free: 3.102 MB / 0.6355 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.000506/1.078, allocations: 0.6872 MB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001127/1.078, allocations: 19.92 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.078, allocations: 0 / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/1.078, allocations: 15.81 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/1.079, allocations: 8.812 kB / 1.017 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004972/1.079, allocations: 142.5 kB / 1.017 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/1.079, allocations: 0.708 MB / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.652e-05/1.079, allocations: 192 / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/1.08, allocations: 26.8 kB / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/1.08, allocations: 0 / 1.018 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/1.119, allocations: 0.9769 MB / 1.019 GB, free: 468 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000339/1.12, allocations: 159.4 kB / 1.019 GB, free: 264 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.312, allocations: 0.9844 kB / 1.019 GB, free: 264 kB / 0.6355 GB