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.0008541/0.0008545, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005468/0.005468, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.306/1.306, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7461/0.7461, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 11.94 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4039, allocations: 81.57 MB / 0.5837 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001783/0.4058, allocations: 1.39 MB / 0.5851 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.4076, allocations: 1.448 MB / 0.5865 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.4077, allocations: 4.781 kB / 0.5865 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002532/0.4079, allocations: 35.02 kB / 0.5866 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.4081, allocations: 52.92 kB / 0.5866 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.4084, allocations: 101.4 kB / 0.5867 GB, free: 1.754 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.4085, allocations: 115.1 kB / 0.5868 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.122e-05/0.4086, allocations: 15.27 kB / 0.5868 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.4087, allocations: 59.95 kB / 0.5869 GB, free: 1.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.4089, allocations: 52.55 kB / 0.5869 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.4089, allocations: 7.625 kB / 0.5869 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.4091, allocations: 55.42 kB / 0.587 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.661e-05/0.4091, allocations: 23.27 kB / 0.587 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.4092, allocations: 68.12 kB / 0.5871 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.4094, allocations: 132 kB / 0.5872 GB, free: 1.512 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4094, allocations: 0.8438 kB / 0.5872 GB, free: 1.512 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4094, allocations: 0 / 0.5872 GB, free: 1.512 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.818e-06/0.4094, allocations: 4 kB / 0.5872 GB, free: 1.508 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.0004925/0.4099, allocations: 439 kB / 0.5876 GB, free: 1.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.41, allocations: 9.531 kB / 0.5876 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.41, allocations: 34.3 kB / 0.5877 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.41, allocations: 17.94 kB / 0.5877 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.4102, allocations: 212.7 kB / 0.5879 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4103, allocations: 7.094 kB / 0.5879 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.4103, allocations: 9.25 kB / 0.5879 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.4105, allocations: 99.8 kB / 0.588 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.4105, allocations: 0 / 0.588 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4105, allocations: 1.672 kB / 0.588 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4106, allocations: 8.547 kB / 0.588 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.4108, allocations: 63.06 kB / 0.5881 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.4109, allocations: 207.4 kB / 0.5883 GB, free: 500 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.4112, allocations: 123.7 kB / 0.5884 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4113, allocations: 55.23 kB / 0.5884 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.4114, allocations: 2.484 kB / 0.5884 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.4116, allocations: 115.5 kB / 0.5886 GB, free: 272 kB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.4116, allocations: 4 kB / 0.5886 GB, free: 268 kB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004833/0.4121, allocations: 171.8 kB / 0.5887 GB, free: 200 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.4121, allocations: 138.6 kB / 0.5889 GB, free: 32 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.4123, allocations: 180.1 kB / 0.589 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.4124, allocations: 27.78 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.4124, allocations: 103.2 kB / 0.5892 GB, free: 15.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.4125, allocations: 25.98 kB / 0.5892 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.4125, allocations: 16.45 kB / 0.5892 GB, free: 15.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.4126, allocations: 322.5 kB / 0.5895 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.4127, allocations: 39.67 kB / 0.5895 GB, free: 15.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.4129, allocations: 68.78 kB / 0.5896 GB, free: 15.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.4131, allocations: 104.2 kB / 0.5897 GB, free: 15.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4131, allocations: 3.938 kB / 0.5897 GB, free: 15.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003239/0.4135, allocations: 144.8 kB / 0.5898 GB, free: 15.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4135, allocations: 6.344 kB / 0.5899 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4135, allocations: 1.188 kB / 0.5899 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4135, allocations: 1.375 kB / 0.5899 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4137, allocations: 26.14 kB / 0.5899 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4137, allocations: 2.781 kB / 0.5899 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.821e-05/0.4138, allocations: 14.59 kB / 0.5899 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4138, allocations: 3.672 kB / 0.5899 GB, free: 15.22 MB / 446.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.0001022/0.4139, allocations: 129.7 kB / 0.59 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.4139, allocations: 15.42 kB / 0.59 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.414, allocations: 16.91 kB / 0.5901 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.414, allocations: 1.156 kB / 0.5901 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.414, allocations: 5.656 kB / 0.5901 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.414, allocations: 1.141 kB / 0.5901 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.4142, allocations: 209.8 kB / 0.5903 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4142, allocations: 4.609 kB / 0.5903 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.4143, allocations: 20.23 kB / 0.5903 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4143, allocations: 0.5156 kB / 0.5903 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4143, allocations: 7.281 kB / 0.5903 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4143, allocations: 1.266 kB / 0.5903 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4143, allocations: 1.312 kB / 0.5903 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.4147, allocations: 174.4 kB / 0.5905 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.359e-05/0.4148, allocations: 95.78 kB / 0.5906 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.4148, allocations: 3.438 kB / 0.5906 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.019e-05/0.4149, allocations: 17.53 kB / 0.5906 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.4149, allocations: 14.88 kB / 0.5906 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.415, allocations: 4.828 kB / 0.5906 GB, free: 14.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.4151, allocations: 136.3 kB / 0.5907 GB, free: 14.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4151, allocations: 0 / 0.5907 GB, free: 14.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002533/0.4154, allocations: 27.52 kB / 0.5907 GB, free: 14.51 MB / 446.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.001585/0.417, allocations: 1.06 MB / 0.5918 GB, free: 13.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003216/0.4173, allocations: 87.06 kB / 0.5919 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4173, allocations: 5.562 kB / 0.5919 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.4174, allocations: 42.88 kB / 0.5919 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.4178, allocations: 35.33 kB / 0.5919 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.4199, allocations: 1.741 MB / 0.5936 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.4202, allocations: 0.7026 MB / 0.5943 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.4203, allocations: 21.69 kB / 0.5944 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.933e-05/0.4204, allocations: 42.77 kB / 0.5944 GB, free: 11.59 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4204, allocations: 0 / 0.5944 GB, free: 11.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.4366, allocations: 3.298 MB / 0.5976 GB, free: 11.08 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/0.4369, allocations: 237.8 kB / 0.5978 GB, free: 10.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.206, allocations: 0 / 0.5978 GB, free: 10.82 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)