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.0008182/0.0008182, allocations: 91.92 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.0009345/0.0009344, allocations: 172.7 kB / 15.95 MB, free: 208 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.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9924/0.9924, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005623, allocations: 11.98 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1879, allocations: 83.4 MB / 0.5975 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002161/0.1901, allocations: 1.369 MB / 0.5989 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.1925, allocations: 1.39 MB / 0.6002 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1927, allocations: 4 kB / 0.6002 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1931, allocations: 27.84 kB / 0.6003 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002919/0.1934, allocations: 55.77 kB / 0.6003 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1938, allocations: 103.7 kB / 0.6004 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.1941, allocations: 107.6 kB / 0.6005 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.457e-05/0.1941, allocations: 9.125 kB / 0.6005 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1943, allocations: 51.77 kB / 0.6006 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.1946, allocations: 51.75 kB / 0.6006 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.1946, allocations: 4 kB / 0.6006 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.1948, allocations: 51.98 kB / 0.6007 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.1949, allocations: 19.92 kB / 0.6007 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.312e-05/0.1949, allocations: 41.64 kB / 0.6007 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.1952, allocations: 116 kB / 0.6008 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1952, allocations: 0 / 0.6008 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1952, allocations: 0 / 0.6008 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.1952, allocations: 0 / 0.6008 GB, free: 4.289 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.0006991/0.1959, allocations: 422.8 kB / 0.6012 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.196, allocations: 12.03 kB / 0.6013 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.256e-05/0.196, allocations: 38.5 kB / 0.6013 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.1961, allocations: 11.91 kB / 0.6013 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.1964, allocations: 214.7 kB / 0.6015 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1964, allocations: 4 kB / 0.6015 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1964, allocations: 0 / 0.6015 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1966, allocations: 109 kB / 0.6016 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1967, allocations: 0 / 0.6016 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1967, allocations: 0 / 0.6016 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1967, allocations: 4 kB / 0.6016 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.1969, allocations: 55.95 kB / 0.6017 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.1971, allocations: 219.3 kB / 0.6019 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1974, allocations: 119.8 kB / 0.602 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.1975, allocations: 54.56 kB / 0.6021 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.1976, allocations: 3.984 kB / 0.6021 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.1979, allocations: 117.9 kB / 0.6022 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.1979, allocations: 3.938 kB / 0.6022 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005468/0.1984, allocations: 181.6 kB / 0.6023 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1986, allocations: 128.5 kB / 0.6025 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.1988, allocations: 177.1 kB / 0.6026 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.1988, allocations: 25.7 kB / 0.6027 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.1989, allocations: 104.1 kB / 0.6028 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.1989, allocations: 19.72 kB / 0.6028 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.1989, allocations: 4.156 kB / 0.6028 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1991, allocations: 330.8 kB / 0.6031 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.1992, allocations: 31.97 kB / 0.6031 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.1993, allocations: 80.2 kB / 0.6032 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1995, allocations: 36.05 kB / 0.6032 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.1995, allocations: 4 kB / 0.6032 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003186/0.1998, allocations: 137.5 kB / 0.6034 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1998, allocations: 4 kB / 0.6034 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1999, allocations: 4.188 kB / 0.6034 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1999, allocations: 0 / 0.6034 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.2, allocations: 27.86 kB / 0.6034 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.2, allocations: 7.984 kB / 0.6034 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.704e-05/0.2001, allocations: 19.94 kB / 0.6034 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.2001, allocations: 4 kB / 0.6034 GB, free: 1.316 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.0001328/0.2003, allocations: 132.2 kB / 0.6036 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.2003, allocations: 11.89 kB / 0.6036 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.2004, allocations: 21.39 kB / 0.6036 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2004, allocations: 0 / 0.6036 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2004, allocations: 0 / 0.6036 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2004, allocations: 0 / 0.6036 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.2006, allocations: 209.5 kB / 0.6038 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.2006, allocations: 4 kB / 0.6038 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.514e-05/0.2007, allocations: 19.92 kB / 0.6038 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2007, allocations: 0 / 0.6038 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.2007, allocations: 8 kB / 0.6038 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2007, allocations: 0 / 0.6038 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2007, allocations: 0 / 0.6038 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.201, allocations: 174.6 kB / 0.604 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.2011, allocations: 96.91 kB / 0.6041 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.2012, allocations: 7.938 kB / 0.6041 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.156e-05/0.2012, allocations: 8 kB / 0.6041 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.2013, allocations: 15.92 kB / 0.6041 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.2013, allocations: 8.062 kB / 0.6041 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001107/0.2014, allocations: 136.7 kB / 0.6043 GB, free: 384 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2014, allocations: 0 / 0.6043 GB, free: 384 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002474/0.2017, allocations: 32 kB / 0.6043 GB, free: 352 kB / 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.3148/0.5165, allocations: 1.039 MB / 0.6053 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004009/0.5169, allocations: 97.94 kB / 0.6054 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5169, allocations: 0 / 0.6054 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.517, allocations: 42.69 kB / 0.6054 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.5174, allocations: 30.05 kB / 0.6055 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5186, allocations: 0.8058 MB / 0.6063 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.5187, allocations: 0.7061 MB / 0.6069 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.719e-05/0.5188, allocations: 32.36 kB / 0.607 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.5189, allocations: 40.34 kB / 0.607 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5189, allocations: 0 / 0.607 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01282/0.5317, allocations: 3.306 MB / 0.6102 GB, free: 39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001182/0.5319, allocations: 238.9 kB / 0.6105 GB, free: 38.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.724/2.256, allocations: 5.75 kB / 0.6105 GB, free: 38.76 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: