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.001458/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001725/0.001725, allocations: 191.4 kB / 16.14 MB, free: 6.707 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7597/0.7597, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.64 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2077, allocations: 80.2 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003275/0.2111, allocations: 1.736 MB / 0.5812 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2133, allocations: 1.475 MB / 0.5826 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.2134, allocations: 0 / 0.5826 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003198/0.2137, allocations: 23.91 kB / 0.5827 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.214, allocations: 55.7 kB / 0.5827 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.2142, allocations: 114.8 kB / 0.5828 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.2144, allocations: 119.6 kB / 0.5829 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.252e-05/0.2145, allocations: 9.125 kB / 0.5829 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.2146, allocations: 55.7 kB / 0.583 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.2148, allocations: 47.77 kB / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.2149, allocations: 0 / 0.583 GB, free: 5.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.215, allocations: 63.91 kB / 0.5831 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.2151, allocations: 27.84 kB / 0.5831 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.126e-05/0.2151, allocations: 39.73 kB / 0.5832 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.2154, allocations: 147.8 kB / 0.5833 GB, free: 5.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.2154, allocations: 0 / 0.5833 GB, free: 5.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2154, allocations: 0 / 0.5833 GB, free: 5.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.2154, allocations: 0 / 0.5833 GB, free: 5.199 MB / 494.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.0006912/0.2161, allocations: 438.9 kB / 0.5837 GB, free: 4.723 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.2162, allocations: 8.031 kB / 0.5837 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.2162, allocations: 34.75 kB / 0.5838 GB, free: 4.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.2163, allocations: 16.73 kB / 0.5838 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.2165, allocations: 220.8 kB / 0.584 GB, free: 4.402 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.2166, allocations: 4.375 kB / 0.584 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.2166, allocations: 7.938 kB / 0.584 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.2168, allocations: 93.08 kB / 0.5841 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2168, allocations: 0 / 0.5841 GB, free: 4.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.2169, allocations: 11.94 kB / 0.5841 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2169, allocations: 0 / 0.5841 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001762/0.2171, allocations: 55.89 kB / 0.5842 GB, free: 4.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002402/0.2173, allocations: 215.3 kB / 0.5844 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.2176, allocations: 123.7 kB / 0.5845 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.2177, allocations: 50.61 kB / 0.5845 GB, free: 3.742 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2178, allocations: 4 kB / 0.5845 GB, free: 3.738 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002683/0.218, allocations: 113.9 kB / 0.5846 GB, free: 3.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.218, allocations: 0 / 0.5846 GB, free: 3.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004683/0.2185, allocations: 153.5 kB / 0.5848 GB, free: 3.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.2186, allocations: 132.7 kB / 0.5849 GB, free: 3.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.2188, allocations: 181.4 kB / 0.5851 GB, free: 3.105 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.2188, allocations: 33.7 kB / 0.5851 GB, free: 3.066 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.2189, allocations: 100.1 kB / 0.5852 GB, free: 2.965 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.2189, allocations: 19.72 kB / 0.5852 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.219, allocations: 25.7 kB / 0.5853 GB, free: 2.914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2191, allocations: 326.8 kB / 0.5856 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2192, allocations: 27.98 kB / 0.5856 GB, free: 2.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2193, allocations: 64.27 kB / 0.5857 GB, free: 2.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.2196, allocations: 99.36 kB / 0.5858 GB, free: 2.371 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2196, allocations: 4.125 kB / 0.5858 GB, free: 2.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003106/0.2199, allocations: 133.3 kB / 0.5859 GB, free: 2.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2199, allocations: 7.938 kB / 0.5859 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2199, allocations: 0 / 0.5859 GB, free: 2.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2199, allocations: 4 kB / 0.5859 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2201, allocations: 23.98 kB / 0.5859 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.2201, allocations: 4.094 kB / 0.5859 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.345e-05/0.2202, allocations: 19.91 kB / 0.5859 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.2202, allocations: 0 / 0.5859 GB, free: 2.172 MB / 494.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.0001195/0.2203, allocations: 134.4 kB / 0.5861 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.2204, allocations: 15.81 kB / 0.5861 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.2204, allocations: 13.41 kB / 0.5861 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2204, allocations: 4 kB / 0.5861 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2204, allocations: 320 / 0.5861 GB, free: 2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2204, allocations: 3.984 kB / 0.5861 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.2206, allocations: 213.5 kB / 0.5863 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2207, allocations: 3.938 kB / 0.5863 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.2207, allocations: 12 kB / 0.5863 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2207, allocations: 0 / 0.5863 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.2208, allocations: 7.984 kB / 0.5863 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2208, allocations: 0 / 0.5863 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2208, allocations: 0 / 0.5863 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.2211, allocations: 174.5 kB / 0.5865 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.2212, allocations: 85.02 kB / 0.5866 GB, free: 1.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.2212, allocations: 4 kB / 0.5866 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.2213, allocations: 11.98 kB / 0.5866 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.2213, allocations: 7.984 kB / 0.5866 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2214, allocations: 4 kB / 0.5866 GB, free: 1.391 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.2215, allocations: 135.5 kB / 0.5867 GB, free: 1.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2215, allocations: 0 / 0.5867 GB, free: 1.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.2218, allocations: 35.98 kB / 0.5868 GB, free: 1.223 MB / 494.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.001566/0.2233, allocations: 1.05 MB / 0.5878 GB, free: 352 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002788/0.2236, allocations: 87.88 kB / 0.5879 GB, free: 264 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2236, allocations: 4 kB / 0.5879 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.2238, allocations: 39.92 kB / 0.5879 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.2241, allocations: 31.88 kB / 0.588 GB, free: 188 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.2262, allocations: 1.704 MB / 0.5896 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.2266, allocations: 0.7121 MB / 0.5903 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.917e-05/0.2267, allocations: 16.55 kB / 0.5903 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.854e-05/0.2268, allocations: 35.42 kB / 0.5904 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.2268, allocations: 0 / 0.5904 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.2417, allocations: 3.536 MB / 0.5938 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.2419, allocations: 222.2 kB / 0.594 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/1.988, allocations: 0 / 0.594 GB, free: 9.93 MB / 0.4981 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/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)