Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_dev_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.006854/0.006854, allocations: 102.7 kB / 15.74 MB, free: 6.488 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.001385/0.001385, allocations: 193.5 kB / 16.68 MB, free: 6.367 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9623/0.9623, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.91 kB / 0.5851 GB, free: 3.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4074, allocations: 80.91 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002717/0.4101, allocations: 1.677 MB / 0.6658 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.412, allocations: 1.505 MB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.784e-05/0.4121, allocations: 1.062 kB / 0.6673 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.4124, allocations: 36.61 kB / 0.6673 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.4127, allocations: 75.67 kB / 0.6674 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.413, allocations: 114.5 kB / 0.6675 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.4132, allocations: 117.4 kB / 0.6676 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.083e-05/0.4133, allocations: 19.09 kB / 0.6676 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.4134, allocations: 52.61 kB / 0.6676 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.4136, allocations: 61.23 kB / 0.6677 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.4136, allocations: 11.41 kB / 0.6677 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.4137, allocations: 60.97 kB / 0.6678 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.4138, allocations: 22.66 kB / 0.6678 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.4139, allocations: 41.95 kB / 0.6678 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.4141, allocations: 150.7 kB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4141, allocations: 1.094 kB / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4141, allocations: 0 / 0.668 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.4142, allocations: 0 / 0.668 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.000545/0.4147, allocations: 453 kB / 0.6684 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.4148, allocations: 10.22 kB / 0.6684 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.4148, allocations: 32.09 kB / 0.6685 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.4148, allocations: 18.39 kB / 0.6685 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.4151, allocations: 218.7 kB / 0.6687 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4151, allocations: 5.875 kB / 0.6687 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.4151, allocations: 6.469 kB / 0.6687 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.4153, allocations: 105.4 kB / 0.6688 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4153, allocations: 0 / 0.6688 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.4154, allocations: 1.156 kB / 0.6688 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.4154, allocations: 1.188 kB / 0.6688 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.4155, allocations: 47.58 kB / 0.6688 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.4157, allocations: 217.2 kB / 0.669 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.416, allocations: 121.3 kB / 0.6692 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4161, allocations: 53.48 kB / 0.6692 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.4161, allocations: 1.469 kB / 0.6692 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.4163, allocations: 108.3 kB / 0.6693 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.4163, allocations: 3.938 kB / 0.6693 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004622/0.4168, allocations: 162.6 kB / 0.6695 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4169, allocations: 135.3 kB / 0.6696 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.417, allocations: 172 kB / 0.6698 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.417, allocations: 31.14 kB / 0.6698 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.4171, allocations: 100.1 kB / 0.6699 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.4171, allocations: 20.14 kB / 0.6699 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.4172, allocations: 33.73 kB / 0.6699 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.4172, allocations: 321.6 kB / 0.6703 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.4173, allocations: 29.45 kB / 0.6703 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.4175, allocations: 78.17 kB / 0.6704 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.4177, allocations: 98.48 kB / 0.6705 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4177, allocations: 3.938 kB / 0.6705 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002853/0.418, allocations: 132 kB / 0.6706 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.418, allocations: 9.594 kB / 0.6706 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.418, allocations: 0.9062 kB / 0.6706 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.418, allocations: 1.344 kB / 0.6706 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4182, allocations: 20.7 kB / 0.6706 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4182, allocations: 5.578 kB / 0.6706 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.4183, allocations: 14.28 kB / 0.6706 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.4183, allocations: 2.531 kB / 0.6706 GB, free: 1.785 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 7.784e-05/0.4184, allocations: 130.6 kB / 0.6708 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.4184, allocations: 18.09 kB / 0.6708 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.4185, allocations: 13.94 kB / 0.6708 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4185, allocations: 5.297 kB / 0.6708 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4185, allocations: 5.109 kB / 0.6708 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4185, allocations: 1.094 kB / 0.6708 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.4186, allocations: 205.7 kB / 0.671 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4186, allocations: 1.125 kB / 0.671 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.4187, allocations: 9.875 kB / 0.671 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4187, allocations: 5.141 kB / 0.671 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4187, allocations: 6.594 kB / 0.671 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.4187, allocations: 5.094 kB / 0.671 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.4188, allocations: 5.562 kB / 0.671 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.419, allocations: 166.9 kB / 0.6712 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/0.4191, allocations: 83.5 kB / 0.6713 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.4191, allocations: 10.72 kB / 0.6713 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.4192, allocations: 9.234 kB / 0.6713 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.4193, allocations: 8.297 kB / 0.6713 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.4193, allocations: 3.594 kB / 0.6713 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.304e-05/0.4194, allocations: 134.4 kB / 0.6714 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4194, allocations: 0 / 0.6714 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002566/0.4196, allocations: 33.95 kB / 0.6715 GB, free: 1.027 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.001398/0.4211, allocations: 1.054 MB / 0.6725 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003039/0.4214, allocations: 83.81 kB / 0.6726 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4214, allocations: 1.469 kB / 0.6726 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.4215, allocations: 43.88 kB / 0.6726 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.4218, allocations: 39.88 kB / 0.6726 GB, free: 164 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.4239, allocations: 1.697 MB / 0.6743 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.4241, allocations: 0.7084 MB / 0.675 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.325e-05/0.4242, allocations: 25 kB / 0.675 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.4243, allocations: 37.89 kB / 0.6751 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4243, allocations: 0 / 0.6751 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.4482, allocations: 3.83 MB / 0.6788 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.614/8.062, allocations: 5.781 kB / 0.6788 GB, free: 11.81 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)