Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.54/1.54, allocations: 288.4 MB / 303.6 MB, free: 8.109 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.0009581/0.0009582, allocations: 187 kB / 372.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.293/1.293, allocations: 205.4 MB / 0.631 GB, free: 9.797 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007324/0.0007323, allocations: 98.23 kB / 0.7444 GB, free: 5.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003329, allocations: 10.97 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1438, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.001433/0.1453, allocations: 1.379 MB / 0.9815 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1466, allocations: 1.344 MB / 0.9828 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.1467, allocations: 4 kB / 0.9828 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.147, allocations: 27.86 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1472, allocations: 55.75 kB / 0.9829 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.1474, allocations: 79.83 kB / 0.983 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.1475, allocations: 103.6 kB / 0.9831 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.1476, allocations: 9.109 kB / 0.9831 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.1477, allocations: 59.7 kB / 0.9832 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1479, allocations: 47.83 kB / 0.9832 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1479, allocations: 4 kB / 0.9832 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.148, allocations: 51.91 kB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.148, allocations: 19.92 kB / 0.9833 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.1481, allocations: 65.48 kB / 0.9833 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1482, allocations: 108 kB / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1482, allocations: 0 / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1482, allocations: 0 / 0.9834 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.1483, allocations: 4 kB / 0.9835 GB, free: 23.86 MB / 0.6198 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.0004548/0.1487, allocations: 426.9 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1488, allocations: 8.031 kB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.175e-05/0.1488, allocations: 46.67 kB / 0.9839 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.1488, allocations: 8.844 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.149, allocations: 219.9 kB / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.149, allocations: 384 / 0.9841 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.149, allocations: 7.938 kB / 0.9841 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.1492, allocations: 113 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1492, allocations: 0 / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1493, allocations: 4 kB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1493, allocations: 0 / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1494, allocations: 63.89 kB / 0.9843 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1496, allocations: 203.5 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002/0.1498, allocations: 123.7 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.1499, allocations: 54.61 kB / 0.9847 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.1499, allocations: 8 kB / 0.9847 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.1501, allocations: 109.9 kB / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.1502, allocations: 0 / 0.9848 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.000386/0.1505, allocations: 185.3 kB / 0.985 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.1506, allocations: 128.5 kB / 0.9851 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1507, allocations: 179.1 kB / 0.9853 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1507, allocations: 29.7 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.1508, allocations: 108.1 kB / 0.9854 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.1508, allocations: 23.66 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1508, allocations: 0 / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.568e-05/0.1508, allocations: 322.8 kB / 0.9857 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.533e-05/0.1509, allocations: 39.91 kB / 0.9858 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.151, allocations: 72.27 kB / 0.9858 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1512, allocations: 103.4 kB / 0.9859 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1512, allocations: 3.938 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002312/0.1515, allocations: 137.5 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1515, allocations: 4 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1515, allocations: 4 kB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1515, allocations: 0 / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.1516, allocations: 23.92 kB / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1516, allocations: 4 kB / 0.9861 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.276e-05/0.1517, allocations: 19.89 kB / 0.9861 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.1517, allocations: 4 kB / 0.9861 GB, free: 20.8 MB / 0.6198 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 6.266e-05/0.1518, allocations: 130 kB / 0.9862 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.1518, allocations: 7.906 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1519, allocations: 29.33 kB / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1519, allocations: 0 / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1519, allocations: 0 / 0.9863 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1519, allocations: 4 kB / 0.9863 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.741e-05/0.152, allocations: 209.4 kB / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.152, allocations: 0 / 0.9865 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.1521, allocations: 15.98 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1521, allocations: 4 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1521, allocations: 4 kB / 0.9865 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1521, allocations: 4.25 kB / 0.9865 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1521, allocations: 3.984 kB / 0.9865 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1523, allocations: 178.6 kB / 0.9867 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.1524, allocations: 96.84 kB / 0.9868 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.1524, allocations: 4 kB / 0.9868 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.1525, allocations: 15.92 kB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1525, allocations: 7.984 kB / 0.9868 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1525, allocations: 8 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.1526, allocations: 136.2 kB / 0.9869 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1526, allocations: 4 kB / 0.9869 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002071/0.1528, allocations: 31.98 kB / 0.987 GB, free: 19.83 MB / 0.6198 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.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001053/0.1539, allocations: 1.041 MB / 0.988 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002284/0.1541, allocations: 95.88 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.1541, allocations: 0 / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1543, allocations: 48.17 kB / 0.9881 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1545, allocations: 40.44 kB / 0.9882 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009861/0.1555, allocations: 0.8087 MB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.768e-05/0.1556, allocations: 0.7043 MB / 0.9896 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.665e-05/0.1557, allocations: 28.47 kB / 0.9897 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.1558, allocations: 39.41 kB / 0.9897 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of SimCode: time 3.1e-07/0.1558, allocations: 0 / 0.9897 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4841/0.6398, allocations: 3.312 MB / 0.9929 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.6402, allocations: 230.5 kB / 0.9932 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.397, allocations: 0 / 0.9932 GB, free: 13.64 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_Files_Examples_CSVReader.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)