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.000952/0.000952, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001102/0.001102, allocations: 181 kB / 23.36 MB, free: 1.133 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.068/1.068, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7863/0.7863, allocations: 154.9 MB / 415.1 MB, free: 256 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.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.563e-06/1.563e-06, allocations: 0 / 480.3 MB, free: 6.547 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.861e-05, allocations: 5.922 kB / 480.3 MB, free: 6.543 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002168/0.002197, allocations: 1.665 MB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.002937, allocations: 0.6732 MB / 482.7 MB, free: 4.238 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.003007, allocations: 7.938 kB / 482.7 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.003142, allocations: 20.56 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.003312, allocations: 47.39 kB / 482.8 MB, free: 4.172 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.003574, allocations: 124.5 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.003773, allocations: 190.9 kB / 483.1 MB, free: 3.875 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.003857, allocations: 26.2 kB / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.004038, allocations: 119.8 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.967e-05/0.004128, allocations: 64.52 kB / 483.3 MB, free: 3.664 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.004152, allocations: 16.66 kB / 483.3 MB, free: 3.648 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.761e-05/0.004209, allocations: 35.91 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.00427, allocations: 29.08 kB / 483.4 MB, free: 3.586 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.004322, allocations: 59.89 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004483, allocations: 147.5 kB / 483.6 MB, free: 3.383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.004485, allocations: 1.062 kB / 483.6 MB, free: 3.383 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004486, allocations: 0 / 483.6 MB, free: 3.383 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.004489, allocations: 0 / 483.6 MB, free: 3.383 MB / 442.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.0006361/0.005125, allocations: 471.3 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.005154, allocations: 11.97 kB / 484 MB, free: 2.867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.005271, allocations: 29.41 kB / 484.1 MB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.005442, allocations: 175.2 kB / 484.2 MB, free: 2.645 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.005453, allocations: 8.359 kB / 484.2 MB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.005474, allocations: 16.38 kB / 484.3 MB, free: 2.621 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.005618, allocations: 163.4 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.005624, allocations: 192 / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.005642, allocations: 4.375 kB / 484.4 MB, free: 2.438 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.005647, allocations: 3.938 kB / 484.4 MB, free: 2.434 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.399e-05/0.005701, allocations: 84.03 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.005986, allocations: 248.2 kB / 484.7 MB, free: 2.082 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.147e-05/0.006068, allocations: 97.95 kB / 484.8 MB, free: 1.965 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.006121, allocations: 88.98 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.006136, allocations: 4 kB / 484.9 MB, free: 1.863 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/0.006257, allocations: 214.3 kB / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.006259, allocations: 0 / 485.1 MB, free: 1.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002338/0.006493, allocations: 319.7 kB / 485.5 MB, free: 1.262 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.006548, allocations: 170.2 kB / 485.6 MB, free: 1.059 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.192e-05/0.00664, allocations: 168 kB / 485.8 MB, free: 0.8789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.006655, allocations: 33.7 kB / 485.8 MB, free: 0.8398 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.006691, allocations: 101.2 kB / 485.9 MB, free: 0.7344 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.006711, allocations: 31.73 kB / 485.9 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.006754, allocations: 33.7 kB / 486 MB, free: 0.6641 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.006822, allocations: 331.7 kB / 486.3 MB, free: 340 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.006884, allocations: 133.6 kB / 486.4 MB, free: 180 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.025e-05/0.006974, allocations: 189.5 kB / 486.6 MB, free: 15.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.007099, allocations: 275.9 kB / 486.9 MB, free: 15.61 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007101, allocations: 0 / 486.9 MB, free: 15.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001817/0.007282, allocations: 355.2 kB / 487.2 MB, free: 15.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.007328, allocations: 118.7 kB / 487.4 MB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.007334, allocations: 9.719 kB / 487.4 MB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.007344, allocations: 0 / 487.4 MB, free: 15.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.007403, allocations: 15.98 kB / 487.4 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.007407, allocations: 4 kB / 487.4 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.007452, allocations: 19.92 kB / 487.4 MB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.007463, allocations: 8.75 kB / 487.4 MB, free: 15.02 MB / 458.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.15e-05/0.007555, allocations: 188.9 kB / 487.6 MB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.007578, allocations: 19.98 kB / 487.6 MB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.007603, allocations: 19.44 kB / 487.6 MB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.007604, allocations: 0 / 487.6 MB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007605, allocations: 2.344 kB / 487.6 MB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007609, allocations: 3.984 kB / 487.6 MB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000234/0.007843, allocations: 401.5 kB / 488 MB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.007844, allocations: 0 / 488 MB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.007869, allocations: 11.98 kB / 488 MB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007871, allocations: 3.938 kB / 488 MB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.007882, allocations: 9.5 kB / 488.1 MB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007882, allocations: 0 / 488.1 MB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007883, allocations: 0 / 488.1 MB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.008044, allocations: 334.2 kB / 488.4 MB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.679e-06/0.008054, allocations: 13.84 kB / 488.4 MB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.008075, allocations: 7.938 kB / 488.4 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.745e-05/0.008122, allocations: 8 kB / 488.4 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.00815, allocations: 7.984 kB / 488.4 MB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.008158, allocations: 4 kB / 488.4 MB, free: 13.89 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.008191, allocations: 56.02 kB / 488.5 MB, free: 13.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008191, allocations: 0 / 488.5 MB, free: 13.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.008348, allocations: 44.73 kB / 488.5 MB, free: 13.8 MB / 458.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.0001484/0.008497, allocations: 111 kB / 488.6 MB, free: 13.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002417/0.008738, allocations: 474.8 kB / 489.1 MB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.008741, allocations: 4 kB / 489.1 MB, free: 13.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.008841, allocations: 223 kB / 489.3 MB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.008986, allocations: 24.67 kB / 489.3 MB, free: 12.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.009454, allocations: 331.5 kB / 489.7 MB, free: 12.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.009494, allocations: 68.41 kB / 489.7 MB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.077e-05/0.009525, allocations: 12.09 kB / 489.7 MB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.009633, allocations: 99.33 kB / 489.8 MB, free: 12.29 MB / 458.7 MB Notification: Performance of SimCode: time 5e-07/0.009634, allocations: 0 / 489.8 MB, free: 12.29 MB / 458.7 MB Notification: Performance of Templates: time 0.00381/0.01344, allocations: 2.314 MB / 492.2 MB, free: 10.21 MB / 458.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.739056030754]