Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.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.000702/0.000702, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008876/0.00159, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006998/0.0006998, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000852/0.001552, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9493/0.9493, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09768/1.047, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.7708/0.7708, allocations: 155.3 MB / 399.2 MB, free: 15.93 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3096/1.08, allocations: 49.13 MB / 448.4 MB, free: 6.043 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 449.7 MB, free: 4.766 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.777e-05, allocations: 2.312 kB / 449.7 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002187/0.002204, allocations: 1.706 MB / 451.4 MB, free: 3.078 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.003027, allocations: 0.6834 MB / 452.1 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.003094, allocations: 4.688 kB / 452.1 MB, free: 2.398 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.003195, allocations: 24.7 kB / 452.1 MB, free: 2.375 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.003328, allocations: 43.61 kB / 452.1 MB, free: 2.34 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.003655, allocations: 124.3 kB / 452.3 MB, free: 2.219 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.003892, allocations: 184.4 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/0.003983, allocations: 14.84 kB / 452.5 MB, free: 2.031 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.004234, allocations: 144.3 kB / 452.6 MB, free: 1.891 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.697e-05/0.004331, allocations: 67.86 kB / 452.7 MB, free: 1.824 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.004358, allocations: 13.66 kB / 452.7 MB, free: 1.812 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.004446, allocations: 35.92 kB / 452.7 MB, free: 1.777 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.004511, allocations: 23.92 kB / 452.7 MB, free: 1.754 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.004566, allocations: 43.86 kB / 452.8 MB, free: 1.711 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.004763, allocations: 133.6 kB / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.735e-05/0.00478, allocations: 0 / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004781, allocations: 0 / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.786e-05/0.004799, allocations: 0 / 452.9 MB, free: 1.582 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000583/0.005382, allocations: 492.7 kB / 453.4 MB, free: 1.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.005415, allocations: 10.16 kB / 453.4 MB, free: 1.047 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.005598, allocations: 106 kB / 453.5 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.005807, allocations: 175.2 kB / 453.7 MB, free: 0.7305 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.005822, allocations: 9.031 kB / 453.7 MB, free: 0.7227 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.005838, allocations: 12.38 kB / 453.7 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.006008, allocations: 158.9 kB / 453.9 MB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.006016, allocations: 4.125 kB / 453.9 MB, free: 0.5312 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.006026, allocations: 5.219 kB / 453.9 MB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.006033, allocations: 3.938 kB / 453.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.006097, allocations: 91.94 kB / 454 MB, free: 432 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.006443, allocations: 241.9 kB / 454.2 MB, free: 176 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.006548, allocations: 110 kB / 454.3 MB, free: 44 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.165e-05/0.00662, allocations: 93.31 kB / 454.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.006641, allocations: 2.25 kB / 454.4 MB, free: 15.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.006785, allocations: 210.1 kB / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.006787, allocations: 0 / 454.6 MB, free: 15.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002604/0.007047, allocations: 323.7 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/0.007109, allocations: 162.2 kB / 455.1 MB, free: 15.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.007211, allocations: 176.3 kB / 455.2 MB, free: 14.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.007229, allocations: 29.7 kB / 455.3 MB, free: 14.92 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.007269, allocations: 97.34 kB / 455.4 MB, free: 14.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/0.007291, allocations: 31.73 kB / 455.4 MB, free: 14.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.00734, allocations: 41.69 kB / 455.4 MB, free: 14.74 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.007426, allocations: 331.7 kB / 455.8 MB, free: 14.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.291e-05/0.007498, allocations: 133.6 kB / 455.9 MB, free: 14.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.007592, allocations: 190.8 kB / 456.1 MB, free: 14.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.00775, allocations: 272.1 kB / 456.3 MB, free: 13.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.007754, allocations: 4 kB / 456.3 MB, free: 13.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002295/0.007983, allocations: 358.6 kB / 456.7 MB, free: 13.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.723e-05/0.008051, allocations: 118.7 kB / 456.8 MB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.008057, allocations: 8.5 kB / 456.8 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.008067, allocations: 1.375 kB / 456.8 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.008155, allocations: 27.92 kB / 456.9 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.008159, allocations: 80 / 456.9 MB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.008208, allocations: 11.94 kB / 456.9 MB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.008222, allocations: 13.05 kB / 456.9 MB, free: 13.08 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (combiTimeTableWriter.str,$PRE.combiTimeTableWriter.str,csvWriter.str,$PRE.csvWriter.str,combiTimeTableWriter.sampleTrigger,$whenCondition2,csvWriter.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 4 * 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 9.927e-05/0.008321, allocations: 192.8 kB / 457.1 MB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.008342, allocations: 16.7 kB / 457.1 MB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.008372, allocations: 25.39 kB / 457.1 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.008375, allocations: 4.906 kB / 457.1 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.008377, allocations: 0 / 457.1 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.00838, allocations: 0.5938 kB / 457.1 MB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.008651, allocations: 410.8 kB / 457.5 MB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.008653, allocations: 4 kB / 457.5 MB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.008695, allocations: 13.83 kB / 457.5 MB, free: 12.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.008708, allocations: 11.89 kB / 457.5 MB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.00871, allocations: 0.7812 kB / 457.5 MB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.008722, allocations: 7.984 kB / 457.5 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.008724, allocations: 1.438 kB / 457.6 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008725, allocations: 0 / 457.6 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.008922, allocations: 338.2 kB / 457.9 MB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.008946, allocations: 7.938 kB / 457.9 MB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.372e-05/0.008999, allocations: 12.83 kB / 457.9 MB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.00903, allocations: 7.984 kB / 457.9 MB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.00904, allocations: 4.656 kB / 457.9 MB, free: 11.93 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.917e-05/0.009079, allocations: 48.19 kB / 458 MB, free: 11.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009079, allocations: 0.9062 kB / 458 MB, free: 11.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001726/0.009251, allocations: 39.89 kB / 458 MB, free: 11.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,combiTimeTableWriter.str,combiTimeTableWriter.sampleTrigger,csvWriter.str,csvWriter.sampleTrigger) * Number of discrete states: 4 (combiTimeTableWriter.str,$whenCondition2,csvWriter.str,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 Backend phase and start with SimCode phase: time 0.0001811/0.009433, allocations: 112 kB / 458.1 MB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.009703, allocations: 478.2 kB / 458.6 MB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.009713, allocations: 4 kB / 458.6 MB, free: 11.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.009818, allocations: 223.6 kB / 458.8 MB, free: 10.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.009996, allocations: 32.78 kB / 458.8 MB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008373/0.01083, allocations: 345.6 kB / 459.2 MB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.828e-05/0.01088, allocations: 75.19 kB / 459.2 MB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.526e-05/0.01092, allocations: 5.906 kB / 459.2 MB, free: 10.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.01104, allocations: 99.89 kB / 459.3 MB, free: 10.32 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01104, allocations: 1.031 kB / 459.3 MB, free: 10.32 MB / 442.7 MB Notification: Performance of Templates: time 0.004349/0.01539, allocations: 2.349 MB / 461.7 MB, free: 8.211 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6201614886522293]