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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 112.3 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.094/1.094, allocations: 175.8 MB / 478.4 MB, free: 8.441 MB / 382.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 69.33 kB / 0.6652 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2019, allocations: 94.54 MB / 0.7575 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003431/0.2053, allocations: 1.679 MB / 0.7592 GB, free: 184 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3749/0.5802, allocations: 1.514 MB / 0.7606 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.5803, allocations: 1.25 kB / 0.7606 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.5806, allocations: 37.73 kB / 0.7607 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.5809, allocations: 68.89 kB / 0.7607 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.5812, allocations: 111.5 kB / 0.7608 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.5814, allocations: 131.6 kB / 0.761 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.358e-05/0.5815, allocations: 9.266 kB / 0.761 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.5816, allocations: 58.45 kB / 0.761 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.5818, allocations: 56.14 kB / 0.7611 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.5818, allocations: 6.344 kB / 0.7611 GB, free: 7.891 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.582, allocations: 61.84 kB / 0.7611 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.5821, allocations: 21.92 kB / 0.7612 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.5821, allocations: 46.55 kB / 0.7612 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002855/0.5824, allocations: 144.7 kB / 0.7614 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.5824, allocations: 0.9062 kB / 0.7614 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5824, allocations: 3.938 kB / 0.7614 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.5824, allocations: 2.5 kB / 0.7614 GB, free: 7.828 MB / 0.5762 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.0005985/0.583, allocations: 443.1 kB / 0.7618 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5831, allocations: 10.03 kB / 0.7618 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.492e-05/0.5831, allocations: 40.31 kB / 0.7618 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.5832, allocations: 10.39 kB / 0.7618 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.5834, allocations: 228.5 kB / 0.7621 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5835, allocations: 1.875 kB / 0.7621 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.5835, allocations: 7.453 kB / 0.7621 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.5837, allocations: 100 kB / 0.7622 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5837, allocations: 4.5 kB / 0.7622 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5837, allocations: 2.281 kB / 0.7622 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5837, allocations: 0 / 0.7622 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.5839, allocations: 47.41 kB / 0.7622 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.5841, allocations: 212.3 kB / 0.7624 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002624/0.5844, allocations: 119.1 kB / 0.7625 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.5845, allocations: 50.52 kB / 0.7626 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.5845, allocations: 3.312 kB / 0.7626 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.5848, allocations: 112.8 kB / 0.7627 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.5848, allocations: 0 / 0.7627 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.0005102/0.5853, allocations: 171.5 kB / 0.7629 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.5853, allocations: 131.2 kB / 0.763 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.5855, allocations: 180.7 kB / 0.7631 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.5855, allocations: 29.86 kB / 0.7632 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.949e-05/0.5856, allocations: 102.6 kB / 0.7633 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.5856, allocations: 21.48 kB / 0.7633 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.5856, allocations: 26.55 kB / 0.7633 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.792e-05/0.5857, allocations: 326.1 kB / 0.7636 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.5858, allocations: 34.23 kB / 0.7637 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.5859, allocations: 63.7 kB / 0.7637 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002095/0.5861, allocations: 97.52 kB / 0.7638 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5861, allocations: 3.938 kB / 0.7638 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002905/0.5864, allocations: 134.4 kB / 0.764 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.5864, allocations: 5.656 kB / 0.764 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5864, allocations: 1.125 kB / 0.764 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.5865, allocations: 2.094 kB / 0.764 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.5866, allocations: 24.38 kB / 0.764 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.5866, allocations: 5.562 kB / 0.764 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.765e-05/0.5867, allocations: 19.05 kB / 0.764 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.5867, allocations: 5.844 kB / 0.764 GB, free: 5.781 MB / 0.5762 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 0.0001023/0.5868, allocations: 131 kB / 0.7641 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.5868, allocations: 15.25 kB / 0.7642 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.24e-05/0.5869, allocations: 22.55 kB / 0.7642 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5869, allocations: 0 / 0.7642 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5869, allocations: 7.438 kB / 0.7642 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.5869, allocations: 0 / 0.7642 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.587, allocations: 202.9 kB / 0.7644 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5871, allocations: 1 kB / 0.7644 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.854e-05/0.5871, allocations: 13.41 kB / 0.7644 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5871, allocations: 1.375 kB / 0.7644 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5871, allocations: 7.078 kB / 0.7644 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.5871, allocations: 0.9062 kB / 0.7644 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5872, allocations: 1.859 kB / 0.7644 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.5875, allocations: 176.8 kB / 0.7646 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.22e-05/0.5875, allocations: 85.08 kB / 0.7646 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.5875, allocations: 3.141 kB / 0.7647 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.5876, allocations: 11.59 kB / 0.7647 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.5876, allocations: 10.34 kB / 0.7647 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.5877, allocations: 5.688 kB / 0.7647 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001077/0.5878, allocations: 135.5 kB / 0.7648 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5878, allocations: 0 / 0.7648 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002715/0.588, allocations: 30.89 kB / 0.7648 GB, free: 5.156 MB / 0.5762 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.002013/0.5901, allocations: 1.055 MB / 0.7659 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.5904, allocations: 85.52 kB / 0.7659 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5904, allocations: 5.156 kB / 0.766 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.5905, allocations: 43.42 kB / 0.766 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.5908, allocations: 38.16 kB / 0.766 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.5929, allocations: 1.699 MB / 0.7677 GB, free: 19.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.5932, allocations: 0.7018 MB / 0.7684 GB, free: 18.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.5933, allocations: 36.14 kB / 0.7684 GB, free: 18.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.475e-05/0.5934, allocations: 39.11 kB / 0.7684 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.5934, allocations: 0 / 0.7684 GB, free: 18.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.6226, allocations: 3.87 MB / 0.7722 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.785, allocations: 12.58 kB / 0.7722 GB, free: 17.62 MB / 0.5919 GB " [Timeout remaining time 651] (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 --stepSize=0.004484 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.615012722089887] Failed to read output from testmodel.py, exit status != 0: 8.909967509098351 8.927239456 8.341090074 Calling exit ...