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.001355/0.001355, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0016/0.0016, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.424/2.424, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.186/1.186, allocations: 132.2 MB / 423.2 MB, free: 2.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006671/0.0006674, allocations: 9.5 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8319, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002884/0.8348, allocations: 1.353 MB / 0.5843 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002728/0.8376, allocations: 1.39 MB / 0.5856 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.8377, allocations: 2.062 kB / 0.5857 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.8381, allocations: 34.08 kB / 0.5857 GB, free: 2.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.8384, allocations: 56.86 kB / 0.5857 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004328/0.8389, allocations: 90.02 kB / 0.5858 GB, free: 1.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.8391, allocations: 86.06 kB / 0.5859 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.8392, allocations: 7.031 kB / 0.5859 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.8394, allocations: 53.52 kB / 0.586 GB, free: 1.887 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.8396, allocations: 43.66 kB / 0.586 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.8397, allocations: 2.969 kB / 0.586 GB, free: 1.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.8399, allocations: 42.69 kB / 0.586 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.8399, allocations: 23.08 kB / 0.5861 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.84, allocations: 40.08 kB / 0.5861 GB, free: 1.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.8403, allocations: 101.5 kB / 0.5862 GB, free: 1.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.8403, allocations: 3.938 kB / 0.5862 GB, free: 1.773 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.8403, allocations: 5.656 kB / 0.5862 GB, free: 1.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.8403, allocations: 0 / 0.5862 GB, free: 1.77 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.0007904/0.8411, allocations: 426.5 kB / 0.5866 GB, free: 1.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.8412, allocations: 9.969 kB / 0.5866 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.158e-05/0.8413, allocations: 33.06 kB / 0.5867 GB, free: 1.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.8413, allocations: 17.41 kB / 0.5867 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/0.8417, allocations: 219.4 kB / 0.5869 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.8417, allocations: 1.875 kB / 0.5869 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.8417, allocations: 11.03 kB / 0.5869 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.8421, allocations: 94.2 kB / 0.587 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.8421, allocations: 0.7188 kB / 0.587 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.09e-05/0.8422, allocations: 9.984 kB / 0.587 GB, free: 1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.8422, allocations: 4.75 kB / 0.587 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.8425, allocations: 62.66 kB / 0.5871 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.8428, allocations: 207.8 kB / 0.5873 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.8432, allocations: 118.1 kB / 0.5874 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.8432, allocations: 2.484 kB / 0.5874 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.8436, allocations: 123.5 kB / 0.5875 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.8436, allocations: 0 / 0.5875 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007261/0.8443, allocations: 174.5 kB / 0.5877 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.8444, allocations: 131.9 kB / 0.5878 GB, free: 348 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.8447, allocations: 172.8 kB / 0.588 GB, free: 224 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.8447, allocations: 29.06 kB / 0.588 GB, free: 192 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.8448, allocations: 106.7 kB / 0.5881 GB, free: 88 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.55e-05/0.8449, allocations: 34.75 kB / 0.5881 GB, free: 60 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.8449, allocations: 0 / 0.5881 GB, free: 60 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.8451, allocations: 330.9 kB / 0.5884 GB, free: 15.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.8453, allocations: 34.39 kB / 0.5885 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.8455, allocations: 68.27 kB / 0.5885 GB, free: 15.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.8457, allocations: 35.88 kB / 0.5886 GB, free: 15.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.8457, allocations: 0 / 0.5886 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000506/0.8462, allocations: 144.9 kB / 0.5887 GB, free: 15.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.8463, allocations: 6.594 kB / 0.5887 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.8463, allocations: 0 / 0.5887 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.8463, allocations: 1.594 kB / 0.5887 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.8465, allocations: 27.06 kB / 0.5887 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.8466, allocations: 1.125 kB / 0.5887 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.8467, allocations: 15.3 kB / 0.5888 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.8467, allocations: 3.156 kB / 0.5888 GB, free: 15.59 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.0001923/0.8469, allocations: 134.7 kB / 0.5889 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.847, allocations: 9.938 kB / 0.5889 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.223e-05/0.8471, allocations: 17.53 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.8471, allocations: 1.062 kB / 0.5889 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.8471, allocations: 5.125 kB / 0.5889 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.8471, allocations: 2.438 kB / 0.5889 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.8474, allocations: 209.4 kB / 0.5891 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8475, allocations: 4.562 kB / 0.5891 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.8476, allocations: 15.23 kB / 0.5891 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.8476, allocations: 6.625 kB / 0.5891 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.8476, allocations: 6.219 kB / 0.5891 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.8476, allocations: 2.125 kB / 0.5891 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8477, allocations: 1.375 kB / 0.5892 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.8482, allocations: 204.9 kB / 0.5893 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.8484, allocations: 91.72 kB / 0.5894 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.8484, allocations: 6.922 kB / 0.5894 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.8485, allocations: 13.66 kB / 0.5895 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.473e-05/0.8486, allocations: 7.375 kB / 0.5895 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.8487, allocations: 5 kB / 0.5895 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.8489, allocations: 134.5 kB / 0.5896 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8489, allocations: 0 / 0.5896 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.8494, allocations: 39.62 kB / 0.5896 GB, free: 14.84 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.002596/0.852, allocations: 1.215 MB / 0.5908 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000484/0.8525, allocations: 91.78 kB / 0.5909 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.8525, allocations: 0 / 0.5909 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.8527, allocations: 51.31 kB / 0.591 GB, free: 13.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.8531, allocations: 32.8 kB / 0.591 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.8558, allocations: 1.237 MB / 0.5922 GB, free: 12.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.8563, allocations: 0.7142 MB / 0.5929 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.8564, allocations: 21.05 kB / 0.5929 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.8566, allocations: 39.84 kB / 0.5929 GB, free: 12.18 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.8566, allocations: 3.938 kB / 0.593 GB, free: 12.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02699/0.8836, allocations: 3.282 MB / 0.5962 GB, free: 11.77 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003398/0.884, allocations: 211.7 kB / 0.5964 GB, free: 11.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/3.486, allocations: 0 / 0.5964 GB, free: 11.53 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: