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.001863/0.001863, allocations: 109.8 kB / 16.41 MB, free: 6.5 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.002047/0.002047, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8265/0.8265, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.7 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1391, allocations: 78.86 MB / 0.6505 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.00293/0.142, allocations: 1.674 MB / 0.6522 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002153/0.1442, allocations: 1.51 MB / 0.6537 GB, free: 412 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.1443, allocations: 4 kB / 0.6537 GB, free: 408 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.1446, allocations: 35.77 kB / 0.6537 GB, free: 372 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.1448, allocations: 63.62 kB / 0.6537 GB, free: 308 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1451, allocations: 121 kB / 0.6539 GB, free: 188 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1453, allocations: 123.6 kB / 0.654 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1454, allocations: 13.11 kB / 0.654 GB, free: 52 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1455, allocations: 55.81 kB / 0.654 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1457, allocations: 47.72 kB / 0.6541 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1457, allocations: 8 kB / 0.6541 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1458, allocations: 63.91 kB / 0.6542 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.171e-05/0.1459, allocations: 23.92 kB / 0.6542 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.146, allocations: 47.72 kB / 0.6542 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1462, allocations: 143.6 kB / 0.6544 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1463, allocations: 4 kB / 0.6544 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.173e-06/0.1463, allocations: 4 kB / 0.6544 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1463, allocations: 0 / 0.6544 GB, free: 15.66 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.0006579/0.1469, allocations: 444.2 kB / 0.6548 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.147, allocations: 11.97 kB / 0.6548 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.147, allocations: 38.73 kB / 0.6548 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.1471, allocations: 16.84 kB / 0.6549 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.1474, allocations: 224.1 kB / 0.6551 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1474, allocations: 8.375 kB / 0.6551 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.1474, allocations: 3.938 kB / 0.6551 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.1477, allocations: 101 kB / 0.6552 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1477, allocations: 3.938 kB / 0.6552 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1477, allocations: 4 kB / 0.6552 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1477, allocations: 0 / 0.6552 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.1479, allocations: 55.95 kB / 0.6552 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.1482, allocations: 203.4 kB / 0.6554 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1484, allocations: 123.7 kB / 0.6556 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1486, allocations: 46.61 kB / 0.6556 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.1486, allocations: 4 kB / 0.6556 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.1489, allocations: 109.9 kB / 0.6557 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 3.366e-06/0.1489, allocations: 4 kB / 0.6557 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005059/0.1494, allocations: 165.6 kB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.813e-05/0.1495, allocations: 128.8 kB / 0.656 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.1497, allocations: 178.4 kB / 0.6562 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1497, allocations: 29.7 kB / 0.6562 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.081e-05/0.1498, allocations: 104.1 kB / 0.6563 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.1498, allocations: 23.8 kB / 0.6563 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.925e-05/0.1499, allocations: 25.7 kB / 0.6563 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.15, allocations: 326.8 kB / 0.6567 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.1501, allocations: 27.98 kB / 0.6567 GB, free: 13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.1503, allocations: 76.27 kB / 0.6568 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.1505, allocations: 95.33 kB / 0.6568 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1505, allocations: 7.969 kB / 0.6569 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003225/0.1509, allocations: 129.5 kB / 0.657 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1509, allocations: 4 kB / 0.657 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1509, allocations: 0 / 0.657 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1509, allocations: 4 kB / 0.657 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.151, allocations: 23.92 kB / 0.657 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1511, allocations: 0 / 0.657 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.611e-05/0.1512, allocations: 20.08 kB / 0.657 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.1512, allocations: 3.938 kB / 0.657 GB, free: 12.61 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 ($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.0001111/0.1513, allocations: 125.8 kB / 0.6571 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.1513, allocations: 15.91 kB / 0.6572 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.1514, allocations: 17.41 kB / 0.6572 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1514, allocations: 4 kB / 0.6572 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1514, allocations: 0 / 0.6572 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1514, allocations: 3.984 kB / 0.6572 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.1516, allocations: 205.7 kB / 0.6574 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1516, allocations: 0 / 0.6574 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.1517, allocations: 15.94 kB / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1517, allocations: 0 / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1517, allocations: 7.984 kB / 0.6574 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1517, allocations: 0 / 0.6574 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1517, allocations: 4 kB / 0.6574 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.1521, allocations: 178.6 kB / 0.6576 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.1521, allocations: 89 kB / 0.6577 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.1522, allocations: 4 kB / 0.6577 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.1523, allocations: 7.984 kB / 0.6577 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.1523, allocations: 11.98 kB / 0.6577 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1523, allocations: 7.984 kB / 0.6577 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001222/0.1525, allocations: 136.2 kB / 0.6578 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1525, allocations: 0 / 0.6578 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002495/0.1527, allocations: 31.98 kB / 0.6579 GB, free: 11.66 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 (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.002149/0.1549, allocations: 1.047 MB / 0.6589 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1552, allocations: 91.94 kB / 0.659 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1552, allocations: 0 / 0.659 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1554, allocations: 39.92 kB / 0.659 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.1556, allocations: 32.92 kB / 0.659 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.1578, allocations: 1.692 MB / 0.6607 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.1581, allocations: 0.7157 MB / 0.6614 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.923e-05/0.1582, allocations: 20.48 kB / 0.6614 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.07e-05/0.1583, allocations: 35.42 kB / 0.6614 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1583, allocations: 4 kB / 0.6614 GB, free: 8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.1847, allocations: 3.836 MB / 0.6652 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.111, allocations: 14.34 kB / 0.6652 GB, free: 4.199 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_res.csv --start-time -1.21 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004484 IBPSA_latest_IBPSA_Utilities_IO_Files_Examples_CSVReader.fmu > IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)