Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 190.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001924/0.001924, allocations: 286.7 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8743/0.8743, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 89.58 kB / 0.5948 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1316, allocations: 86.98 MB / 0.6797 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002808/0.1345, allocations: 1.732 MB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1363, allocations: 1.474 MB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.1364, allocations: 4 kB / 0.6829 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1367, allocations: 36.45 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1369, allocations: 61.25 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1372, allocations: 96.39 kB / 0.6831 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1373, allocations: 123.6 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.1374, allocations: 9.953 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.1375, allocations: 63.77 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1377, allocations: 55.69 kB / 0.6833 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1377, allocations: 8 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1378, allocations: 63.97 kB / 0.6834 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.1378, allocations: 19.92 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.1379, allocations: 47.67 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1381, allocations: 151.5 kB / 0.6836 GB, free: 12.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1381, allocations: 4 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.1381, allocations: 0 / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.1381, allocations: 3.938 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB 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.0005412/0.1387, allocations: 438.9 kB / 0.684 GB, free: 12.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.1387, allocations: 11.97 kB / 0.684 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.1388, allocations: 38.75 kB / 0.684 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.1388, allocations: 8.844 kB / 0.6841 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.139, allocations: 216.5 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.139, allocations: 4.375 kB / 0.6843 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.1391, allocations: 7.922 kB / 0.6843 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1393, allocations: 105 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1393, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1393, allocations: 7.984 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1393, allocations: 0 / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1395, allocations: 47.91 kB / 0.6844 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.1397, allocations: 211.5 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1399, allocations: 119.7 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.14, allocations: 46.62 kB / 0.6848 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1401, allocations: 4 kB / 0.6848 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.1403, allocations: 109.9 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/0.1403, allocations: 4 kB / 0.6849 GB, free: 11.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004253/0.1407, allocations: 165.4 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1408, allocations: 128.5 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.141, allocations: 172.6 kB / 0.6853 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.141, allocations: 29.7 kB / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.141, allocations: 104.4 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.1411, allocations: 31.64 kB / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.1411, allocations: 21.72 kB / 0.6855 GB, free: 10.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.1412, allocations: 322.8 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.1413, allocations: 35.91 kB / 0.6859 GB, free: 10.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1415, allocations: 64.27 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.1417, allocations: 95.62 kB / 0.686 GB, free: 10.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1417, allocations: 7.938 kB / 0.686 GB, free: 10.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002727/0.1419, allocations: 133.5 kB / 0.6862 GB, free: 10 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.142, allocations: 4.188 kB / 0.6862 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.142, allocations: 0 / 0.6862 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.142, allocations: 7.938 kB / 0.6862 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.1421, allocations: 27.86 kB / 0.6862 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.1421, allocations: 0 / 0.6862 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.1422, allocations: 19.89 kB / 0.6862 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.1422, allocations: 0 / 0.6862 GB, free: 9.945 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/0.1423, allocations: 128.1 kB / 0.6863 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1423, allocations: 11.91 kB / 0.6863 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.1424, allocations: 21.39 kB / 0.6864 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1424, allocations: 4 kB / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1424, allocations: 0 / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1424, allocations: 0 / 0.6864 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.1426, allocations: 205.5 kB / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1426, allocations: 0 / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.1426, allocations: 19.92 kB / 0.6866 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1427, allocations: 0 / 0.6866 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1427, allocations: 8 kB / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1427, allocations: 0 / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1427, allocations: 0 / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.143, allocations: 166.5 kB / 0.6867 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.143, allocations: 92.95 kB / 0.6868 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1431, allocations: 7.984 kB / 0.6868 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.1431, allocations: 4 kB / 0.6868 GB, free: 9.191 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.1432, allocations: 15.92 kB / 0.6869 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.1432, allocations: 4.062 kB / 0.6869 GB, free: 9.172 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001045/0.1433, allocations: 136.2 kB / 0.687 GB, free: 9.039 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1433, allocations: 0 / 0.687 GB, free: 9.039 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1435, allocations: 32 kB / 0.687 GB, free: 9.008 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/0.1449, allocations: 1.061 MB / 0.6881 GB, free: 8.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000258/0.1452, allocations: 87.83 kB / 0.6881 GB, free: 8.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1452, allocations: 0 / 0.6881 GB, free: 8.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.1453, allocations: 44.22 kB / 0.6882 GB, free: 7.961 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1456, allocations: 33.55 kB / 0.6882 GB, free: 7.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1473, allocations: 1.716 MB / 0.6899 GB, free: 6.102 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1476, allocations: 0.7079 MB / 0.6906 GB, free: 5.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1477, allocations: 12.55 kB / 0.6906 GB, free: 5.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.1477, allocations: 51.41 kB / 0.6907 GB, free: 5.305 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1477, allocations: 0 / 0.6907 GB, free: 5.305 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.385/1.533, allocations: 3.639 MB / 0.6942 GB, free: 1.812 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01572/1.549, allocations: 250.5 kB / 0.6944 GB, free: 1.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.716, allocations: 0 / 0.6944 GB, free: 1.559 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_Files_Examples_CSVReader.fmu > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)