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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008491/0.0008491, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9577/0.9577, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8051/0.8051, allocations: 203.8 MB / 0.5042 GB, free: 10.42 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009505/0.0009505, allocations: 71.48 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5047/0.5057, allocations: 102 MB / 0.8178 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002703/0.5084, allocations: 1.678 MB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.5108, allocations: 1.722 MB / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.5109, allocations: 0 / 0.8211 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.5113, allocations: 41.34 kB / 0.8212 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.5117, allocations: 112.6 kB / 0.8213 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.5119, allocations: 98.44 kB / 0.8214 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.5121, allocations: 139.1 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.5122, allocations: 11 kB / 0.8215 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.5123, allocations: 65.66 kB / 0.8216 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.5125, allocations: 56.83 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.5125, allocations: 7.844 kB / 0.8216 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.5127, allocations: 107.2 kB / 0.8217 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.391e-05/0.5128, allocations: 27.23 kB / 0.8217 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.116e-05/0.5129, allocations: 38.34 kB / 0.8218 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.5132, allocations: 204.9 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.5132, allocations: 7.938 kB / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5132, allocations: 0 / 0.822 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.5132, allocations: 1.094 kB / 0.822 GB, free: 14.29 MB / 0.6198 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.0005558/0.5138, allocations: 398.1 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5138, allocations: 9.75 kB / 0.8224 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.5139, allocations: 37.58 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.514, allocations: 19.39 kB / 0.8224 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.5143, allocations: 167.1 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.5143, allocations: 6.422 kB / 0.8226 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.5143, allocations: 7 kB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.5146, allocations: 124 kB / 0.8227 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5146, allocations: 0 / 0.8227 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.5146, allocations: 5.75 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5146, allocations: 0.9688 kB / 0.8227 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.5148, allocations: 56.25 kB / 0.8228 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002551/0.515, allocations: 181.5 kB / 0.823 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.5153, allocations: 124.7 kB / 0.8231 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.862e-05/0.5154, allocations: 48.44 kB / 0.8231 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.5154, allocations: 7.094 kB / 0.8231 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002152/0.5156, allocations: 116.2 kB / 0.8232 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.5156, allocations: 0 / 0.8232 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004337/0.516, allocations: 178 kB / 0.8234 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.5161, allocations: 135.3 kB / 0.8235 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.5163, allocations: 207.8 kB / 0.8237 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.5163, allocations: 27.14 kB / 0.8238 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.725e-05/0.5164, allocations: 104.1 kB / 0.8239 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.5165, allocations: 31.23 kB / 0.8239 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.5165, allocations: 27.25 kB / 0.8239 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.5166, allocations: 322.6 kB / 0.8242 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.192e-05/0.5167, allocations: 36.2 kB / 0.8243 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.5168, allocations: 95.61 kB / 0.8243 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.5169, allocations: 95.94 kB / 0.8244 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5169, allocations: 3.938 kB / 0.8244 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.5171, allocations: 147 kB / 0.8246 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5171, allocations: 6.5 kB / 0.8246 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5171, allocations: 0 / 0.8246 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5171, allocations: 2.672 kB / 0.8246 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.5172, allocations: 20.31 kB / 0.8246 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5172, allocations: 5.75 kB / 0.8246 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.577e-05/0.5173, allocations: 8.469 kB / 0.8246 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.5173, allocations: 4.469 kB / 0.8246 GB, free: 12.09 MB / 0.6198 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 ($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 8.272e-05/0.5174, allocations: 135.8 kB / 0.8248 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/0.5174, allocations: 15.5 kB / 0.8248 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/0.5176, allocations: 119.4 kB / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5176, allocations: 1.781 kB / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.5176, allocations: 1.406 kB / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5176, allocations: 3.688 kB / 0.8249 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.5179, allocations: 179.7 kB / 0.8251 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5179, allocations: 0.6562 kB / 0.8251 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.518, allocations: 21.42 kB / 0.8251 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.518, allocations: 5.125 kB / 0.8251 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.518, allocations: 6.188 kB / 0.8251 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.518, allocations: 1.203 kB / 0.8251 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.518, allocations: 6.469 kB / 0.8251 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.5182, allocations: 183.1 kB / 0.8253 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.5182, allocations: 17.86 kB / 0.8253 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.5183, allocations: 2.891 kB / 0.8253 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.009e-05/0.5183, allocations: 11.61 kB / 0.8253 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/0.5183, allocations: 16.89 kB / 0.8253 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.5184, allocations: 4.531 kB / 0.8253 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001116/0.5185, allocations: 150.9 kB / 0.8255 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5185, allocations: 1.094 kB / 0.8255 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002334/0.5187, allocations: 46.48 kB / 0.8255 GB, free: 11.43 MB / 0.6198 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) * Number of clocked states: 0 () * 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 (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.001318/0.52, allocations: 1.147 MB / 0.8266 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.5203, allocations: 97.91 kB / 0.8267 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5203, allocations: 0 / 0.8267 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.382e-05/0.5203, allocations: 43.16 kB / 0.8268 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.5206, allocations: 34.66 kB / 0.8268 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.5223, allocations: 1.767 MB / 0.8285 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.5223, allocations: 96.42 kB / 0.8286 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.504e-05/0.5224, allocations: 34.66 kB / 0.8287 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.5225, allocations: 44.3 kB / 0.8287 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of SimCode: time 9.22e-07/0.5225, allocations: 1.312 kB / 0.8287 GB, free: 9.113 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.5463, allocations: 5.153 MB / 0.8337 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.56/7.106, allocations: 3.844 kB / 0.8337 GB, free: 7.609 MB / 0.6198 GB " [Timeout remaining time 653] (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/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --stepSize=0.004484 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.055377265904099] Failed to read output from testmodel.py, exit status != 0: 7.200634726788849 7.210806884 6.695459154 Calling exit ...