Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_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.00124/0.001239, allocations: 108 kB / 15.61 MB, free: 148 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.001187/0.001188, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.348/1.348, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8159/0.8159, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.3 kB / 0.5019 GB, free: 8.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1395, allocations: 80.2 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003061/0.1426, allocations: 1.675 MB / 0.5818 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1447, allocations: 1.506 MB / 0.5833 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.923e-05/0.1448, allocations: 3.938 kB / 0.5833 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.1451, allocations: 39.77 kB / 0.5833 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.1453, allocations: 63.7 kB / 0.5834 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.1456, allocations: 114.2 kB / 0.5835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.1458, allocations: 135.5 kB / 0.5836 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.1459, allocations: 5.125 kB / 0.5836 GB, free: 5.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.146, allocations: 63.7 kB / 0.5837 GB, free: 5.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.1462, allocations: 47.77 kB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1463, allocations: 8 kB / 0.5838 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1464, allocations: 55.98 kB / 0.5838 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.1465, allocations: 31.84 kB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.1465, allocations: 43.73 kB / 0.5839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1468, allocations: 147.9 kB / 0.584 GB, free: 4.742 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1468, allocations: 0 / 0.584 GB, free: 4.742 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1468, allocations: 0 / 0.584 GB, free: 4.742 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1468, allocations: 3.938 kB / 0.584 GB, free: 4.738 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.0006598/0.1475, allocations: 434.9 kB / 0.5844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1475, allocations: 12.03 kB / 0.5845 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.1476, allocations: 34.75 kB / 0.5845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.1476, allocations: 12.75 kB / 0.5845 GB, free: 4.199 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.1479, allocations: 232 kB / 0.5847 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.1479, allocations: 384 / 0.5847 GB, free: 3.934 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.148, allocations: 7.938 kB / 0.5847 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1482, allocations: 97.08 kB / 0.5848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1482, allocations: 0 / 0.5848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1483, allocations: 0 / 0.5848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1483, allocations: 4 kB / 0.5848 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001848/0.1485, allocations: 51.89 kB / 0.5849 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.1487, allocations: 211.4 kB / 0.5851 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.149, allocations: 123.7 kB / 0.5852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.1491, allocations: 46.62 kB / 0.5852 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1492, allocations: 0 / 0.5852 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003119/0.1495, allocations: 121.8 kB / 0.5854 GB, free: 3.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.1495, allocations: 0 / 0.5854 GB, free: 3.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005219/0.15, allocations: 165.4 kB / 0.5855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1501, allocations: 140.7 kB / 0.5856 GB, free: 2.816 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1503, allocations: 176.9 kB / 0.5858 GB, free: 2.637 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1503, allocations: 25.7 kB / 0.5858 GB, free: 2.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.1504, allocations: 100.1 kB / 0.5859 GB, free: 2.504 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.1504, allocations: 23.7 kB / 0.586 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.1505, allocations: 25.7 kB / 0.586 GB, free: 2.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.1506, allocations: 322.8 kB / 0.5863 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1507, allocations: 31.98 kB / 0.5863 GB, free: 2.094 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.1508, allocations: 68.52 kB / 0.5864 GB, free: 2.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.1511, allocations: 95.38 kB / 0.5865 GB, free: 1.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1511, allocations: 3.938 kB / 0.5865 GB, free: 1.902 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003358/0.1514, allocations: 141.3 kB / 0.5866 GB, free: 1.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1515, allocations: 4 kB / 0.5866 GB, free: 1.754 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1515, allocations: 4 kB / 0.5866 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1515, allocations: 0 / 0.5866 GB, free: 1.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1517, allocations: 20.08 kB / 0.5866 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1517, allocations: 4.188 kB / 0.5866 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.402e-05/0.1518, allocations: 15.92 kB / 0.5867 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1518, allocations: 11.94 kB / 0.5867 GB, free: 1.699 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 0.0001003/0.1519, allocations: 126.4 kB / 0.5868 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.1519, allocations: 15.8 kB / 0.5868 GB, free: 1.551 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.152, allocations: 21.41 kB / 0.5868 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.152, allocations: 0 / 0.5868 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.152, allocations: 0 / 0.5868 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.152, allocations: 8 kB / 0.5868 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.1522, allocations: 201.5 kB / 0.587 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1522, allocations: 0 / 0.587 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.1523, allocations: 11.98 kB / 0.587 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.1523, allocations: 4 kB / 0.587 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1523, allocations: 0 / 0.587 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1523, allocations: 7.984 kB / 0.5871 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1523, allocations: 0 / 0.5871 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.1527, allocations: 170.6 kB / 0.5872 GB, free: 1.062 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.632e-05/0.1527, allocations: 96.92 kB / 0.5873 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1528, allocations: 4 kB / 0.5873 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.1528, allocations: 11.98 kB / 0.5873 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1529, allocations: 8 kB / 0.5873 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1529, allocations: 7.984 kB / 0.5873 GB, free: 0.918 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.153, allocations: 137.2 kB / 0.5875 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1531, allocations: 0 / 0.5875 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1533, allocations: 31.98 kB / 0.5875 GB, free: 0.7539 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.001622/0.1549, allocations: 1.043 MB / 0.5885 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003224/0.1553, allocations: 87.89 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1553, allocations: 3.938 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.1554, allocations: 47.91 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.1558, allocations: 35.58 kB / 0.5887 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.1578, allocations: 1.687 MB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.1581, allocations: 0.708 MB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.692e-05/0.1582, allocations: 24.47 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.1582, allocations: 39.42 kB / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.1583, allocations: 0 / 0.5911 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02047/0.1787, allocations: 3.741 MB / 0.5947 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.408, allocations: 16.52 kB / 0.5948 GB, free: 9.477 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)