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.001031/0.001031, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001042/0.001042, allocations: 196 kB / 16.14 MB, free: 6.668 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.178/1.178, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001894/0.001894, allocations: 287 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8313/0.8313, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001478, allocations: 90.88 kB / 0.5946 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1197, allocations: 86.98 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002462/0.1222, allocations: 1.728 MB / 0.6812 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1238, allocations: 1.476 MB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.1239, allocations: 4 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002065/0.1241, allocations: 36.66 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.1243, allocations: 52.39 kB / 0.6828 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1245, allocations: 98.97 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.1246, allocations: 119.6 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.607e-05/0.1247, allocations: 13.38 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.1248, allocations: 59.7 kB / 0.683 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1249, allocations: 51.77 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.125, allocations: 4 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.94e-05/0.1251, allocations: 59.97 kB / 0.6832 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.157e-05/0.1251, allocations: 19.86 kB / 0.6832 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.1252, allocations: 43.72 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001728/0.1253, allocations: 143.5 kB / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1254, allocations: 0 / 0.6833 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1254, allocations: 4 kB / 0.6834 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.865e-06/0.1254, allocations: 0 / 0.6834 GB, free: 13.17 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.0005064/0.1259, allocations: 438.9 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1259, allocations: 11.97 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.096e-05/0.126, allocations: 42.67 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.126, allocations: 12.84 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.1262, allocations: 220.4 kB / 0.684 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1262, allocations: 4.375 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1262, allocations: 3.938 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.1264, allocations: 101.1 kB / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-06/0.1265, allocations: 0 / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1265, allocations: 0 / 0.6842 GB, free: 12.24 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1265, allocations: 7.938 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.1266, allocations: 47.95 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.1268, allocations: 207.5 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1271, allocations: 123.8 kB / 0.6845 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1272, allocations: 46.55 kB / 0.6846 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1272, allocations: 11.94 kB / 0.6846 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002066/0.1274, allocations: 105.9 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.1274, allocations: 0 / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004208/0.1279, allocations: 173.3 kB / 0.6848 GB, free: 11.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.1279, allocations: 128.5 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1281, allocations: 176.6 kB / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.1281, allocations: 25.7 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.1281, allocations: 108.1 kB / 0.6853 GB, free: 10.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1282, allocations: 23.66 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.1282, allocations: 25.95 kB / 0.6853 GB, free: 10.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.1283, allocations: 322.8 kB / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.582e-05/0.1284, allocations: 31.98 kB / 0.6856 GB, free: 10.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1285, allocations: 64.27 kB / 0.6857 GB, free: 10.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1287, allocations: 99.36 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1287, allocations: 3.938 kB / 0.6858 GB, free: 10.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002623/0.129, allocations: 125.4 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.129, allocations: 12.09 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.129, allocations: 0 / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.1291, allocations: 0 / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1292, allocations: 19.98 kB / 0.686 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1292, allocations: 11.92 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.147e-05/0.1293, allocations: 7.906 kB / 0.686 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1293, allocations: 8.188 kB / 0.686 GB, free: 10.15 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.803e-05/0.1294, allocations: 132.1 kB / 0.6861 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1294, allocations: 19.84 kB / 0.6861 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.1294, allocations: 17.41 kB / 0.6861 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1294, allocations: 3.984 kB / 0.6861 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.1295, allocations: 4.312 kB / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1295, allocations: 0 / 0.6862 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.1296, allocations: 201.5 kB / 0.6863 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1296, allocations: 4 kB / 0.6863 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.1297, allocations: 15.98 kB / 0.6864 GB, free: 9.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1297, allocations: 3.984 kB / 0.6864 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1297, allocations: 4 kB / 0.6864 GB, free: 9.695 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1297, allocations: 7.984 kB / 0.6864 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1297, allocations: 0 / 0.6864 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.13, allocations: 174.5 kB / 0.6865 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.1301, allocations: 88.95 kB / 0.6866 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1301, allocations: 4 kB / 0.6866 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.1302, allocations: 11.98 kB / 0.6866 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.525e-05/0.1302, allocations: 11.98 kB / 0.6867 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1302, allocations: 4 kB / 0.6867 GB, free: 9.355 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.399e-05/0.1303, allocations: 136.2 kB / 0.6868 GB, free: 9.223 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1303, allocations: 0 / 0.6868 GB, free: 9.223 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1306, allocations: 32 kB / 0.6868 GB, free: 9.191 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.001299/0.1319, allocations: 1.047 MB / 0.6878 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1321, allocations: 83.88 kB / 0.6879 GB, free: 8.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1321, allocations: 0 / 0.6879 GB, free: 8.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.1323, allocations: 39.92 kB / 0.688 GB, free: 8.168 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.1325, allocations: 40.22 kB / 0.688 GB, free: 8.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.1342, allocations: 1.714 MB / 0.6897 GB, free: 6.305 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.1344, allocations: 0.7043 MB / 0.6904 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.419e-05/0.1345, allocations: 24.52 kB / 0.6904 GB, free: 5.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.1346, allocations: 39.36 kB / 0.6904 GB, free: 5.512 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1346, allocations: 4 kB / 0.6904 GB, free: 5.508 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8192/0.9538, allocations: 3.543 MB / 0.6939 GB, free: 2.105 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/0.9541, allocations: 254.7 kB / 0.6941 GB, free: 1.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.734, allocations: 0 / 0.6941 GB, free: 1.852 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)