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.000928/0.000928, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001381/0.002309, allocations: 440 kB / 10.41 MB, free: 284 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.0009174/0.0009174, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001308/0.002226, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9939/0.9939, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09144/1.085, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7781/0.7781, allocations: 155.4 MB / 399.5 MB, free: 15.79 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.2638/1.042, allocations: 49.12 MB / 448.6 MB, free: 5.902 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.262e-06/1.262e-06, allocations: 0 / 449.9 MB, free: 4.602 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.03e-05, allocations: 6.719 kB / 450 MB, free: 4.598 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002265/0.002285, allocations: 1.708 MB / 451.7 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007981/0.003084, allocations: 0.6811 MB / 452.3 MB, free: 2.234 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.301e-05/0.003147, allocations: 0 / 452.3 MB, free: 2.234 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 8.668e-05/0.003233, allocations: 23.73 kB / 452.4 MB, free: 2.211 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.00337, allocations: 47.94 kB / 452.4 MB, free: 2.172 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.003674, allocations: 121 kB / 452.5 MB, free: 2.055 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.003899, allocations: 184.1 kB / 452.7 MB, free: 1.895 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.003995, allocations: 26.22 kB / 452.7 MB, free: 1.863 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.004225, allocations: 135.7 kB / 452.9 MB, free: 1.73 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.941e-05/0.004324, allocations: 75.77 kB / 452.9 MB, free: 1.656 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.004349, allocations: 12.91 kB / 453 MB, free: 1.645 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.483e-05/0.004434, allocations: 31.94 kB / 453 MB, free: 1.613 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.737e-05/0.004501, allocations: 23.92 kB / 453 MB, free: 1.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.00456, allocations: 40.94 kB / 453 MB, free: 1.551 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.00474, allocations: 127.6 kB / 453.2 MB, free: 1.426 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/0.004753, allocations: 4.875 kB / 453.2 MB, free: 1.422 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004754, allocations: 0 / 453.2 MB, free: 1.422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.004763, allocations: 3.984 kB / 453.2 MB, free: 1.418 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.0005371/0.0053, allocations: 497.7 kB / 453.7 MB, free: 0.8867 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.005334, allocations: 8.031 kB / 453.7 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.005497, allocations: 107.3 kB / 453.8 MB, free: 0.7578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.005731, allocations: 166.2 kB / 453.9 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.005748, allocations: 12.38 kB / 454 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.005771, allocations: 14.34 kB / 454 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.005976, allocations: 162.8 kB / 454.1 MB, free: 376 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.005985, allocations: 192 / 454.1 MB, free: 376 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.006, allocations: 8.375 kB / 454.1 MB, free: 368 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006009, allocations: 3.938 kB / 454.1 MB, free: 364 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.006122, allocations: 81.12 kB / 454.2 MB, free: 272 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.006516, allocations: 253.7 kB / 454.5 MB, free: 4 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.006633, allocations: 102 kB / 454.6 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.006691, allocations: 92.78 kB / 454.7 MB, free: 15.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.00671, allocations: 5.375 kB / 454.7 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.006856, allocations: 210.3 kB / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.006857, allocations: 0 / 454.9 MB, free: 15.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002735/0.00713, allocations: 324.3 kB / 455.2 MB, free: 15.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.55e-05/0.007216, allocations: 270.1 kB / 455.4 MB, free: 14.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.007319, allocations: 176 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.007334, allocations: 25.7 kB / 455.6 MB, free: 14.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.007376, allocations: 105 kB / 455.7 MB, free: 14.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.007398, allocations: 24.66 kB / 455.8 MB, free: 14.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.007523, allocations: 49.62 kB / 455.8 MB, free: 14.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.0076, allocations: 326.8 kB / 456.1 MB, free: 14.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.092e-05/0.007681, allocations: 134.2 kB / 456.3 MB, free: 13.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.704e-05/0.007778, allocations: 192.6 kB / 456.5 MB, free: 13.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.007935, allocations: 275.6 kB / 456.7 MB, free: 13.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.00794, allocations: 7.984 kB / 456.7 MB, free: 13.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002219/0.008162, allocations: 351.1 kB / 457.1 MB, free: 12.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.008227, allocations: 122.7 kB / 457.2 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.008233, allocations: 4 kB / 457.2 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.008247, allocations: 0.625 kB / 457.2 MB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.386e-05/0.008331, allocations: 25.42 kB / 457.2 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.008335, allocations: 80 / 457.2 MB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.008386, allocations: 19.92 kB / 457.2 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.008402, allocations: 11.98 kB / 457.3 MB, free: 12.78 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 0.0001114/0.008513, allocations: 190.7 kB / 457.4 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.008536, allocations: 19.98 kB / 457.5 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.008565, allocations: 17.41 kB / 457.5 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.008568, allocations: 4 kB / 457.5 MB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.008572, allocations: 7.984 kB / 457.5 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.008577, allocations: 3.516 kB / 457.5 MB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.008868, allocations: 398.4 kB / 457.9 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.00887, allocations: 7.938 kB / 457.9 MB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.008914, allocations: 11.98 kB / 457.9 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.329e-05/0.008927, allocations: 13.08 kB / 457.9 MB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.008929, allocations: 0 / 457.9 MB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.008943, allocations: 11.97 kB / 457.9 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.008944, allocations: 0.625 kB / 457.9 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.008946, allocations: 0.5938 kB / 457.9 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.00916, allocations: 338.2 kB / 458.3 MB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.009187, allocations: 8.594 kB / 458.3 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.406e-05/0.009241, allocations: 4 kB / 458.3 MB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.009278, allocations: 12.52 kB / 458.3 MB, free: 11.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.009288, allocations: 8.547 kB / 458.3 MB, free: 11.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.25e-05/0.009331, allocations: 51.27 kB / 458.3 MB, free: 11.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009331, allocations: 0.625 kB / 458.3 MB, free: 11.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.009513, allocations: 40.7 kB / 458.4 MB, free: 11.55 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.000209/0.009722, allocations: 112.6 kB / 458.5 MB, free: 11.44 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002894/0.01001, allocations: 486.4 kB / 459 MB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.01002, allocations: 0 / 459 MB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.01031, allocations: 219.7 kB / 459.2 MB, free: 10.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.0105, allocations: 100 kB / 459.3 MB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007981/0.0113, allocations: 337.2 kB / 459.6 MB, free: 10.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.475e-05/0.01134, allocations: 83.12 kB / 459.7 MB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.539e-05/0.01138, allocations: 5.406 kB / 459.7 MB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.0115, allocations: 96.09 kB / 459.8 MB, free: 9.957 MB / 442.7 MB Notification: Performance of SimCode: time 7.41e-07/0.0115, allocations: 0 / 459.8 MB, free: 9.957 MB / 442.7 MB Notification: Performance of Templates: time 0.004295/0.01579, allocations: 2.338 MB / 462.1 MB, free: 7.852 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.626230445690453]