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.001017/0.001017, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001058/0.001058, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.9963/0.9963, allocations: 177.1 MB / 203.8 MB, free: 5.191 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-545:108: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-545:116: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.7926/0.7926, allocations: 154.6 MB / 414.8 MB, free: 0.6289 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: 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 2.093e-06/2.093e-06, allocations: 0 / 0.5203 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.06e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.00369/0.00372, allocations: 1.717 MB / 0.522 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.005705, allocations: 1.781 MB / 0.5237 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.052e-05/0.005795, allocations: 1.031 kB / 0.5237 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.00607, allocations: 35.7 kB / 0.5238 GB, free: 15.01 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.006355, allocations: 109.2 kB / 0.5239 GB, free: 14.9 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.006508, allocations: 103.5 kB / 0.524 GB, free: 14.8 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.006678, allocations: 143.5 kB / 0.5241 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 6.152e-05/0.00674, allocations: 11.31 kB / 0.5241 GB, free: 14.65 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.006901, allocations: 87.73 kB / 0.5242 GB, free: 14.56 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.007016, allocations: 54.16 kB / 0.5243 GB, free: 14.51 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.007032, allocations: 4 kB / 0.5243 GB, free: 14.51 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.007158, allocations: 103.9 kB / 0.5244 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.007206, allocations: 28.67 kB / 0.5244 GB, free: 14.38 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.00725, allocations: 31.84 kB / 0.5244 GB, free: 14.35 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.007485, allocations: 188.7 kB / 0.5246 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.007488, allocations: 0 / 0.5246 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.222e-06/0.007489, allocations: 0 / 0.5246 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.007494, allocations: 1.281 kB / 0.5246 GB, free: 14.16 MB / 0.4949 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.0005142/0.008008, allocations: 499.5 kB / 0.5251 GB, free: 13.64 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.008044, allocations: 8.031 kB / 0.5251 GB, free: 13.63 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.008174, allocations: 30.8 kB / 0.5251 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.00839, allocations: 165.2 kB / 0.5253 GB, free: 13.41 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.008407, allocations: 384 / 0.5253 GB, free: 13.41 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.008422, allocations: 8.375 kB / 0.5253 GB, free: 13.41 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.008602, allocations: 137.4 kB / 0.5254 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.008611, allocations: 3.938 kB / 0.5254 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.008624, allocations: 0 / 0.5254 GB, free: 13.24 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.008633, allocations: 3.938 kB / 0.5254 GB, free: 13.23 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.353e-05/0.008697, allocations: 27.91 kB / 0.5254 GB, free: 13.21 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.008878, allocations: 164.7 kB / 0.5256 GB, free: 13 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.009029, allocations: 114.2 kB / 0.5257 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.009072, allocations: 35.97 kB / 0.5257 GB, free: 12.81 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.009088, allocations: 7.938 kB / 0.5257 GB, free: 12.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.00921, allocations: 109.2 kB / 0.5259 GB, free: 12.67 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=8): time 1.382e-06/0.009211, allocations: 0 / 0.5259 GB, free: 12.67 MB / 0.4949 GB Notification: Performance of matching and sorting (n=8): time 0.0002341/0.009445, allocations: 118.4 kB / 0.526 GB, free: 12.55 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.009499, allocations: 132.5 kB / 0.5261 GB, free: 12.39 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.009654, allocations: 242.2 kB / 0.5263 GB, free: 12.14 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.009668, allocations: 29.7 kB / 0.5264 GB, free: 12.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 5.565e-05/0.009724, allocations: 154.9 kB / 0.5265 GB, free: 11.95 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.009756, allocations: 23.8 kB / 0.5265 GB, free: 11.92 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.00979, allocations: 32.39 kB / 0.5266 GB, free: 11.88 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.009898, allocations: 0.4962 MB / 0.527 GB, free: 11.38 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.838e-05/0.009926, allocations: 12.67 kB / 0.527 GB, free: 11.36 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.00998, allocations: 88.06 kB / 0.5271 GB, free: 11.25 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.277e-05/0.01005, allocations: 67.97 kB / 0.5272 GB, free: 11.17 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.01005, allocations: 0.8125 kB / 0.5272 GB, free: 11.17 MB / 0.4949 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001209/0.01018, allocations: 106.5 kB / 0.5273 GB, free: 11.06 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.01019, allocations: 7.188 kB / 0.5273 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01019, allocations: 8 kB / 0.5273 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01021, allocations: 4 kB / 0.5273 GB, free: 11.04 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.01029, allocations: 19.98 kB / 0.5273 GB, free: 11.02 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.0103, allocations: 3.984 kB / 0.5273 GB, free: 11.02 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.01033, allocations: 4 kB / 0.5273 GB, free: 11.02 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.01034, allocations: 4 kB / 0.5273 GB, free: 11.01 MB / 0.4949 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.135e-05/0.01042, allocations: 169.4 kB / 0.5275 GB, free: 10.84 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.01045, allocations: 22.94 kB / 0.5275 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.01061, allocations: 107 kB / 0.5276 GB, free: 10.71 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01061, allocations: 4 kB / 0.5276 GB, free: 10.7 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01061, allocations: 0 / 0.5276 GB, free: 10.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01062, allocations: 0 / 0.5276 GB, free: 10.7 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.01074, allocations: 160.5 kB / 0.5278 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.01074, allocations: 4 kB / 0.5278 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.01078, allocations: 17.44 kB / 0.5278 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.01078, allocations: 3.938 kB / 0.5278 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.01079, allocations: 3.984 kB / 0.5278 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.0108, allocations: 7.938 kB / 0.5278 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.0108, allocations: 0.5 kB / 0.5278 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.01095, allocations: 162.5 kB / 0.528 GB, free: 10.29 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 1.727e-05/0.01096, allocations: 15.91 kB / 0.528 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.01098, allocations: 4 kB / 0.528 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.464e-05/0.01102, allocations: 11.92 kB / 0.528 GB, free: 10.26 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.01106, allocations: 7.984 kB / 0.528 GB, free: 10.25 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.01108, allocations: 8 kB / 0.528 GB, free: 10.24 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 8.86e-05/0.01116, allocations: 176.2 kB / 0.5282 GB, free: 10.07 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7e-08/0.01116, allocations: 4 kB / 0.5282 GB, free: 10.07 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0001873/0.01135, allocations: 54.3 kB / 0.5283 GB, free: 10.02 MB / 0.4949 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.001108/0.01246, allocations: 0.4978 MB / 0.5287 GB, free: 9.746 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0001396/0.0126, allocations: 56.75 kB / 0.5288 GB, free: 9.688 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.0126, allocations: 4 kB / 0.5288 GB, free: 9.684 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 4.861e-05/0.01265, allocations: 36.98 kB / 0.5288 GB, free: 9.645 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01285, allocations: 39.53 kB / 0.5289 GB, free: 9.609 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005758/0.01342, allocations: 256.8 kB / 0.5291 GB, free: 9.32 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.872e-05/0.01347, allocations: 73.77 kB / 0.5292 GB, free: 9.23 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 4.888e-05/0.01352, allocations: 16.97 kB / 0.5292 GB, free: 9.215 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.01356, allocations: 24.42 kB / 0.5292 GB, free: 9.191 MB / 0.4949 GB Notification: Performance of SimCode: time 7.11e-07/0.01356, allocations: 0 / 0.5292 GB, free: 9.191 MB / 0.4949 GB Notification: Performance of Templates: time 0.004288/0.01785, allocations: 2.659 MB / 0.5318 GB, free: 6.742 MB / 0.4949 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9482381909620017]