Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.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.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader",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.521/2.521, allocations: 248.5 MB / 261.1 MB, free: 6.008 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.001457/0.001456, allocations: 180.9 kB / 320.4 MB, free: 15.35 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.997/1.997, allocations: 205.2 MB / 0.571 GB, free: 11.84 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.001223/0.001223, allocations: 100.7 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.589e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2144, allocations: 106.2 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8836/1.098, allocations: 135.3 MB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/1.098, allocations: 83.14 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01988/1.118, allocations: 4.535 MB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.017e-06/1.118, allocations: 7.922 kB / 1.027 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.834e-05/1.118, allocations: 4 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007756/1.119, allocations: 417.7 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.119, allocations: 15.97 kB / 1.028 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.432e-05/1.119, allocations: 30.56 kB / 1.028 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.792e-05/1.119, allocations: 15.77 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/1.12, allocations: 221.7 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/1.12, allocations: 3.938 kB / 1.028 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/1.12, allocations: 7.5 kB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/1.12, allocations: 83.92 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.12, allocations: 4 kB / 1.028 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/1.12, allocations: 3.984 kB / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/1.12, allocations: 0 / 1.028 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/1.12, allocations: 42.44 kB / 1.028 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/1.121, allocations: 212.1 kB / 1.028 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/1.121, allocations: 105 kB / 1.028 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/1.121, allocations: 43.12 kB / 1.028 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/1.121, allocations: 7.984 kB / 1.028 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/1.121, allocations: 107.5 kB / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.144e-06/1.121, allocations: 0 / 1.029 GB, free: 11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0003971/1.122, allocations: 111.1 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/1.122, allocations: 128.5 kB / 1.029 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/1.122, allocations: 178.5 kB / 1.029 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/1.122, allocations: 25.7 kB / 1.029 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/1.122, allocations: 103.1 kB / 1.029 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/1.122, allocations: 27.39 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/1.122, allocations: 3.375 kB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001379/1.123, allocations: 325.8 kB / 1.029 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/1.123, allocations: 23.69 kB / 1.029 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/1.123, allocations: 62.97 kB / 1.03 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.575e-05/1.123, allocations: 23.3 kB / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.123, allocations: 0 / 1.03 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003125/1.123, allocations: 121.5 kB / 1.03 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.123, allocations: 4 kB / 1.03 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.123, allocations: 0 / 1.03 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/1.123, allocations: 12.06 kB / 1.03 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/1.124, allocations: 20.3 kB / 1.03 GB, free: 9.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/1.124, allocations: 8 kB / 1.03 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/1.124, allocations: 18.73 kB / 1.03 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/1.124, allocations: 4 kB / 1.03 GB, free: 9.852 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001122/1.124, allocations: 115.8 kB / 1.03 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/1.124, allocations: 11.81 kB / 1.03 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003402/1.124, allocations: 121.1 kB / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.124, allocations: 0 / 1.03 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.124, allocations: 4 kB / 1.03 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.124, allocations: 0 / 1.03 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/1.125, allocations: 218.4 kB / 1.03 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/1.125, allocations: 0 / 1.03 GB, free: 9.371 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/1.125, allocations: 19.98 kB / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/1.125, allocations: 0 / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/1.125, allocations: 0 / 1.03 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/1.125, allocations: 11.94 kB / 1.03 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.125, allocations: 0 / 1.03 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003619/1.125, allocations: 187.4 kB / 1.03 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/1.125, allocations: 93 kB / 1.03 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/1.125, allocations: 7.938 kB / 1.03 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/1.126, allocations: 11.98 kB / 1.03 GB, free: 9.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/1.126, allocations: 11.58 kB / 1.031 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/1.126, allocations: 7.984 kB / 1.031 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001746/1.126, allocations: 135.1 kB / 1.031 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/1.126, allocations: 0 / 1.031 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003585/1.126, allocations: 42.23 kB / 1.031 GB, free: 8.852 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001873/1.128, allocations: 1.176 MB / 1.032 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003046/1.128, allocations: 65.3 kB / 1.032 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.128, allocations: 0 / 1.032 GB, free: 7.758 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/1.129, allocations: 45.86 kB / 1.032 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/1.129, allocations: 26.59 kB / 1.032 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/1.13, allocations: 223.3 kB / 1.032 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/1.13, allocations: 0.7082 MB / 1.033 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001366/1.13, allocations: 20.86 kB / 1.033 GB, free: 6.707 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/1.13, allocations: 49.84 kB / 1.033 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/1.131, allocations: 0 / 1.033 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/1.161, allocations: 3.381 MB / 1.036 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/1.162, allocations: 195.3 kB / 1.036 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.583, allocations: 3.938 kB / 1.036 GB, free: 3.18 MB / 0.6511 GB