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.345/2.345, allocations: 251 MB / 265.9 MB, free: 11.67 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001549/0.001548, allocations: 180.2 kB / 325.5 MB, free: 2.902 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.552/2.552, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001098/0.001098, allocations: 98.47 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005084/0.0005086, allocations: 11.81 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.245, allocations: 106.3 MB / 0.8988 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.4772, allocations: 131.2 MB / 1.027 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.4776, allocations: 67.97 kB / 1.027 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005001/0.4826, allocations: 1.153 MB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of FrontEnd: time 8.126e-06/0.4827, allocations: 0 / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.4827, allocations: 7.938 kB / 1.028 GB, free: 12.85 MB / 0.6823 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.0005624/0.4833, allocations: 386.9 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.4834, allocations: 8.031 kB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.4835, allocations: 42.77 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.4835, allocations: 11.86 kB / 1.029 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.4837, allocations: 188.8 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4838, allocations: 4 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.4838, allocations: 8 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.4841, allocations: 97.03 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4841, allocations: 4 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4842, allocations: 4 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4842, allocations: 4 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.4844, allocations: 35.98 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009615/0.4853, allocations: 460.5 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.4855, allocations: 41.19 kB / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.4855, allocations: 0 / 1.029 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.4855, allocations: 38.69 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.934e-06/0.4856, allocations: 0 / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003027/0.4859, allocations: 61.53 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.417e-05/0.4859, allocations: 77.11 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.4862, allocations: 156.1 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.4863, allocations: 25.7 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.4864, allocations: 107.9 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.4864, allocations: 12.09 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.4864, allocations: 4 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4866, allocations: 319.7 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.4867, allocations: 11.98 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.716e-05/0.4867, allocations: 21.72 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.4868, allocations: 8 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4868, allocations: 0 / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001982/0.487, allocations: 69.56 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4871, allocations: 4 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4871, allocations: 4 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4871, allocations: 0 / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.4872, allocations: 4 kB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4873, allocations: 0 / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.4874, allocations: 7.938 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.4874, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 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 () * Number of clocked 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.0001289/0.4875, allocations: 117.8 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.4876, allocations: 15.83 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.4877, allocations: 20.5 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4877, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4877, allocations: 4 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4878, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007533/0.4885, allocations: 478.8 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4885, allocations: 7.938 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.4886, allocations: 0 / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.4886, allocations: 8.062 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.4887, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.4887, allocations: 4 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.4887, allocations: 0 / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001879/0.4889, allocations: 99.5 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.489, allocations: 93.03 kB / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.4891, allocations: 0 / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.797e-05/0.4891, allocations: 0 / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.581e-05/0.4892, allocations: 0 / 1.031 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.4892, allocations: 4 kB / 1.031 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001979/0.4894, allocations: 129.8 kB / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.8e-07/0.4894, allocations: 0 / 1.031 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004434/0.4899, allocations: 15.84 kB / 1.031 GB, free: 9.316 MB / 0.6823 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 () * Number of clocked 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.0006123/0.4905, allocations: 0.6954 MB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.4907, allocations: 19.94 kB / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.4907, allocations: 0 / 1.032 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.4908, allocations: 12.14 kB / 1.032 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.491, allocations: 13.67 kB / 1.032 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.4927, allocations: 0.7518 MB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4931, allocations: 0.7004 MB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.847e-05/0.4931, allocations: 8.422 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4933, allocations: 23.44 kB / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/0.4933, allocations: 0 / 1.033 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.5167, allocations: 1.588 MB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003397/0.5171, allocations: 190.5 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.296/2.813, allocations: 0.5 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB