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.001529/0.001529, allocations: 108 kB / 15.61 MB, free: 152 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.001828/0.001828, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7185/0.7185, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 60.69 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.539, allocations: 80.2 MB / 0.5802 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003559/0.5426, allocations: 1.671 MB / 0.5818 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.5449, allocations: 1.503 MB / 0.5833 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.545, allocations: 0.75 kB / 0.5833 GB, free: 2.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.5454, allocations: 40.2 kB / 0.5833 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.5457, allocations: 69.47 kB / 0.5834 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.546, allocations: 122.3 kB / 0.5835 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.5462, allocations: 119 kB / 0.5836 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.991e-05/0.5463, allocations: 11.38 kB / 0.5836 GB, free: 2.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.5465, allocations: 61.45 kB / 0.5837 GB, free: 2.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.5467, allocations: 51.52 kB / 0.5837 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.5467, allocations: 6.188 kB / 0.5838 GB, free: 2.352 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.5469, allocations: 60.16 kB / 0.5838 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.547, allocations: 30.28 kB / 0.5838 GB, free: 2.316 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.5471, allocations: 41.62 kB / 0.5839 GB, free: 2.289 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.5474, allocations: 146 kB / 0.584 GB, free: 2.23 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5474, allocations: 3.938 kB / 0.584 GB, free: 2.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5474, allocations: 0 / 0.584 GB, free: 2.227 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.5474, allocations: 0.6094 kB / 0.584 GB, free: 2.227 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.0007171/0.5481, allocations: 444.3 kB / 0.5844 GB, free: 1.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.901e-05/0.5482, allocations: 9.156 kB / 0.5845 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.213e-05/0.5483, allocations: 36.89 kB / 0.5845 GB, free: 1.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.5483, allocations: 14.86 kB / 0.5845 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.5486, allocations: 212.7 kB / 0.5847 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.5486, allocations: 1.312 kB / 0.5847 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.5487, allocations: 11.34 kB / 0.5847 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.5489, allocations: 99.08 kB / 0.5848 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.5489, allocations: 4.797 kB / 0.5848 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.549, allocations: 5 kB / 0.5848 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.549, allocations: 4.844 kB / 0.5848 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.5492, allocations: 51.58 kB / 0.5849 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.5494, allocations: 210.3 kB / 0.5851 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.5497, allocations: 119.8 kB / 0.5852 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.5498, allocations: 48.22 kB / 0.5852 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.5499, allocations: 6.469 kB / 0.5852 GB, free: 1.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003246/0.5502, allocations: 112 kB / 0.5854 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 2.414e-06/0.5502, allocations: 0 / 0.5854 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005205/0.5507, allocations: 164 kB / 0.5855 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.5508, allocations: 132.5 kB / 0.5856 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.551, allocations: 175.4 kB / 0.5858 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.551, allocations: 26.48 kB / 0.5858 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/0.5511, allocations: 104.1 kB / 0.5859 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.5511, allocations: 26.8 kB / 0.586 GB, free: 496 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.5512, allocations: 23.2 kB / 0.586 GB, free: 476 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.59e-05/0.5513, allocations: 334.1 kB / 0.5863 GB, free: 140 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.5514, allocations: 31.06 kB / 0.5863 GB, free: 132 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.5515, allocations: 60.52 kB / 0.5864 GB, free: 84 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.5517, allocations: 101.2 kB / 0.5865 GB, free: 20 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5517, allocations: 4.438 kB / 0.5865 GB, free: 16 kB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004851/0.5522, allocations: 134.4 kB / 0.5866 GB, free: 15.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.5523, allocations: 7.219 kB / 0.5866 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5523, allocations: 1.406 kB / 0.5866 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.5523, allocations: 5.656 kB / 0.5866 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.5524, allocations: 28.42 kB / 0.5867 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5525, allocations: 1.188 kB / 0.5867 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.5525, allocations: 8.312 kB / 0.5867 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.5526, allocations: 4.5 kB / 0.5867 GB, free: 15.93 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.0001191/0.5527, allocations: 130.5 kB / 0.5868 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.895e-05/0.5527, allocations: 15.56 kB / 0.5868 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.617e-05/0.5528, allocations: 16.53 kB / 0.5868 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5528, allocations: 5.812 kB / 0.5868 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.5528, allocations: 2.141 kB / 0.5868 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5528, allocations: 0 / 0.5868 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.5531, allocations: 209.6 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5531, allocations: 1.656 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.5532, allocations: 17.33 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.5532, allocations: 0.875 kB / 0.587 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.5532, allocations: 7.344 kB / 0.5871 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5532, allocations: 1.219 kB / 0.5871 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.5532, allocations: 1.219 kB / 0.5871 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000474/0.5537, allocations: 167.2 kB / 0.5872 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.5538, allocations: 90.06 kB / 0.5873 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.5538, allocations: 6.938 kB / 0.5873 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.5539, allocations: 14.28 kB / 0.5873 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.554, allocations: 15.53 kB / 0.5873 GB, free: 15.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.554, allocations: 4.203 kB / 0.5873 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.5541, allocations: 134.3 kB / 0.5875 GB, free: 15.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5541, allocations: 0 / 0.5875 GB, free: 15.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.5544, allocations: 30.38 kB / 0.5875 GB, free: 15.23 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.001677/0.5561, allocations: 1.036 MB / 0.5885 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003639/0.5565, allocations: 93.78 kB / 0.5886 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5565, allocations: 1.375 kB / 0.5886 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.5566, allocations: 38.11 kB / 0.5886 GB, free: 14.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.557, allocations: 38.09 kB / 0.5887 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.5596, allocations: 1.697 MB / 0.5903 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.5601, allocations: 0.706 MB / 0.591 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.5602, allocations: 16.91 kB / 0.591 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5603, allocations: 43.19 kB / 0.5911 GB, free: 12.34 MB / 446.1 MB Notification: Performance of SimCode: time 3.8e-07/0.5603, allocations: 0 / 0.5911 GB, free: 12.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.5863, allocations: 3.744 MB / 0.5947 GB, free: 11.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.572/8.159, allocations: 14.42 kB / 0.5947 GB, free: 11.45 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)