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.001262/0.001262, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001361/0.001361, allocations: 167.2 kB / 22.46 MB, free: 5.371 MB / 14.72 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 1.493/1.493, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.187/1.187, allocations: 154.6 MB / 413.8 MB, free: 5.191 MB / 382.1 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 178] 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: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.867e-05/3.039e-05, allocations: 5.016 kB / 0.6186 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002911/0.002941, allocations: 1.688 MB / 0.6202 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002513/0.005454, allocations: 1.726 MB / 0.6219 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.00552, allocations: 3.938 kB / 0.6219 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.005775, allocations: 47.64 kB / 0.6219 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.006127, allocations: 107.3 kB / 0.6221 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.006344, allocations: 95.58 kB / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.006576, allocations: 139.5 kB / 0.6223 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.006625, allocations: 13.62 kB / 0.6223 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.006833, allocations: 79.69 kB / 0.6224 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007366/0.007569, allocations: 47.88 kB / 0.6224 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.007596, allocations: 8 kB / 0.6224 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.007779, allocations: 111.8 kB / 0.6225 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.007857, allocations: 27.86 kB / 0.6225 GB, free: 468 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.717e-05/0.007914, allocations: 31.91 kB / 0.6226 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003323/0.008246, allocations: 215.3 kB / 0.6228 GB, free: 220 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.008249, allocations: 0 / 0.6228 GB, free: 220 kB / 0.5294 GB Notification: Performance of FrontEnd: time 8.82e-07/0.00825, allocations: 0 / 0.6228 GB, free: 220 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.00826, allocations: 4 kB / 0.6228 GB, free: 216 kB / 0.5294 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.000686/0.008946, allocations: 397.1 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.008981, allocations: 8.031 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.009142, allocations: 20.88 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.009424, allocations: 166.3 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.00944, allocations: 4.375 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.009457, allocations: 4.375 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.009717, allocations: 131.3 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.00973, allocations: 7.922 kB / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.009742, allocations: 0 / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.009746, allocations: 0 / 0.6235 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.009936, allocations: 55.89 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002138/0.01015, allocations: 159 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.01044, allocations: 115.8 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.01059, allocations: 54.61 kB / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.0106, allocations: 0 / 0.6239 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.01083, allocations: 109.9 kB / 0.624 GB, free: 14.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.01083, allocations: 0 / 0.624 GB, free: 14.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005237/0.01135, allocations: 181.6 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.191e-05/0.01145, allocations: 140.5 kB / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.0117, allocations: 196.7 kB / 0.6245 GB, free: 14.28 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.847e-05/0.01173, allocations: 33.7 kB / 0.6245 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/0.0118, allocations: 104.1 kB / 0.6246 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.01183, allocations: 19.86 kB / 0.6246 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.01189, allocations: 25.7 kB / 0.6246 GB, free: 14.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.01209, allocations: 326.8 kB / 0.6249 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.01221, allocations: 35.97 kB / 0.625 GB, free: 13.72 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.01236, allocations: 85.97 kB / 0.6251 GB, free: 13.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.01261, allocations: 107.3 kB / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01261, allocations: 0 / 0.6252 GB, free: 13.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003368/0.01295, allocations: 141.4 kB / 0.6253 GB, free: 13.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01296, allocations: 4.094 kB / 0.6253 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01297, allocations: 7.938 kB / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01299, allocations: 4 kB / 0.6253 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.01311, allocations: 24.28 kB / 0.6253 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01312, allocations: 0 / 0.6253 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/0.0132, allocations: 19.94 kB / 0.6254 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.01321, allocations: 0 / 0.6254 GB, free: 13.29 MB / 0.545 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 0.0001241/0.01334, allocations: 131.7 kB / 0.6255 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.01337, allocations: 15.84 kB / 0.6255 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002796/0.01365, allocations: 131 kB / 0.6256 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.01365, allocations: 3.984 kB / 0.6256 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01366, allocations: 0 / 0.6256 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.01366, allocations: 4 kB / 0.6256 GB, free: 13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.01383, allocations: 145.2 kB / 0.6258 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01384, allocations: 4 kB / 0.6258 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.01392, allocations: 15.98 kB / 0.6258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01392, allocations: 0 / 0.6258 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.01393, allocations: 4 kB / 0.6258 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.01394, allocations: 3.938 kB / 0.6258 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.01394, allocations: 3.938 kB / 0.6258 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.0143, allocations: 182.8 kB / 0.626 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.01434, allocations: 19.83 kB / 0.626 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.01437, allocations: 8 kB / 0.626 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.32e-05/0.01445, allocations: 11.92 kB / 0.626 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.0145, allocations: 15.97 kB / 0.626 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.01452, allocations: 4 kB / 0.626 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000154/0.01467, allocations: 153.1 kB / 0.6262 GB, free: 12.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01467, allocations: 0 / 0.6262 GB, free: 12.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002718/0.01495, allocations: 55.86 kB / 0.6262 GB, free: 12.33 MB / 0.545 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.001799/0.01675, allocations: 0.5255 MB / 0.6267 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.01705, allocations: 87.89 kB / 0.6268 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01705, allocations: 0 / 0.6268 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.0172, allocations: 51.89 kB / 0.6269 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.01748, allocations: 38.91 kB / 0.6269 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004973/0.01798, allocations: 266.7 kB / 0.6272 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.258e-05/0.01807, allocations: 101.2 kB / 0.6273 GB, free: 11.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.243e-05/0.01814, allocations: 25.11 kB / 0.6273 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.0182, allocations: 24.48 kB / 0.6273 GB, free: 11.43 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.0182, allocations: 3.938 kB / 0.6273 GB, free: 11.42 MB / 0.545 GB Notification: Performance of Templates: time 0.006189/0.02439, allocations: 2.623 MB / 0.6299 GB, free: 8.867 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.750879924744368] Failed to read output from testmodel.py, exit status != 0: 0.03286878392100334 0.045990712 0.034842242 Calling exit ...