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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7962/0.7962, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.3 MB / 400.4 MB, free: 5.773 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.001099, allocations: 91.89 kB / 483.3 MB, free: 5.785 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.83e-05/3.845e-05, allocations: 2.406 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2521, allocations: 82.31 MB / 0.6405 GB, free: 7.68 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7278/0.98, allocations: 115.5 MB / 0.7533 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.9803, allocations: 83.48 kB / 0.7534 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01223/0.9925, allocations: 4.679 MB / 0.758 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9926, allocations: 0 / 0.758 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.9926, allocations: 3.906 kB / 0.758 GB, free: 27.16 MB / 0.5105 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.0006294/0.9932, allocations: 426.8 kB / 0.7584 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.9933, allocations: 11.72 kB / 0.7584 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.9934, allocations: 34.55 kB / 0.7584 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.9934, allocations: 19.39 kB / 0.7584 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.9938, allocations: 215.9 kB / 0.7586 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.9939, allocations: 3.938 kB / 0.7586 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.9939, allocations: 0 / 0.7586 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.9941, allocations: 99.19 kB / 0.7587 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9941, allocations: 4 kB / 0.7587 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.9941, allocations: 0 / 0.7587 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.9941, allocations: 7.906 kB / 0.7587 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.9942, allocations: 37.3 kB / 0.7588 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.9945, allocations: 212.2 kB / 0.759 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.9947, allocations: 111.4 kB / 0.7591 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.581e-05/0.9948, allocations: 41.16 kB / 0.7591 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.9949, allocations: 0 / 0.7591 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.995, allocations: 105.6 kB / 0.7592 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.9951, allocations: 4 kB / 0.7592 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002837/0.9953, allocations: 111.5 kB / 0.7593 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.9954, allocations: 128.5 kB / 0.7595 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.9956, allocations: 170.2 kB / 0.7596 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.9957, allocations: 32.27 kB / 0.7597 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.9957, allocations: 104.8 kB / 0.7598 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/0.9958, allocations: 34.11 kB / 0.7598 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.9958, allocations: 0 / 0.7598 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9959, allocations: 330.5 kB / 0.7601 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.034e-05/0.996, allocations: 22.38 kB / 0.7601 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.996, allocations: 60.72 kB / 0.7602 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.594e-05/0.9961, allocations: 22.08 kB / 0.7602 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9961, allocations: 7.844 kB / 0.7602 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.9963, allocations: 108 kB / 0.7603 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.9963, allocations: 8.656 kB / 0.7603 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9963, allocations: 0 / 0.7603 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.9964, allocations: 3.906 kB / 0.7603 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.9965, allocations: 23.42 kB / 0.7603 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9965, allocations: 3.875 kB / 0.7603 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.9966, allocations: 22.92 kB / 0.7604 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.9966, allocations: 3.812 kB / 0.7604 GB, free: 25.05 MB / 0.5105 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete 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 9.336e-05/0.9967, allocations: 117.9 kB / 0.7605 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.9968, allocations: 7.719 kB / 0.7605 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.997, allocations: 114.3 kB / 0.7606 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.997, allocations: 3.844 kB / 0.7606 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.997, allocations: 0 / 0.7606 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.9971, allocations: 4.172 kB / 0.7606 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.9972, allocations: 218.1 kB / 0.7608 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.9973, allocations: 7.969 kB / 0.7608 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.349e-05/0.9973, allocations: 22.86 kB / 0.7608 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.9974, allocations: 3.875 kB / 0.7608 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.9974, allocations: 0 / 0.7608 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.9974, allocations: 3.75 kB / 0.7609 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.9974, allocations: 3.984 kB / 0.7609 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.9976, allocations: 181.8 kB / 0.761 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.9977, allocations: 95.84 kB / 0.7611 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.9977, allocations: 0 / 0.7611 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.9978, allocations: 11.8 kB / 0.7611 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.9979, allocations: 23.3 kB / 0.7612 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.9979, allocations: 3.953 kB / 0.7612 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001235/0.998, allocations: 139.2 kB / 0.7613 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.998, allocations: 0 / 0.7613 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002586/0.9983, allocations: 42.58 kB / 0.7613 GB, free: 24.27 MB / 0.5105 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001444/0.9998, allocations: 1.156 MB / 0.7625 GB, free: 23.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001812/1, allocations: 75.89 kB / 0.7625 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/1, allocations: 3.969 kB / 0.7625 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.29e-05/1, allocations: 37.88 kB / 0.7626 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/1, allocations: 30.42 kB / 0.7626 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/1.001, allocations: 223.4 kB / 0.7628 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/1.001, allocations: 0.7154 MB / 0.7635 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.84e-05/1.001, allocations: 20.62 kB / 0.7635 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/1.001, allocations: 40.88 kB / 0.7636 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of SimCode: time 5.31e-07/1.001, allocations: 0 / 0.7636 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/1.018, allocations: 3.386 MB / 0.7669 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/1.019, allocations: 180.1 kB / 0.7671 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.757, allocations: 0 / 0.7671 GB, free: 20.55 MB / 0.5105 GB (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)