Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IBPSA_latest_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.0007252/0.0007252, allocations: 93.42 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008323/0.0008323, allocations: 184.4 kB / 16.92 MB, free: 6.891 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.318/1.318, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6468/0.6468, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004427, allocations: 8.969 kB / 496 MB, free: 6.273 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 77.53 MB / 0.56 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.001858/0.1524, allocations: 1.38 MB / 0.5614 GB, free: 7.562 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1544, allocations: 1.456 MB / 0.5628 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.1545, allocations: 0 / 0.5628 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.1547, allocations: 39.83 kB / 0.5628 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1549, allocations: 55.75 kB / 0.5629 GB, free: 6.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.1552, allocations: 100.5 kB / 0.563 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1554, allocations: 123.5 kB / 0.5631 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.807e-05/0.1555, allocations: 9.109 kB / 0.5631 GB, free: 5.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1556, allocations: 51.73 kB / 0.5632 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1558, allocations: 51.81 kB / 0.5632 GB, free: 5.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.1558, allocations: 7.938 kB / 0.5632 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.156, allocations: 59.91 kB / 0.5633 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.156, allocations: 23.91 kB / 0.5633 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.1561, allocations: 61.45 kB / 0.5634 GB, free: 5.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1563, allocations: 147.8 kB / 0.5635 GB, free: 5.379 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1563, allocations: 0 / 0.5635 GB, free: 5.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1564, allocations: 0 / 0.5635 GB, free: 5.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1564, allocations: 0 / 0.5635 GB, free: 5.379 MB / 430.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.0005805/0.1569, allocations: 427 kB / 0.5639 GB, free: 4.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.157, allocations: 8.031 kB / 0.5639 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.157, allocations: 38.67 kB / 0.564 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.1571, allocations: 16.78 kB / 0.564 GB, free: 4.844 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002309/0.1573, allocations: 220 kB / 0.5642 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1573, allocations: 4.375 kB / 0.5642 GB, free: 4.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.1574, allocations: 7.938 kB / 0.5642 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1576, allocations: 105.1 kB / 0.5643 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.1576, allocations: 3.938 kB / 0.5643 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1576, allocations: 0 / 0.5643 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1576, allocations: 4 kB / 0.5643 GB, free: 4.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1578, allocations: 55.95 kB / 0.5644 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/0.1581, allocations: 211.4 kB / 0.5646 GB, free: 4.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002629/0.1583, allocations: 123.7 kB / 0.5647 GB, free: 3.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.1585, allocations: 58.55 kB / 0.5647 GB, free: 3.918 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.1585, allocations: 7.984 kB / 0.5647 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.1588, allocations: 109.9 kB / 0.5648 GB, free: 3.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1588, allocations: 0 / 0.5648 GB, free: 3.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004954/0.1593, allocations: 177.3 kB / 0.565 GB, free: 3.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.1594, allocations: 136.5 kB / 0.5651 GB, free: 3.438 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1595, allocations: 172.4 kB / 0.5653 GB, free: 3.262 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1595, allocations: 37.7 kB / 0.5653 GB, free: 3.219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1596, allocations: 100.1 kB / 0.5654 GB, free: 3.117 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.1597, allocations: 23.7 kB / 0.5655 GB, free: 3.094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.102e-05/0.1597, allocations: 21.7 kB / 0.5655 GB, free: 3.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1598, allocations: 318.8 kB / 0.5658 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1599, allocations: 35.98 kB / 0.5658 GB, free: 2.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.1601, allocations: 72.27 kB / 0.5659 GB, free: 2.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.1603, allocations: 107.4 kB / 0.566 GB, free: 2.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1604, allocations: 3.938 kB / 0.566 GB, free: 2.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003197/0.1607, allocations: 137.5 kB / 0.5661 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1607, allocations: 8 kB / 0.5661 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1607, allocations: 0 / 0.5661 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1607, allocations: 0 / 0.5661 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.1609, allocations: 23.98 kB / 0.5662 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1609, allocations: 0 / 0.5662 GB, free: 2.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.161, allocations: 19.83 kB / 0.5662 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.161, allocations: 8 kB / 0.5662 GB, free: 2.305 MB / 430.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 0.0001157/0.1611, allocations: 135.8 kB / 0.5663 GB, free: 2.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.1611, allocations: 11.91 kB / 0.5663 GB, free: 2.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.1612, allocations: 21.66 kB / 0.5664 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1612, allocations: 0 / 0.5664 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1612, allocations: 4 kB / 0.5664 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.1612, allocations: 4 kB / 0.5664 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.1614, allocations: 205.5 kB / 0.5666 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1614, allocations: 3.984 kB / 0.5666 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.1615, allocations: 16 kB / 0.5666 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1615, allocations: 0 / 0.5666 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1615, allocations: 7.984 kB / 0.5666 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1616, allocations: 0 / 0.5666 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1616, allocations: 0 / 0.5666 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.1619, allocations: 174.6 kB / 0.5667 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.162, allocations: 92.92 kB / 0.5668 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.162, allocations: 4 kB / 0.5668 GB, free: 1.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-05/0.1621, allocations: 15.98 kB / 0.5669 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.1622, allocations: 11.92 kB / 0.5669 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1622, allocations: 8 kB / 0.5669 GB, free: 1.504 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1623, allocations: 140.7 kB / 0.567 GB, free: 1.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1623, allocations: 0 / 0.567 GB, free: 1.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1626, allocations: 32 kB / 0.567 GB, free: 1.336 MB / 430.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.001549/0.1641, allocations: 1.057 MB / 0.5681 GB, free: 444 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.1645, allocations: 87.89 kB / 0.5682 GB, free: 356 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.1645, allocations: 4 kB / 0.5682 GB, free: 352 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1646, allocations: 52.09 kB / 0.5682 GB, free: 300 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1649, allocations: 27.92 kB / 0.5682 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.1671, allocations: 1.742 MB / 0.5699 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1674, allocations: 0.7004 MB / 0.5706 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.608e-05/0.1675, allocations: 28.41 kB / 0.5706 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.182e-05/0.1676, allocations: 39.41 kB / 0.5707 GB, free: 13.62 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1676, allocations: 0 / 0.5707 GB, free: 13.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1343/0.3019, allocations: 3.31 MB / 0.5739 GB, free: 10.44 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003676/0.3023, allocations: 229.1 kB / 0.5741 GB, free: 10.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.539, allocations: 4.062 kB / 0.5741 GB, free: 10.18 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)