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.181/2.181, allocations: 251 MB / 265.9 MB, free: 11.68 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.001485/0.001484, allocations: 182.2 kB / 325.5 MB, free: 2.875 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.369/2.369, allocations: 205.4 MB / 0.5764 GB, free: 20.74 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.001179/0.001179, allocations: 105.5 kB / 0.6809 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004766, allocations: 8.844 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 106.3 MB / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2712/0.4951, allocations: 135.4 MB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.4955, allocations: 83.94 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02016/0.5157, allocations: 4.722 MB / 1.036 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.735e-06/0.5157, allocations: 4 kB / 1.036 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.58e-05/0.5158, allocations: 0 / 1.036 GB, free: 5.066 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008236/0.5166, allocations: 450.7 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5167, allocations: 8.031 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.5167, allocations: 38.56 kB / 1.036 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.5168, allocations: 19.77 kB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.5173, allocations: 222.8 kB / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.5173, allocations: 0 / 1.036 GB, free: 4.246 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.5173, allocations: 4 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003461/0.5177, allocations: 105.2 kB / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.5177, allocations: 0 / 1.037 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.5177, allocations: 8 kB / 1.037 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5178, allocations: 0 / 1.037 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.5181, allocations: 67.84 kB / 1.037 GB, free: 4.047 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.5184, allocations: 219.4 kB / 1.037 GB, free: 3.777 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.5189, allocations: 119.9 kB / 1.037 GB, free: 3.633 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.5189, allocations: 8.047 kB / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003402/0.5193, allocations: 121.8 kB / 1.037 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.504e-06/0.5193, allocations: 4 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0008245/0.5201, allocations: 177.5 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.5202, allocations: 132.5 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.5205, allocations: 170 kB / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.5206, allocations: 29.95 kB / 1.038 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.5207, allocations: 108.1 kB / 1.038 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.5207, allocations: 23.66 kB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.5207, allocations: 0 / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5209, allocations: 330.8 kB / 1.038 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.5211, allocations: 35.97 kB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5214, allocations: 84.08 kB / 1.038 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.5216, allocations: 39.98 kB / 1.038 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5216, allocations: 0 / 1.038 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000541/0.5222, allocations: 145.4 kB / 1.038 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.5222, allocations: 4 kB / 1.038 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5222, allocations: 0 / 1.038 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.5223, allocations: 4 kB / 1.038 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.5225, allocations: 28.02 kB / 1.038 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.5225, allocations: 4 kB / 1.038 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.5227, allocations: 15.98 kB / 1.038 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.5227, allocations: 4 kB / 1.038 GB, free: 2.086 MB / 0.6823 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 () * Number of clocked 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.0001552/0.5229, allocations: 127.7 kB / 1.038 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.5229, allocations: 15.81 kB / 1.038 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.5233, allocations: 123.3 kB / 1.039 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.5234, allocations: 4 kB / 1.039 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.5234, allocations: 0 / 1.039 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.5234, allocations: 7.984 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.5237, allocations: 213.5 kB / 1.039 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5237, allocations: 0 / 1.039 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.5239, allocations: 19.98 kB / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.5239, allocations: 0 / 1.039 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.5239, allocations: 4 kB / 1.039 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5239, allocations: 4 kB / 1.039 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.5239, allocations: 7.984 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/0.5245, allocations: 209.9 kB / 1.039 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.391e-05/0.5246, allocations: 96.91 kB / 1.039 GB, free: 1.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.5247, allocations: 4 kB / 1.039 GB, free: 1.145 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.5248, allocations: 15.92 kB / 1.039 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.5249, allocations: 11.95 kB / 1.039 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.5249, allocations: 7.984 kB / 1.039 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002181/0.5252, allocations: 131.5 kB / 1.039 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5252, allocations: 4 kB / 1.039 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003705/0.5255, allocations: 43.92 kB / 1.039 GB, free: 0.9336 MB / 0.6823 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) * Number of clocked states: 0 () * 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.002174/0.5277, allocations: 1.223 MB / 1.04 GB, free: 15.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00053/0.5283, allocations: 99.89 kB / 1.041 GB, free: 15.74 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.5283, allocations: 0 / 1.041 GB, free: 15.74 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.5286, allocations: 60.14 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.529, allocations: 33.06 kB / 1.041 GB, free: 15.65 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.5313, allocations: 1.274 MB / 1.042 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.5317, allocations: 0.7121 MB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001587/0.5319, allocations: 24.62 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.532, allocations: 39.42 kB / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of SimCode: time 2.825e-06/0.532, allocations: 112 / 1.043 GB, free: 13.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.5617, allocations: 3.405 MB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.5621, allocations: 219.4 kB / 1.046 GB, free: 10 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.075, allocations: 0 / 1.046 GB, free: 10 MB / 0.698 GB