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.007471/0.007471, allocations: 100.6 kB / 15.73 MB, free: 6.039 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.001679/0.001679, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9293/0.9293, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4105, allocations: 80.92 MB / 0.6641 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002815/0.4133, allocations: 1.68 MB / 0.6658 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001835/0.4152, allocations: 1.501 MB / 0.6673 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.4153, allocations: 1.219 kB / 0.6673 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.4156, allocations: 40.36 kB / 0.6673 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002884/0.416, allocations: 71.59 kB / 0.6674 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.4163, allocations: 115.2 kB / 0.6675 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.4165, allocations: 130.3 kB / 0.6676 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.4166, allocations: 6.469 kB / 0.6676 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.4167, allocations: 57.61 kB / 0.6677 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.4169, allocations: 49.38 kB / 0.6677 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.4169, allocations: 4.875 kB / 0.6677 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.417, allocations: 67.33 kB / 0.6678 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.4171, allocations: 21.27 kB / 0.6678 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.46e-05/0.4171, allocations: 49.59 kB / 0.6678 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.4174, allocations: 145.8 kB / 0.668 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4174, allocations: 0 / 0.668 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4174, allocations: 1.312 kB / 0.668 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.4174, allocations: 0 / 0.668 GB, free: 4.645 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.0005145/0.4179, allocations: 442.5 kB / 0.6684 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.418, allocations: 10.34 kB / 0.6684 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.418, allocations: 40.27 kB / 0.6685 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.4181, allocations: 13.59 kB / 0.6685 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.4183, allocations: 223.2 kB / 0.6687 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.4183, allocations: 5.797 kB / 0.6687 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4184, allocations: 6.562 kB / 0.6687 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.4186, allocations: 97.12 kB / 0.6688 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.4186, allocations: 0 / 0.6688 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4186, allocations: 5.031 kB / 0.6688 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4186, allocations: 5.344 kB / 0.6688 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4188, allocations: 51.48 kB / 0.6688 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.4189, allocations: 209 kB / 0.669 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.4192, allocations: 118.1 kB / 0.6692 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.4193, allocations: 49.55 kB / 0.6692 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.4193, allocations: 1.219 kB / 0.6692 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.4195, allocations: 113.1 kB / 0.6693 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.4195, allocations: 0 / 0.6693 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004256/0.42, allocations: 157.7 kB / 0.6695 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.42, allocations: 138.3 kB / 0.6696 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.4202, allocations: 176.8 kB / 0.6698 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.4202, allocations: 26.86 kB / 0.6698 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.4202, allocations: 105.2 kB / 0.6699 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.4202, allocations: 23.62 kB / 0.6699 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.4203, allocations: 25 kB / 0.6699 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.4203, allocations: 322.7 kB / 0.6702 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.451e-05/0.4204, allocations: 37.41 kB / 0.6703 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.655e-05/0.4205, allocations: 68.7 kB / 0.6703 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.4207, allocations: 94.38 kB / 0.6704 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4207, allocations: 8.781 kB / 0.6704 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000251/0.421, allocations: 127.7 kB / 0.6706 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.421, allocations: 14.39 kB / 0.6706 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.421, allocations: 0 / 0.6706 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4211, allocations: 2.438 kB / 0.6706 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4212, allocations: 23.89 kB / 0.6706 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4212, allocations: 5.5 kB / 0.6706 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.4213, allocations: 6.031 kB / 0.6706 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.4213, allocations: 3.375 kB / 0.6706 GB, free: 2.156 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.241e-05/0.4214, allocations: 130.6 kB / 0.6707 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.4214, allocations: 18.39 kB / 0.6708 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.4214, allocations: 23.03 kB / 0.6708 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4215, allocations: 0.9688 kB / 0.6708 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4215, allocations: 4.969 kB / 0.6708 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4215, allocations: 1.156 kB / 0.6708 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.4216, allocations: 209.3 kB / 0.671 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4216, allocations: 1.688 kB / 0.671 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.4217, allocations: 14.42 kB / 0.671 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4217, allocations: 1.375 kB / 0.671 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4217, allocations: 5.406 kB / 0.671 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.4217, allocations: 5.219 kB / 0.671 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4217, allocations: 1.094 kB / 0.671 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.422, allocations: 170.1 kB / 0.6712 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.53e-05/0.422, allocations: 86.08 kB / 0.6713 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.422, allocations: 9.328 kB / 0.6713 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.4221, allocations: 5.312 kB / 0.6713 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.4222, allocations: 15.33 kB / 0.6713 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4222, allocations: 3.844 kB / 0.6713 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.681e-05/0.4223, allocations: 138.3 kB / 0.6714 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4223, allocations: 1.062 kB / 0.6714 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000246/0.4225, allocations: 29.06 kB / 0.6715 GB, free: 1.387 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.001264/0.4238, allocations: 1.051 MB / 0.6725 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.4241, allocations: 84.61 kB / 0.6726 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4241, allocations: 0 / 0.6726 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.4242, allocations: 45.12 kB / 0.6726 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.4245, allocations: 29.92 kB / 0.6726 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.4263, allocations: 1.701 MB / 0.6743 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.4266, allocations: 0.7016 MB / 0.675 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.171e-05/0.4266, allocations: 27.94 kB / 0.675 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.4267, allocations: 53.41 kB / 0.6751 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.4267, allocations: 0 / 0.6751 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.4535, allocations: 3.818 MB / 0.6788 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.792, allocations: 14.27 kB / 0.6788 GB, free: 12.17 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)