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/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, 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.8242/0.8243, 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.458/1.458, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0009494/0.0009494, allocations: 100.9 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.8e-05/2.802e-05, allocations: 1.906 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6894/0.8382, allocations: 115.5 MB / 0.7533 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.8385, allocations: 78.78 kB / 0.7534 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01203/0.8505, allocations: 4.675 MB / 0.758 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8506, allocations: 0 / 0.758 GB, free: 27.08 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.8506, allocations: 3.844 kB / 0.758 GB, free: 27.08 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.0005609/0.8512, allocations: 431.3 kB / 0.7584 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.8512, allocations: 11.53 kB / 0.7584 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.8513, allocations: 34.55 kB / 0.7584 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.8514, allocations: 11.7 kB / 0.7584 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.8517, allocations: 223.7 kB / 0.7586 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.8517, allocations: 0 / 0.7586 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.8517, allocations: 3.875 kB / 0.7586 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.8519, allocations: 97.69 kB / 0.7587 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8519, allocations: 4 kB / 0.7587 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.8519, allocations: 0 / 0.7587 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.8519, allocations: 0 / 0.7587 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.683e-05/0.852, allocations: 39.14 kB / 0.7588 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.8523, allocations: 214.5 kB / 0.759 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.8525, allocations: 107 kB / 0.7591 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.806e-05/0.8525, allocations: 39.47 kB / 0.7591 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.8526, allocations: 3.844 kB / 0.7591 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.8527, allocations: 105.3 kB / 0.7592 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.8527, allocations: 0 / 0.7592 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002661/0.853, allocations: 110.5 kB / 0.7593 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.8531, allocations: 132.4 kB / 0.7595 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.8533, allocations: 166.2 kB / 0.7596 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.8533, allocations: 32.95 kB / 0.7596 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.8533, allocations: 100.7 kB / 0.7597 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.8534, allocations: 38.94 kB / 0.7598 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.8534, allocations: 7.281 kB / 0.7598 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.8535, allocations: 322.2 kB / 0.7601 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.728e-05/0.8536, allocations: 23.03 kB / 0.7601 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.261e-05/0.8536, allocations: 58.06 kB / 0.7602 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.545e-05/0.8537, allocations: 34.23 kB / 0.7602 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8537, allocations: 0 / 0.7602 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.8539, allocations: 109.4 kB / 0.7603 GB, free: 25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.8539, allocations: 3.969 kB / 0.7603 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.8539, allocations: 7.859 kB / 0.7603 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.8539, allocations: 0 / 0.7603 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.8541, allocations: 29.98 kB / 0.7603 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.8541, allocations: 0 / 0.7603 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.524e-05/0.8542, allocations: 22.48 kB / 0.7604 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.8542, allocations: 0 / 0.7604 GB, free: 24.97 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.454e-05/0.8543, allocations: 117.7 kB / 0.7605 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.8543, allocations: 11.69 kB / 0.7605 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.8546, allocations: 121.8 kB / 0.7606 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8546, allocations: 3.844 kB / 0.7606 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8546, allocations: 0 / 0.7606 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.8546, allocations: 3.984 kB / 0.7606 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/0.8548, allocations: 212.6 kB / 0.7608 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.8548, allocations: 128 / 0.7608 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.8549, allocations: 23.17 kB / 0.7608 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.8549, allocations: 3.844 kB / 0.7608 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.8549, allocations: 0 / 0.7608 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.8549, allocations: 7.828 kB / 0.7609 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8549, allocations: 4 kB / 0.7609 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.8552, allocations: 183.5 kB / 0.761 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.8552, allocations: 92.78 kB / 0.7611 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.8553, allocations: 7.406 kB / 0.7611 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.8554, allocations: 15.67 kB / 0.7611 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.8554, allocations: 15.33 kB / 0.7612 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.8554, allocations: 11.7 kB / 0.7612 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001165/0.8556, allocations: 135.2 kB / 0.7613 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.062e-06/0.8556, allocations: 0 / 0.7613 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002535/0.8558, allocations: 49.52 kB / 0.7613 GB, free: 24.19 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.001395/0.8572, allocations: 1.15 MB / 0.7625 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.8574, allocations: 67.3 kB / 0.7625 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8574, allocations: 0 / 0.7625 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.325e-05/0.8575, allocations: 40.67 kB / 0.7626 GB, free: 23.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.8578, allocations: 29.97 kB / 0.7626 GB, free: 23.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.8583, allocations: 230.8 kB / 0.7628 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.8586, allocations: 0.7074 MB / 0.7635 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.74e-05/0.8587, allocations: 28.69 kB / 0.7635 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.8588, allocations: 48.44 kB / 0.7636 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.8588, allocations: 0 / 0.7636 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0172/0.876, allocations: 3.379 MB / 0.7669 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/0.8763, allocations: 183.9 kB / 0.7671 GB, free: 20.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.588, allocations: 0 / 0.7671 GB, free: 20.48 MB / 0.5105 GB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --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)