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.0009304/0.0009304, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009854/0.0009854, allocations: 177 kB / 23.36 MB, free: 1.129 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.153/1.153, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.84/0.84, allocations: 154.9 MB / 415.1 MB, free: 228 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.683e-06/1.683e-06, allocations: 0 / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.895e-05, allocations: 2.312 kB / 480.4 MB, free: 6.504 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002397/0.002416, allocations: 1.708 MB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.003355, allocations: 0.674 MB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.003436, allocations: 3.938 kB / 482.8 MB, free: 4.152 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.003599, allocations: 24.33 kB / 482.8 MB, free: 4.129 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.003794, allocations: 53.91 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.004119, allocations: 116.2 kB / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.004351, allocations: 200.4 kB / 483.2 MB, free: 3.785 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.004449, allocations: 18.28 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002167/0.004666, allocations: 115.8 kB / 483.3 MB, free: 3.648 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.004768, allocations: 71.78 kB / 483.4 MB, free: 3.578 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.004795, allocations: 12.59 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.106e-05/0.004877, allocations: 39.92 kB / 483.4 MB, free: 3.527 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.004943, allocations: 28.78 kB / 483.4 MB, free: 3.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.004998, allocations: 51.89 kB / 483.5 MB, free: 3.449 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.00519, allocations: 152.4 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.005191, allocations: 0 / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005192, allocations: 0.625 kB / 483.6 MB, free: 3.301 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.005196, allocations: 4 kB / 483.6 MB, free: 3.297 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.0004822/0.005679, allocations: 466.7 kB / 484.1 MB, free: 2.797 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.005716, allocations: 12.66 kB / 484.1 MB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.005849, allocations: 33.53 kB / 484.1 MB, free: 2.754 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.006069, allocations: 171.1 kB / 484.3 MB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.006082, allocations: 8.875 kB / 484.3 MB, free: 2.555 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.0061, allocations: 16.94 kB / 484.3 MB, free: 2.539 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.006288, allocations: 163 kB / 484.5 MB, free: 2.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.006297, allocations: 192 / 484.5 MB, free: 2.359 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.006308, allocations: 4.375 kB / 484.5 MB, free: 2.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.006316, allocations: 9.719 kB / 484.5 MB, free: 2.348 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.23e-05/0.006378, allocations: 77.41 kB / 484.6 MB, free: 2.262 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.00673, allocations: 246.9 kB / 484.8 MB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.397e-05/0.006824, allocations: 102.6 kB / 484.9 MB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.006888, allocations: 93.23 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.006904, allocations: 4 kB / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.007043, allocations: 210.3 kB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.007045, allocations: 0.75 kB / 485.2 MB, free: 1.531 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002833/0.007328, allocations: 312.7 kB / 485.5 MB, free: 1.184 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/0.007393, allocations: 170.1 kB / 485.7 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.007498, allocations: 172 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.007514, allocations: 30.8 kB / 485.9 MB, free: 0.7617 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.007557, allocations: 100.3 kB / 486 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.007578, allocations: 31.67 kB / 486 MB, free: 0.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.007633, allocations: 42.28 kB / 486.1 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.007719, allocations: 331.7 kB / 486.4 MB, free: 252 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.007794, allocations: 133.6 kB / 486.5 MB, free: 92 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.0079, allocations: 181.6 kB / 486.7 MB, free: 15.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.008053, allocations: 272.5 kB / 487 MB, free: 15.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.008056, allocations: 4.75 kB / 487 MB, free: 15.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002286/0.008285, allocations: 350.7 kB / 487.3 MB, free: 15.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.008343, allocations: 126.7 kB / 487.4 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.008349, allocations: 0 / 487.4 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.008362, allocations: 4.906 kB / 487.4 MB, free: 14.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.00843, allocations: 15.98 kB / 487.5 MB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.008434, allocations: 4.875 kB / 487.5 MB, free: 14.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.008486, allocations: 15.94 kB / 487.5 MB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.008501, allocations: 9.109 kB / 487.5 MB, free: 14.94 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 0.0001078/0.008609, allocations: 192 kB / 487.7 MB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.008634, allocations: 24.73 kB / 487.7 MB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.008662, allocations: 21.34 kB / 487.7 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.008664, allocations: 0.5 kB / 487.7 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.008666, allocations: 0 / 487.7 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008669, allocations: 0.5312 kB / 487.7 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.008945, allocations: 406.2 kB / 488.1 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008946, allocations: 0 / 488.1 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.008976, allocations: 12.7 kB / 488.1 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.008979, allocations: 3.938 kB / 488.1 MB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.00899, allocations: 4.938 kB / 488.1 MB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.008991, allocations: 0 / 488.1 MB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.008993, allocations: 1.375 kB / 488.1 MB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.009189, allocations: 334.2 kB / 488.5 MB, free: 13.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.0092, allocations: 11.95 kB / 488.5 MB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.009224, allocations: 12.48 kB / 488.5 MB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.156e-05/0.009275, allocations: 8 kB / 488.5 MB, free: 13.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.009311, allocations: 12.95 kB / 488.5 MB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.009321, allocations: 4 kB / 488.5 MB, free: 13.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.009357, allocations: 48.47 kB / 488.6 MB, free: 13.76 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009357, allocations: 0 / 488.6 MB, free: 13.76 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.009534, allocations: 47.83 kB / 488.6 MB, free: 13.71 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.0001585/0.009693, allocations: 121.9 kB / 488.7 MB, free: 13.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.009976, allocations: 473.8 kB / 489.2 MB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.009981, allocations: 4 kB / 489.2 MB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.01009, allocations: 219 kB / 489.4 MB, free: 12.79 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.01026, allocations: 26.77 kB / 489.4 MB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.0108, allocations: 332.2 kB / 489.8 MB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.094e-05/0.01084, allocations: 67.34 kB / 489.8 MB, free: 12.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.488e-05/0.01087, allocations: 11.11 kB / 489.8 MB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.01099, allocations: 99.86 kB / 489.9 MB, free: 12.21 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/0.011, allocations: 2.344 kB / 489.9 MB, free: 12.21 MB / 458.7 MB Notification: Performance of Templates: time 0.004574/0.01557, allocations: 2.311 MB / 492.2 MB, free: 10.12 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7692450475879014]