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.171/2.171, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001505/0.001504, allocations: 187.4 kB / 315.4 MB, free: 3.992 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.099/2.099, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001046/0.001046, allocations: 76.44 kB / 0.6704 GB, free: 5.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.549e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.954/1.159, allocations: 131.4 MB / 1.012 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/1.16, allocations: 65.97 kB / 1.013 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006152/1.166, allocations: 1.16 MB / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.665e-06/1.166, allocations: 0 / 1.014 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.683e-05/1.166, allocations: 4 kB / 1.014 GB, free: 6.59 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.0005777/1.167, allocations: 364.3 kB / 1.014 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.335e-05/1.167, allocations: 12.03 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/1.167, allocations: 11.86 kB / 1.014 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/1.167, allocations: 196.3 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/1.167, allocations: 0 / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/1.167, allocations: 4 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001915/1.168, allocations: 29.5 kB / 1.014 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/1.168, allocations: 75.91 kB / 1.014 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/1.168, allocations: 3.938 kB / 1.014 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/1.168, allocations: 3.984 kB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/1.168, allocations: 6.938 kB / 1.014 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/1.169, allocations: 421.9 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/1.169, allocations: 40.53 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.692e-05/1.169, allocations: 16.38 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/1.169, allocations: 4.062 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/1.169, allocations: 33.88 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 4.548e-06/1.169, allocations: 0 / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000277/1.17, allocations: 48.91 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/1.17, allocations: 85.11 kB / 1.015 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/1.17, allocations: 121.3 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/1.17, allocations: 25.7 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/1.17, allocations: 110.6 kB / 1.015 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-05/1.17, allocations: 11.03 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/1.17, allocations: 0 / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001737/1.17, allocations: 320.8 kB / 1.015 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/1.17, allocations: 4 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/1.171, allocations: 24.78 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.638e-05/1.171, allocations: 8 kB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.171, allocations: 0 / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002093/1.171, allocations: 60.39 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/1.171, allocations: 6.812 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.171, allocations: 4 kB / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/1.171, allocations: 0 / 1.016 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.171, allocations: 8.062 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.171, allocations: 0 / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.089e-05/1.171, allocations: 15.78 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.171, allocations: 0 / 1.016 GB, free: 4.441 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 0.0001063/1.171, allocations: 101.2 kB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001987/1.172, allocations: 52.83 kB / 1.016 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/1.172, allocations: 11.84 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/1.172, allocations: 15.36 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/1.172, allocations: 4.062 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.172, allocations: 0 / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/1.172, allocations: 3.984 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007916/1.173, allocations: 455.1 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.173, allocations: 0 / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.937e-05/1.173, allocations: 3.984 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/1.173, allocations: 4 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/1.173, allocations: 64 / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.173, allocations: 4 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/1.173, allocations: 3.938 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/1.173, allocations: 82.3 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.538e-05/1.173, allocations: 89 kB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/1.173, allocations: 0 / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.111e-05/1.173, allocations: 7.969 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/1.173, allocations: 4 kB / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/1.173, allocations: 0 / 1.016 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001331/1.174, allocations: 108.2 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.01e-07/1.174, allocations: 0 / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004454/1.174, allocations: 11.91 kB / 1.017 GB, free: 3.434 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.0006702/1.175, allocations: 0.6875 MB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003802/1.175, allocations: 22.88 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.175, allocations: 0 / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.517e-05/1.175, allocations: 4 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.176, allocations: 10.02 kB / 1.017 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007086/1.176, allocations: 148.5 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/1.177, allocations: 0.7001 MB / 1.018 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.789e-05/1.177, allocations: 4.188 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/1.177, allocations: 26.73 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of SimCode: time 1.803e-06/1.177, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/1.213, allocations: 0.9731 MB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003042/1.213, allocations: 150.7 kB / 1.019 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.446, allocations: 6.812 kB / 1.019 GB, free: 0.6016 MB / 0.6355 GB