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) 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-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 96.41 kB / 15.05 MB, free: 1.109 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.001556/0.001556, allocations: 181.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.207/2.207, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.548/1.548, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005278/0.0005279, allocations: 8 kB / 0.5069 GB, free: 5.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2303, allocations: 82.31 MB / 0.5873 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003392/0.2337, allocations: 1.338 MB / 0.5886 GB, free: 1.641 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.2375, allocations: 1.392 MB / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.2376, allocations: 0 / 0.59 GB, free: 248 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003516/0.238, allocations: 35.83 kB / 0.59 GB, free: 212 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.2384, allocations: 55.8 kB / 0.59 GB, free: 156 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005485/0.2389, allocations: 91.7 kB / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.2392, allocations: 83.89 kB / 0.5902 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.219e-05/0.2393, allocations: 13.11 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.2396, allocations: 51.75 kB / 0.5903 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.2398, allocations: 41.5 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.2399, allocations: 0 / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.2401, allocations: 47.91 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.2402, allocations: 23.91 kB / 0.5904 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.2402, allocations: 37.64 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.2406, allocations: 112 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2406, allocations: 0 / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2406, allocations: 4 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2406, allocations: 0 / 0.5905 GB, free: 15.65 MB / 0.4981 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.0009298/0.2416, allocations: 422.9 kB / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.2416, allocations: 12.03 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.134e-05/0.2417, allocations: 30.56 kB / 0.591 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.175e-05/0.2418, allocations: 15.81 kB / 0.591 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.2422, allocations: 228.2 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.2423, allocations: 8 kB / 0.5912 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.2423, allocations: 4 kB / 0.5912 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.2427, allocations: 101.1 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2428, allocations: 3.938 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.2428, allocations: 0 / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.2428, allocations: 4 kB / 0.5913 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.2432, allocations: 59.89 kB / 0.5914 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.2436, allocations: 211.3 kB / 0.5916 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/0.2441, allocations: 123.9 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.2442, allocations: 4 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.2447, allocations: 117.9 kB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.745e-06/0.2447, allocations: 0 / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0009465/0.2456, allocations: 169.5 kB / 0.592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.2458, allocations: 136.5 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.2461, allocations: 179.9 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.2461, allocations: 29.7 kB / 0.5923 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.663e-05/0.2463, allocations: 108.3 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.356e-05/0.2463, allocations: 23.7 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.2464, allocations: 0 / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.2466, allocations: 326.8 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.2468, allocations: 31.98 kB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.2471, allocations: 68.27 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.2474, allocations: 43.94 kB / 0.5929 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.2474, allocations: 0 / 0.5929 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006461/0.248, allocations: 145.5 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.2481, allocations: 4 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2481, allocations: 0 / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.2481, allocations: 4 kB / 0.593 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.2484, allocations: 19.98 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.2484, allocations: 8.094 kB / 0.593 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.2486, allocations: 15.84 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2487, allocations: 3.984 kB / 0.5931 GB, free: 12.74 MB / 0.4981 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 () * 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.0001773/0.2489, allocations: 129.7 kB / 0.5932 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.2489, allocations: 11.91 kB / 0.5932 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.666e-05/0.249, allocations: 21.38 kB / 0.5932 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.249, allocations: 4 kB / 0.5932 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2491, allocations: 4.312 kB / 0.5932 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.2491, allocations: 0 / 0.5932 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.2494, allocations: 209.5 kB / 0.5934 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2494, allocations: 7.891 kB / 0.5934 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.2496, allocations: 19.98 kB / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2496, allocations: 0 / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.2497, allocations: 0 / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-06/0.2497, allocations: 4.188 kB / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2497, allocations: 0 / 0.5935 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.2504, allocations: 206 kB / 0.5937 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.2505, allocations: 100.9 kB / 0.5938 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.2506, allocations: 4 kB / 0.5938 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.2508, allocations: 11.98 kB / 0.5938 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/0.2509, allocations: 7.984 kB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.2509, allocations: 4 kB / 0.5938 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002146/0.2511, allocations: 131.2 kB / 0.5939 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2512, allocations: 0 / 0.5939 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004958/0.2517, allocations: 27.98 kB / 0.5939 GB, free: 11.73 MB / 0.4981 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 (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.002868/0.2546, allocations: 1.21 MB / 0.5951 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005665/0.2552, allocations: 91.89 kB / 0.5952 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.2552, allocations: 0 / 0.5952 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002783/0.2555, allocations: 47.91 kB / 0.5952 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.2559, allocations: 36.23 kB / 0.5953 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/0.2587, allocations: 1.25 MB / 0.5965 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.2591, allocations: 0.7043 MB / 0.5972 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001799/0.2594, allocations: 36.44 kB / 0.5972 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2595, allocations: 35.42 kB / 0.5973 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of SimCode: time 4.819e-06/0.2595, allocations: 0 / 0.5973 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.2879, allocations: 3.284 MB / 0.6005 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/0.2882, allocations: 216.5 kB / 0.6007 GB, free: 5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.134, allocations: 0 / 0.6007 GB, free: 5 MB / 0.4981 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) Environment - environmentSimulation: