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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVWriter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001206/0.001206, allocations: 174.6 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-master/package.mo): time 0.7767/0.7767, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.652/1.652, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.000981/0.000981, allocations: 89.81 kB / 483.3 MB, free: 5.859 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.242e-05, allocations: 4.859 kB / 0.56 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1597, allocations: 82.3 MB / 0.6404 GB, free: 7.809 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5767/0.7364, allocations: 113.3 MB / 0.7511 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001687/0.7366, allocations: 80.94 kB / 0.7512 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01145/0.7481, allocations: 5.072 MB / 0.7561 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7481, allocations: 0 / 0.7561 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.7481, allocations: 0 / 0.7561 GB, free: 27.19 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.00047/0.7486, allocations: 0.5127 MB / 0.7566 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.7486, allocations: 15.62 kB / 0.7566 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.7487, allocations: 19.12 kB / 0.7567 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.749, allocations: 230.5 kB / 0.7569 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.749, allocations: 7.719 kB / 0.7569 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.749, allocations: 15.12 kB / 0.7569 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.7492, allocations: 101.7 kB / 0.757 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.7492, allocations: 4 kB / 0.757 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7493, allocations: 3.125 kB / 0.757 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.7493, allocations: 3.688 kB / 0.757 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.7494, allocations: 50.61 kB / 0.7571 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/0.75, allocations: 425.8 kB / 0.7575 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.7501, allocations: 78.58 kB / 0.7575 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.7502, allocations: 79.61 kB / 0.7576 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.7503, allocations: 0 / 0.7576 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.7504, allocations: 168.9 kB / 0.7578 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.7505, allocations: 0 / 0.7578 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0003966/0.7509, allocations: 271.7 kB / 0.758 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.7509, allocations: 173.8 kB / 0.7582 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.7511, allocations: 162.1 kB / 0.7584 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.7511, allocations: 33.45 kB / 0.7584 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.494e-05/0.7512, allocations: 114 kB / 0.7585 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.7512, allocations: 19 kB / 0.7585 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.7512, allocations: 3.906 kB / 0.7585 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7514, allocations: 325.5 kB / 0.7588 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.01e-05/0.7514, allocations: 39.89 kB / 0.7589 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.7516, allocations: 97.88 kB / 0.759 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.7517, allocations: 158.8 kB / 0.7591 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7517, allocations: 4 kB / 0.7591 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003892/0.7521, allocations: 333.6 kB / 0.7594 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.271e-05/0.7522, allocations: 114.5 kB / 0.7595 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7522, allocations: 3.844 kB / 0.7596 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7522, allocations: 3.906 kB / 0.7596 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.7523, allocations: 22.89 kB / 0.7596 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.7524, allocations: 11.89 kB / 0.7596 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.7525, allocations: 19.58 kB / 0.7596 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.7525, allocations: 11.16 kB / 0.7596 GB, free: 24.4 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.0001377/0.7526, allocations: 182 kB / 0.7598 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.7527, allocations: 15.62 kB / 0.7598 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.7527, allocations: 20.2 kB / 0.7598 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7527, allocations: 0 / 0.7598 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.7527, allocations: 0 / 0.7598 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.7528, allocations: 4 kB / 0.7598 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.7533, allocations: 0.5627 MB / 0.7604 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7533, allocations: 0 / 0.7604 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.7534, allocations: 11.53 kB / 0.7604 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.7534, allocations: 0 / 0.7604 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.7535, allocations: 7.891 kB / 0.7604 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7535, allocations: 3.906 kB / 0.7604 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7535, allocations: 0 / 0.7604 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004132/0.7539, allocations: 390.8 kB / 0.7608 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-05/0.754, allocations: 96.12 kB / 0.7609 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.754, allocations: 3.875 kB / 0.7609 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.7541, allocations: 7.688 kB / 0.7609 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.7542, allocations: 11.27 kB / 0.7609 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.7542, allocations: 7.719 kB / 0.7609 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001094/0.7543, allocations: 136.6 kB / 0.761 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7543, allocations: 0 / 0.761 GB, free: 23.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002758/0.7546, allocations: 34.44 kB / 0.7611 GB, free: 23.34 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.0002363/0.7549, allocations: 128.4 kB / 0.7612 GB, free: 23.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.7552, allocations: 345.7 kB / 0.7615 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.7552, allocations: 3.938 kB / 0.7615 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.7554, allocations: 195.5 kB / 0.7617 GB, free: 22.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.7556, allocations: 12.33 kB / 0.7617 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.756, allocations: 210.8 kB / 0.7619 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.7563, allocations: 0.715 MB / 0.7626 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.362e-05/0.7564, allocations: 23.86 kB / 0.7626 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.7565, allocations: 11.31 kB / 0.7626 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of SimCode: time 5.61e-07/0.7565, allocations: 0 / 0.7626 GB, free: 21.97 MB / 0.5105 GB Notification: Performance of Templates: time 0.004395/0.7609, allocations: 1.9 MB / 0.7645 GB, free: 21 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVWriter.pipe 2>&1)