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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 115.2 kB / 16.42 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 183.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 62.36 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.129, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002627/0.1317, allocations: 1.607 MB / 0.6619 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008893/0.1326, allocations: 0.6155 MB / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.1327, allocations: 0 / 0.6625 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1328, allocations: 19.8 kB / 0.6625 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001967/0.133, allocations: 41.89 kB / 0.6626 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1334, allocations: 115.8 kB / 0.6627 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.1337, allocations: 199.6 kB / 0.6629 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1338, allocations: 33.09 kB / 0.6629 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1339, allocations: 87.69 kB / 0.663 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1341, allocations: 83.72 kB / 0.6631 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.1341, allocations: 12 kB / 0.6631 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-05/0.1342, allocations: 31.98 kB / 0.6631 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.1343, allocations: 23.91 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.636e-05/0.1344, allocations: 83.59 kB / 0.6632 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1346, allocations: 163.5 kB / 0.6634 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1346, allocations: 0 / 0.6634 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1346, allocations: 0 / 0.6634 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.1346, allocations: 8 kB / 0.6634 GB, free: 7.121 MB / 0.4981 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.0006509/0.1353, allocations: 0.5524 MB / 0.6639 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1353, allocations: 8.031 kB / 0.6639 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.879e-05/0.1354, allocations: 20.75 kB / 0.6639 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.1357, allocations: 240.6 kB / 0.6642 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1358, allocations: 12.38 kB / 0.6642 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.1358, allocations: 8.375 kB / 0.6642 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1361, allocations: 121.7 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1361, allocations: 0 / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.1361, allocations: 4 kB / 0.6643 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1361, allocations: 0 / 0.6643 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.1363, allocations: 71.88 kB / 0.6644 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.137, allocations: 416.5 kB / 0.6648 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.1372, allocations: 94.56 kB / 0.6649 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.1373, allocations: 72.81 kB / 0.6649 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1374, allocations: 8.141 kB / 0.6649 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.1376, allocations: 174.7 kB / 0.6651 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1376, allocations: 0 / 0.6651 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007031/0.1383, allocations: 356.7 kB / 0.6654 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/0.1384, allocations: 162.2 kB / 0.6656 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1386, allocations: 176 kB / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1386, allocations: 29.98 kB / 0.6658 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.1387, allocations: 112.3 kB / 0.6659 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1388, allocations: 31.64 kB / 0.6659 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.1388, allocations: 41.64 kB / 0.666 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.139, allocations: 330.8 kB / 0.6663 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1391, allocations: 51.95 kB / 0.6663 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.1393, allocations: 114.8 kB / 0.6664 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.1396, allocations: 308.9 kB / 0.6667 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1397, allocations: 0 / 0.6667 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005279/0.1402, allocations: 348.1 kB / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.1403, allocations: 119 kB / 0.6672 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1403, allocations: 4 kB / 0.6672 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1403, allocations: 4 kB / 0.6672 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1404, allocations: 19.92 kB / 0.6672 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1404, allocations: 7.938 kB / 0.6672 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.741e-05/0.1405, allocations: 12 kB / 0.6672 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1406, allocations: 8 kB / 0.6672 GB, free: 2.715 MB / 0.4981 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 (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.000157/0.1407, allocations: 206.2 kB / 0.6674 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.493e-05/0.1408, allocations: 15.81 kB / 0.6674 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.1408, allocations: 17.41 kB / 0.6675 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1408, allocations: 0 / 0.6675 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1408, allocations: 0 / 0.6675 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.1409, allocations: 96.84 kB / 0.6676 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.1409, allocations: 4 kB / 0.6676 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.995e-05/0.141, allocations: 15.94 kB / 0.6676 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1411, allocations: 7.984 kB / 0.6676 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006109/0.1417, allocations: 491 kB / 0.668 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000566/0.1423, allocations: 474 kB / 0.6685 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000166/0.1424, allocations: 91.94 kB / 0.6686 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.815e-05/0.1426, allocations: 131.2 kB / 0.6687 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of Backend: time 5.81e-07/0.1426, allocations: 0 / 0.6687 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007752/0.1433, allocations: 414 kB / 0.6691 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0007194/0.1441, allocations: 0.7889 MB / 0.6699 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of Templates: time 0.005721/0.1498, allocations: 2.213 MB / 0.672 GB, free: 13.58 MB / 0.5137 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)