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.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.001082/0.001082, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008384/0.0008384, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8586/0.8586, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7069/0.7069, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.134e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002015/0.002037, allocations: 1.687 MB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.003588, allocations: 1.726 MB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.003664, allocations: 3.938 kB / 0.6214 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.003919, allocations: 47.64 kB / 0.6215 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.004203, allocations: 111.3 kB / 0.6216 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.004364, allocations: 95.52 kB / 0.6217 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.00453, allocations: 147.5 kB / 0.6218 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.004575, allocations: 9.641 kB / 0.6218 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.004734, allocations: 83.75 kB / 0.6219 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.004851, allocations: 43.89 kB / 0.6219 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.004869, allocations: 8 kB / 0.6219 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.005012, allocations: 115.7 kB / 0.6221 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.00506, allocations: 27.84 kB / 0.6221 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.845e-05/0.005098, allocations: 23.94 kB / 0.6221 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.005333, allocations: 215.3 kB / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.005335, allocations: 0 / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005336, allocations: 0 / 0.6223 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.005339, allocations: 0 / 0.6223 GB, free: 9.332 MB / 0.5886 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.0004562/0.005796, allocations: 397.2 kB / 0.6227 GB, free: 8.914 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.005829, allocations: 12.03 kB / 0.6227 GB, free: 8.902 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.717e-05/0.005856, allocations: 34.73 kB / 0.6227 GB, free: 8.859 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.005957, allocations: 24.84 kB / 0.6228 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006155, allocations: 166.3 kB / 0.6229 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.006166, allocations: 384 / 0.6229 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.006178, allocations: 8.359 kB / 0.6229 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.006337, allocations: 127.1 kB / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.006344, allocations: 8 kB / 0.6231 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.006352, allocations: 0 / 0.6231 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.006356, allocations: 0 / 0.6231 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.006465, allocations: 59.89 kB / 0.6231 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.006638, allocations: 174.5 kB / 0.6233 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.006813, allocations: 115.8 kB / 0.6234 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.902e-05/0.006882, allocations: 54.61 kB / 0.6234 GB, free: 8 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.006897, allocations: 3.938 kB / 0.6234 GB, free: 7.996 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.007035, allocations: 109.9 kB / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.007036, allocations: 0 / 0.6235 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0002971/0.007333, allocations: 177.4 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.007383, allocations: 132.8 kB / 0.6238 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.007517, allocations: 200.7 kB / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.007532, allocations: 37.64 kB / 0.6241 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.007585, allocations: 108.1 kB / 0.6242 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.007613, allocations: 19.86 kB / 0.6242 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.007646, allocations: 25.7 kB / 0.6242 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.732e-05/0.007724, allocations: 326.8 kB / 0.6245 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.577e-05/0.007779, allocations: 31.98 kB / 0.6246 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.226e-05/0.007852, allocations: 89.91 kB / 0.6246 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.007977, allocations: 107.6 kB / 0.6247 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.007978, allocations: 0 / 0.6247 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.008143, allocations: 149.4 kB / 0.6249 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.008153, allocations: 4 kB / 0.6249 GB, free: 6.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.008157, allocations: 4.094 kB / 0.6249 GB, free: 6.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.008167, allocations: 4 kB / 0.6249 GB, free: 6.371 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.07e-05/0.008238, allocations: 19.98 kB / 0.6249 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.008243, allocations: 0 / 0.6249 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.008287, allocations: 19.92 kB / 0.6249 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.008293, allocations: 0 / 0.6249 GB, free: 6.332 MB / 0.5886 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 7.527e-05/0.008368, allocations: 137.2 kB / 0.6251 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.008387, allocations: 15.84 kB / 0.6251 GB, free: 6.176 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.008546, allocations: 119.1 kB / 0.6252 GB, free: 6.055 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.008547, allocations: 4 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.008552, allocations: 4 kB / 0.6252 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.008556, allocations: 3.984 kB / 0.6252 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.008669, allocations: 172.7 kB / 0.6254 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.00867, allocations: 0 / 0.6254 GB, free: 5.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.00871, allocations: 15.98 kB / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.008713, allocations: 7.938 kB / 0.6254 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.00872, allocations: 0 / 0.6254 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.008723, allocations: 8.016 kB / 0.6254 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.008724, allocations: 3.984 kB / 0.6254 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.00891, allocations: 186.6 kB / 0.6256 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.008928, allocations: 15.89 kB / 0.6256 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.008945, allocations: 0 / 0.6256 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.636e-05/0.008982, allocations: 11.98 kB / 0.6256 GB, free: 5.562 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.00903, allocations: 11.98 kB / 0.6256 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.009044, allocations: 4 kB / 0.6256 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.979e-05/0.009134, allocations: 157.4 kB / 0.6258 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009134, allocations: 0 / 0.6258 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001972/0.009331, allocations: 51.81 kB / 0.6258 GB, free: 5.344 MB / 0.5886 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.001085/0.01042, allocations: 1.152 MB / 0.627 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.0106, allocations: 95.75 kB / 0.627 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.0106, allocations: 3.938 kB / 0.627 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.029e-05/0.01067, allocations: 44.22 kB / 0.6271 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.01086, allocations: 32.48 kB / 0.6271 GB, free: 4.242 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.01225, allocations: 1.774 MB / 0.6289 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.211e-05/0.01231, allocations: 97.31 kB / 0.6289 GB, free: 2.238 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.852e-05/0.01237, allocations: 20.78 kB / 0.629 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.862e-05/0.01244, allocations: 44.47 kB / 0.629 GB, free: 2.176 MB / 0.5886 GB Notification: Performance of SimCode: time 6.62e-07/0.01244, allocations: 4 kB / 0.629 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01691/0.02935, allocations: 5.289 MB / 0.6342 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.077, allocations: 19.67 kB / 0.6342 GB, free: 12.97 MB / 0.6042 GB " [Timeout remaining time 653] (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 --stepSize=0.004484 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.699322449043393] Failed to read output from testmodel.py, exit status != 0: 7.17571574728936 7.184742273 7.177716805 Calling exit ...