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.0008725/0.0008726, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001049/0.00105, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.744/0.744, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 15.98 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.382, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001897/0.3839, allocations: 1.361 MB / 0.5845 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3856, allocations: 1.401 MB / 0.5858 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.865e-05/0.3857, allocations: 0.8438 kB / 0.5859 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.386, allocations: 31.89 kB / 0.5859 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.3862, allocations: 53.48 kB / 0.5859 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.3865, allocations: 105.2 kB / 0.586 GB, free: 1.93 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.3867, allocations: 104.6 kB / 0.5861 GB, free: 1.883 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.829e-05/0.3868, allocations: 10.41 kB / 0.5861 GB, free: 1.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.3869, allocations: 56.25 kB / 0.5862 GB, free: 1.852 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.3871, allocations: 44.02 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3871, allocations: 3.625 kB / 0.5862 GB, free: 1.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.3872, allocations: 53.06 kB / 0.5863 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.512e-05/0.3873, allocations: 23.42 kB / 0.5863 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.3873, allocations: 43.27 kB / 0.5864 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3875, allocations: 109.3 kB / 0.5865 GB, free: 1.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3875, allocations: 0.8125 kB / 0.5865 GB, free: 1.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3875, allocations: 0 / 0.5865 GB, free: 1.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.3875, allocations: 0 / 0.5865 GB, free: 1.73 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.0005482/0.3881, allocations: 431.3 kB / 0.5869 GB, free: 1.316 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3881, allocations: 10.59 kB / 0.5869 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.3882, allocations: 36.42 kB / 0.5869 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3882, allocations: 14.2 kB / 0.5869 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.3884, allocations: 214.8 kB / 0.5871 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3885, allocations: 1.797 kB / 0.5871 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.3885, allocations: 3.094 kB / 0.5871 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.3887, allocations: 107 kB / 0.5872 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3887, allocations: 0.7188 kB / 0.5872 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3887, allocations: 0.75 kB / 0.5872 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3887, allocations: 0.75 kB / 0.5872 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.3889, allocations: 63.92 kB / 0.5873 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.3891, allocations: 210.3 kB / 0.5875 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.3894, allocations: 119 kB / 0.5876 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.3895, allocations: 51.48 kB / 0.5877 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.3895, allocations: 7.078 kB / 0.5877 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.3898, allocations: 115.4 kB / 0.5878 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/0.3898, allocations: 3.984 kB / 0.5878 GB, free: 0.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004546/0.3902, allocations: 181.3 kB / 0.588 GB, free: 432 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.3903, allocations: 131.6 kB / 0.5881 GB, free: 272 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.3904, allocations: 182.4 kB / 0.5883 GB, free: 140 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3905, allocations: 27.05 kB / 0.5883 GB, free: 108 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.3905, allocations: 104.2 kB / 0.5884 GB, free: 8 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.3906, allocations: 30.25 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.3906, allocations: 0.9062 kB / 0.5884 GB, free: 15.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3907, allocations: 326.3 kB / 0.5887 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.3908, allocations: 35.03 kB / 0.5888 GB, free: 15.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.391, allocations: 67.88 kB / 0.5888 GB, free: 15.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.3911, allocations: 43.5 kB / 0.5889 GB, free: 15.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3911, allocations: 0.75 kB / 0.5889 GB, free: 15.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003085/0.3914, allocations: 137 kB / 0.589 GB, free: 15.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3914, allocations: 6.766 kB / 0.589 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3915, allocations: 0 / 0.589 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3915, allocations: 10 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.3916, allocations: 22.88 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3916, allocations: 1.844 kB / 0.589 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.607e-05/0.3917, allocations: 18.27 kB / 0.5891 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.3917, allocations: 3 kB / 0.5891 GB, free: 15.51 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001098/0.3919, allocations: 129.3 kB / 0.5892 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.3919, allocations: 15.03 kB / 0.5892 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.736e-05/0.3919, allocations: 21.08 kB / 0.5892 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.392, allocations: 1.906 kB / 0.5892 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.392, allocations: 0.625 kB / 0.5892 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.392, allocations: 1.766 kB / 0.5892 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3922, allocations: 208.8 kB / 0.5894 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3922, allocations: 1.531 kB / 0.5894 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.3923, allocations: 15.52 kB / 0.5894 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3923, allocations: 1.562 kB / 0.5894 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3923, allocations: 2.938 kB / 0.5894 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3923, allocations: 4.625 kB / 0.5894 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.3923, allocations: 6.422 kB / 0.5894 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.3927, allocations: 177.6 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-05/0.3927, allocations: 92.48 kB / 0.5897 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.3928, allocations: 5.938 kB / 0.5897 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.3929, allocations: 17.52 kB / 0.5897 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.3929, allocations: 7.766 kB / 0.5897 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.393, allocations: 4.641 kB / 0.5897 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001418/0.3931, allocations: 134.8 kB / 0.5899 GB, free: 14.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3931, allocations: 4 kB / 0.5899 GB, free: 14.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002735/0.3934, allocations: 32.02 kB / 0.5899 GB, free: 14.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/0.3949, allocations: 1.056 MB / 0.5909 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.3952, allocations: 92.03 kB / 0.591 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3952, allocations: 0 / 0.591 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3954, allocations: 47.81 kB / 0.5911 GB, free: 14.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3956, allocations: 31.06 kB / 0.5911 GB, free: 14.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3972, allocations: 0.8006 MB / 0.5919 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3974, allocations: 0.7016 MB / 0.5926 GB, free: 12.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001048/0.3976, allocations: 25.19 kB / 0.5926 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.3977, allocations: 50.44 kB / 0.5926 GB, free: 12.75 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3977, allocations: 0.9062 kB / 0.5926 GB, free: 12.75 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.4161, allocations: 3.292 MB / 0.5959 GB, free: 12.33 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.4163, allocations: 211.8 kB / 0.5961 GB, free: 12.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.121, allocations: 0 / 0.5961 GB, free: 12.09 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/linux/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) Environment - environmentSimulation: