Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009631/0.0009631, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.683/0.683, allocations: 130.5 MB / 143.8 MB, free: 13.59 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.3 MB / 396.8 MB, free: 9.176 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008663/0.0008664, allocations: 101.1 kB / 479 MB, free: 10.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.147e-05, allocations: 2.75 kB / 0.5551 GB, free: 86.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1711, allocations: 81.58 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6668/0.838, allocations: 113.1 MB / 0.7452 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.8383, allocations: 80.48 kB / 0.7453 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01227/0.8505, allocations: 5.072 MB / 0.7502 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8506, allocations: 4 kB / 0.7502 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.185e-05/0.8506, allocations: 3.844 kB / 0.7502 GB, free: 27.57 MB / 0.5105 GB 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.0005374/0.8511, allocations: 0.5072 MB / 0.7507 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.8512, allocations: 7.781 kB / 0.7507 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.872e-05/0.8513, allocations: 19.44 kB / 0.7508 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.8516, allocations: 242.7 kB / 0.751 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.8516, allocations: 3.938 kB / 0.751 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.8516, allocations: 17.56 kB / 0.751 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.8519, allocations: 102.7 kB / 0.7511 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.8519, allocations: 0 / 0.7511 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.8519, allocations: 3.812 kB / 0.7511 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.8519, allocations: 0 / 0.7511 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.852, allocations: 56.36 kB / 0.7512 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.8527, allocations: 426.5 kB / 0.7516 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.8528, allocations: 85.38 kB / 0.7517 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.187e-05/0.8529, allocations: 64.55 kB / 0.7517 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.8529, allocations: 0 / 0.7517 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.8531, allocations: 174.5 kB / 0.7519 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.8532, allocations: 0 / 0.7519 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0004538/0.8536, allocations: 275.7 kB / 0.7522 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.8537, allocations: 168.6 kB / 0.7523 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.8539, allocations: 159.5 kB / 0.7525 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.8539, allocations: 33.27 kB / 0.7525 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.292e-05/0.854, allocations: 110.6 kB / 0.7526 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.854, allocations: 22.75 kB / 0.7526 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.854, allocations: 7.375 kB / 0.7526 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8542, allocations: 327.3 kB / 0.7529 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.8543, allocations: 42.44 kB / 0.753 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.016e-05/0.8544, allocations: 93.41 kB / 0.7531 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.8545, allocations: 165.2 kB / 0.7532 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8545, allocations: 0 / 0.7532 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003928/0.8549, allocations: 332.1 kB / 0.7535 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.855, allocations: 120.9 kB / 0.7537 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.855, allocations: 3.812 kB / 0.7537 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.855, allocations: 3.906 kB / 0.7537 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.8551, allocations: 17.08 kB / 0.7537 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.8552, allocations: 7.766 kB / 0.7537 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.8553, allocations: 21.05 kB / 0.7537 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.8553, allocations: 7.625 kB / 0.7537 GB, free: 25.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.combiTimeTableWriter.str,combiTimeTableWriter.str,$PRE.csvWriter.str,csvWriter.str,$whenCondition2,combiTimeTableWriter.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001392/0.8554, allocations: 189.7 kB / 0.7539 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.8555, allocations: 15.59 kB / 0.7539 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.8555, allocations: 17.67 kB / 0.7539 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8555, allocations: 0 / 0.7539 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.8555, allocations: 0 / 0.7539 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.8555, allocations: 3.953 kB / 0.7539 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.8561, allocations: 0.5604 MB / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.8561, allocations: 0 / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.8562, allocations: 18.31 kB / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8562, allocations: 0 / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.8562, allocations: 13.02 kB / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8563, allocations: 0 / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.8563, allocations: 3.953 kB / 0.7545 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.8567, allocations: 386.2 kB / 0.7549 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.8567, allocations: 91.47 kB / 0.755 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.8568, allocations: 3.906 kB / 0.755 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.8569, allocations: 15.06 kB / 0.755 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.8569, allocations: 10.78 kB / 0.755 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.857, allocations: 10.31 kB / 0.755 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.37e-05/0.8571, allocations: 130.7 kB / 0.7551 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8571, allocations: 0 / 0.7551 GB, free: 24.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003574/0.8574, allocations: 34.59 kB / 0.7552 GB, free: 24.05 MB / 0.5105 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002832/0.8577, allocations: 137.5 kB / 0.7553 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003898/0.8581, allocations: 341.9 kB / 0.7556 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8581, allocations: 0 / 0.7556 GB, free: 23.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.8583, allocations: 195.5 kB / 0.7558 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.8585, allocations: 13.84 kB / 0.7558 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.859, allocations: 213.7 kB / 0.756 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.8593, allocations: 0.7072 MB / 0.7567 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.001e-05/0.8593, allocations: 19.38 kB / 0.7567 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.8594, allocations: 17.88 kB / 0.7568 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/0.8594, allocations: 4 kB / 0.7568 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.004393/0.8638, allocations: 1.886 MB / 0.7586 GB, free: 22.44 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)