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.0009996/0.0009996, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 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.001017/0.001017, allocations: 169 kB / 23.02 MB, free: 1.539 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 1.01/1.01, allocations: 177.1 MB / 203.4 MB, free: 5.613 MB / 186.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-535:34: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-535:42: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.7889/0.7889, allocations: 154.9 MB / 414.8 MB, free: 364 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.222e-05, allocations: 8.609 kB / 0.5207 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002427/0.002459, allocations: 1.734 MB / 0.5224 GB, free: 104 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.00438, allocations: 1.77 MB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.004482, allocations: 7.938 kB / 0.5241 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.004813, allocations: 40.48 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.00522, allocations: 116.8 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.005463, allocations: 95.58 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.005654, allocations: 139.5 kB / 0.5245 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.005701, allocations: 10.52 kB / 0.5245 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.00596, allocations: 83.8 kB / 0.5246 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.006118, allocations: 45.11 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.00614, allocations: 8 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.006318, allocations: 115.8 kB / 0.5247 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.006381, allocations: 27.84 kB / 0.5248 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.743e-05/0.006429, allocations: 29.2 kB / 0.5248 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.006702, allocations: 191.3 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.006707, allocations: 0 / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006708, allocations: 0.8125 kB / 0.525 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.006714, allocations: 0 / 0.525 GB, free: 13.43 MB / 0.4948 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.0006066/0.00732, allocations: 496.7 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.007366, allocations: 8.031 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.00752, allocations: 28.83 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.007725, allocations: 162.6 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.007747, allocations: 4.359 kB / 0.5256 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.007761, allocations: 4.375 kB / 0.5256 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.007959, allocations: 144.1 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.007969, allocations: 5.781 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.007982, allocations: 4 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.007992, allocations: 0 / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.78e-05/0.00805, allocations: 23.91 kB / 0.5258 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.008227, allocations: 164.1 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.008383, allocations: 111.3 kB / 0.5261 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.008427, allocations: 35.12 kB / 0.5261 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.498e-05/0.008442, allocations: 4 kB / 0.5261 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/0.008569, allocations: 105.5 kB / 0.5262 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.008571, allocations: 7.984 kB / 0.5262 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002615/0.008833, allocations: 122.4 kB / 0.5263 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.008887, allocations: 132.5 kB / 0.5265 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.009039, allocations: 244.6 kB / 0.5267 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.009056, allocations: 33.64 kB / 0.5267 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.009111, allocations: 154.9 kB / 0.5269 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.009146, allocations: 24.3 kB / 0.5269 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.009185, allocations: 36.17 kB / 0.5269 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.00931, allocations: 0.4923 MB / 0.5274 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.009345, allocations: 13.2 kB / 0.5274 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.009401, allocations: 84.14 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.689e-05/0.009488, allocations: 67.67 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.00949, allocations: 1.5 kB / 0.5276 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001348/0.009625, allocations: 101.5 kB / 0.5277 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.009642, allocations: 4 kB / 0.5277 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.00965, allocations: 10.38 kB / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.009665, allocations: 0 / 0.5277 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.009763, allocations: 27.86 kB / 0.5277 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.009769, allocations: 0 / 0.5277 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.009809, allocations: 4 kB / 0.5277 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.009818, allocations: 4 kB / 0.5277 GB, free: 10.29 MB / 0.4948 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.993e-05/0.009908, allocations: 169.4 kB / 0.5279 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.009934, allocations: 19.91 kB / 0.5279 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001701/0.0101, allocations: 115 kB / 0.528 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.01011, allocations: 4 kB / 0.528 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01011, allocations: 0 / 0.528 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01012, allocations: 0 / 0.528 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.01024, allocations: 157.3 kB / 0.5282 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01025, allocations: 0 / 0.5282 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.355e-05/0.01029, allocations: 13.47 kB / 0.5282 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01029, allocations: 4 kB / 0.5282 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.0103, allocations: 11.98 kB / 0.5282 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01031, allocations: 10.75 kB / 0.5282 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01031, allocations: 3.938 kB / 0.5282 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.01045, allocations: 155.6 kB / 0.5283 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.01047, allocations: 7.953 kB / 0.5284 GB, free: 9.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.01049, allocations: 8 kB / 0.5284 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.01053, allocations: 11.92 kB / 0.5284 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.01057, allocations: 11.98 kB / 0.5284 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01058, allocations: 6.75 kB / 0.5284 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.34e-05/0.01067, allocations: 172 kB / 0.5286 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01067, allocations: 0 / 0.5286 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001945/0.01086, allocations: 59.81 kB / 0.5286 GB, free: 9.293 MB / 0.4948 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.001064/0.01193, allocations: 0.4982 MB / 0.5291 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.01208, allocations: 47.61 kB / 0.5291 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.01209, allocations: 7.562 kB / 0.5291 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.962e-05/0.01215, allocations: 43.58 kB / 0.5292 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.01235, allocations: 32.11 kB / 0.5292 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006078/0.01296, allocations: 263.3 kB / 0.5295 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.776e-05/0.013, allocations: 74.8 kB / 0.5295 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.01306, allocations: 21.09 kB / 0.5296 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.0131, allocations: 24.48 kB / 0.5296 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of SimCode: time 1.242e-06/0.0131, allocations: 0 / 0.5296 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of Templates: time 0.00469/0.01779, allocations: 2.894 MB / 0.5324 GB, free: 5.777 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.840263877995312]