Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009626/0.0009626, allocations: 102.8 kB / 15.06 MB, free: 1.098 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.001038/0.001038, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.066/1.066, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 8 kB / 0.5159 GB, free: 11.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.197, allocations: 83.41 MB / 0.5974 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.001887/0.1989, allocations: 1.35 MB / 0.5987 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2008, allocations: 1.386 MB / 0.6 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.2009, allocations: 7.938 kB / 0.6 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.2011, allocations: 35.88 kB / 0.6001 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.2013, allocations: 47.81 kB / 0.6001 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.2016, allocations: 99.62 kB / 0.6002 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.2018, allocations: 83.84 kB / 0.6003 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.2018, allocations: 5.125 kB / 0.6003 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.202, allocations: 51.75 kB / 0.6003 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.2021, allocations: 46.02 kB / 0.6004 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2021, allocations: 4 kB / 0.6004 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.2022, allocations: 39.97 kB / 0.6004 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.636e-05/0.2023, allocations: 15.92 kB / 0.6005 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.723e-05/0.2023, allocations: 49.62 kB / 0.6005 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.2025, allocations: 104 kB / 0.6006 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.2025, allocations: 4 kB / 0.6006 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2025, allocations: 0 / 0.6006 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2025, allocations: 0 / 0.6006 GB, free: 4.434 MB / 0.4981 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.0006095/0.2032, allocations: 426.9 kB / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.2032, allocations: 8.031 kB / 0.601 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.2033, allocations: 42.5 kB / 0.6011 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.2033, allocations: 7.906 kB / 0.6011 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.2036, allocations: 230.6 kB / 0.6013 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.2036, allocations: 0 / 0.6013 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2036, allocations: 4 kB / 0.6013 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.2039, allocations: 97.03 kB / 0.6014 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.2039, allocations: 0 / 0.6014 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.2039, allocations: 11.98 kB / 0.6014 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2039, allocations: 7.922 kB / 0.6014 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.2041, allocations: 51.97 kB / 0.6014 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.2043, allocations: 219.3 kB / 0.6017 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.2046, allocations: 111.9 kB / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2046, allocations: 15.97 kB / 0.6018 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.2049, allocations: 109.9 kB / 0.6019 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.2049, allocations: 0 / 0.6019 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004663/0.2054, allocations: 185.3 kB / 0.6021 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.558e-05/0.2055, allocations: 132.5 kB / 0.6022 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.2056, allocations: 173.1 kB / 0.6024 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.2057, allocations: 29.95 kB / 0.6024 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.349e-05/0.2057, allocations: 108.1 kB / 0.6025 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.2058, allocations: 19.72 kB / 0.6025 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.2058, allocations: 0 / 0.6025 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2059, allocations: 326.8 kB / 0.6028 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.206, allocations: 35.97 kB / 0.6028 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2061, allocations: 72.27 kB / 0.6029 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.2063, allocations: 39.92 kB / 0.603 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2063, allocations: 0 / 0.603 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000288/0.2066, allocations: 137.5 kB / 0.6031 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2066, allocations: 4 kB / 0.6031 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2066, allocations: 0 / 0.6031 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.2066, allocations: 4 kB / 0.6031 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2067, allocations: 28.02 kB / 0.6031 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2068, allocations: 7.969 kB / 0.6031 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.2068, allocations: 19.84 kB / 0.6031 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2069, allocations: 4 kB / 0.6032 GB, free: 1.516 MB / 0.4981 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.0001219/0.207, allocations: 129.8 kB / 0.6033 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.207, allocations: 11.91 kB / 0.6033 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.2071, allocations: 13.41 kB / 0.6033 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2071, allocations: 11.92 kB / 0.6033 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2071, allocations: 4 kB / 0.6033 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2071, allocations: 0 / 0.6033 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.2073, allocations: 205.5 kB / 0.6035 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2073, allocations: 0 / 0.6035 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.25e-05/0.2073, allocations: 15.98 kB / 0.6035 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2074, allocations: 4.188 kB / 0.6035 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2074, allocations: 0 / 0.6035 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2074, allocations: 7.875 kB / 0.6035 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2074, allocations: 4 kB / 0.6035 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.2077, allocations: 202.3 kB / 0.6037 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.674e-05/0.2078, allocations: 96.91 kB / 0.6038 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2078, allocations: 4 kB / 0.6038 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.2079, allocations: 8 kB / 0.6038 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.2079, allocations: 11.98 kB / 0.6039 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.208, allocations: 4 kB / 0.6039 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001073/0.2081, allocations: 144.6 kB / 0.604 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2081, allocations: 0 / 0.604 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002467/0.2083, allocations: 32 kB / 0.604 GB, free: 0.5039 MB / 0.4981 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.296/0.5044, allocations: 1.193 MB / 0.6052 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003797/0.5048, allocations: 95.61 kB / 0.6053 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5048, allocations: 0 / 0.6053 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.505, allocations: 43.08 kB / 0.6053 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.5052, allocations: 34.59 kB / 0.6054 GB, free: 40.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.5064, allocations: 1.251 MB / 0.6066 GB, free: 39.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.5066, allocations: 0.7106 MB / 0.6073 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.713e-05/0.5066, allocations: 24.61 kB / 0.6073 GB, free: 39.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/0.5067, allocations: 41.02 kB / 0.6073 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.5067, allocations: 0 / 0.6073 GB, free: 39.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01328/0.52, allocations: 3.304 MB / 0.6106 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.5202, allocations: 231.2 kB / 0.6108 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.746/2.266, allocations: 0 / 0.6108 GB, free: 38.52 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) Environment - environmentSimulation: