Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.6 MB / 307.5 MB, free: 5.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001253/0.001253, allocations: 181 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 0.6366 GB, free: 8.621 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.001021, allocations: 91.05 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3535, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9677/1.321, allocations: 142.8 MB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.322, allocations: 83.39 kB / 1.128 GB, free: 32.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01173/1.333, allocations: 4.723 MB / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.216e-06/1.333, allocations: 4 kB / 1.133 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.25e-05/1.333, allocations: 0 / 1.133 GB, free: 28.98 MB / 0.7292 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.0005714/1.334, allocations: 453.8 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.334, allocations: 12.02 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/1.334, allocations: 34.56 kB / 1.133 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/1.334, allocations: 17.58 kB / 1.133 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/1.334, allocations: 227.5 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/1.334, allocations: 3.938 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/1.335, allocations: 4 kB / 1.133 GB, free: 28.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/1.335, allocations: 98.97 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.335, allocations: 0 / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.335, allocations: 4 kB / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/1.335, allocations: 0 / 1.133 GB, free: 28.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/1.335, allocations: 70.2 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/1.335, allocations: 217.2 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/1.335, allocations: 117 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/1.336, allocations: 5.844 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/1.336, allocations: 117.7 kB / 1.134 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/1.336, allocations: 4 kB / 1.134 GB, free: 27.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0004645/1.336, allocations: 179.3 kB / 1.134 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/1.336, allocations: 140 kB / 1.134 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/1.336, allocations: 164.2 kB / 1.134 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/1.336, allocations: 33.52 kB / 1.134 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/1.337, allocations: 108.1 kB / 1.134 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/1.337, allocations: 27.12 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.337, allocations: 0.5625 kB / 1.135 GB, free: 26.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.117e-05/1.337, allocations: 330.2 kB / 1.135 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-05/1.337, allocations: 34.94 kB / 1.135 GB, free: 26.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/1.337, allocations: 79.31 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/1.337, allocations: 40.47 kB / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.337, allocations: 0 / 1.135 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002637/1.337, allocations: 146.6 kB / 1.135 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.337, allocations: 5.031 kB / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.337, allocations: 0 / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/1.337, allocations: 4 kB / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/1.337, allocations: 23.38 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.337, allocations: 4.938 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/1.338, allocations: 19.91 kB / 1.135 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/1.338, allocations: 4 kB / 1.135 GB, free: 26.23 MB / 0.7292 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 9.606e-05/1.338, allocations: 129.1 kB / 1.135 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/1.338, allocations: 7.906 kB / 1.135 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/1.338, allocations: 124.2 kB / 1.135 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/1.338, allocations: 4.797 kB / 1.135 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.338, allocations: 0.5625 kB / 1.135 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.338, allocations: 0.5625 kB / 1.135 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002337/1.338, allocations: 223.5 kB / 1.136 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.338, allocations: 0.6094 kB / 1.136 GB, free: 25.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.128e-05/1.338, allocations: 23.61 kB / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.338, allocations: 0.7031 kB / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/1.338, allocations: 1.594 kB / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.338, allocations: 4 kB / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.338, allocations: 5.406 kB / 1.136 GB, free: 25.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/1.339, allocations: 213.3 kB / 1.136 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/1.339, allocations: 96.44 kB / 1.136 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/1.339, allocations: 4.562 kB / 1.136 GB, free: 25.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/1.339, allocations: 11.19 kB / 1.136 GB, free: 25.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/1.339, allocations: 11.47 kB / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/1.339, allocations: 5.406 kB / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001178/1.339, allocations: 141.6 kB / 1.136 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/1.339, allocations: 3.938 kB / 1.136 GB, free: 25.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002698/1.339, allocations: 37.88 kB / 1.136 GB, free: 25.17 MB / 0.7292 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.00174/1.341, allocations: 1.249 MB / 1.137 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003006/1.342, allocations: 94.56 kB / 1.137 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.342, allocations: 4 kB / 1.137 GB, free: 24.04 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/1.342, allocations: 55.73 kB / 1.138 GB, free: 23.99 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/1.342, allocations: 31.78 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/1.344, allocations: 1.262 MB / 1.139 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/1.344, allocations: 0.7197 MB / 1.14 GB, free: 21.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001031/1.344, allocations: 23.36 kB / 1.14 GB, free: 21.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.258e-05/1.344, allocations: 41.48 kB / 1.14 GB, free: 21.94 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.344, allocations: 0 / 1.14 GB, free: 21.94 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/1.363, allocations: 3.385 MB / 1.143 GB, free: 20 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/1.363, allocations: 219.8 kB / 1.143 GB, free: 19.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/3.183, allocations: 0 / 1.143 GB, free: 19.75 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_8_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)