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.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 114.2 kB / 16.42 MB, free: 6.441 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.00116/0.00116, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7231/0.7231, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 66.14 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1214, allocations: 80.93 MB / 0.6653 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVWriter): time 0.002652/0.1241, allocations: 1.6 MB / 0.6669 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008754/0.125, allocations: 0.6117 MB / 0.6675 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.1251, allocations: 7.938 kB / 0.6675 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1253, allocations: 15.86 kB / 0.6675 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.1255, allocations: 50.62 kB / 0.6675 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003474/0.1258, allocations: 107.8 kB / 0.6676 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.126, allocations: 211.5 kB / 0.6678 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.707e-05/0.1262, allocations: 20.88 kB / 0.6679 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1263, allocations: 91.73 kB / 0.6679 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1264, allocations: 91.66 kB / 0.668 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.1265, allocations: 12 kB / 0.668 GB, free: 3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.648e-05/0.1266, allocations: 24 kB / 0.6681 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.606e-05/0.1266, allocations: 27.92 kB / 0.6681 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.1267, allocations: 75.64 kB / 0.6682 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.1269, allocations: 167.5 kB / 0.6683 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.127, allocations: 0 / 0.6683 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.127, allocations: 0 / 0.6683 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.127, allocations: 0 / 0.6683 GB, free: 2.711 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.000633/0.1276, allocations: 0.5603 MB / 0.6689 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.1276, allocations: 9.109 kB / 0.6689 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.1277, allocations: 20.75 kB / 0.6689 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.128, allocations: 236.1 kB / 0.6691 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.128, allocations: 8.375 kB / 0.6691 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.1281, allocations: 16.31 kB / 0.6691 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.1283, allocations: 117.7 kB / 0.6693 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1284, allocations: 8 kB / 0.6693 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.1284, allocations: 0 / 0.6693 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1284, allocations: 0 / 0.6693 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.1286, allocations: 71.89 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005875/0.1292, allocations: 416.5 kB / 0.6697 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1294, allocations: 98.56 kB / 0.6698 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.1295, allocations: 72.81 kB / 0.6699 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1295, allocations: 4 kB / 0.6699 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.1298, allocations: 178.9 kB / 0.6701 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 2.885e-06/0.1298, allocations: 3.984 kB / 0.6701 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.000656/0.1305, allocations: 356.7 kB / 0.6704 GB, free: 356 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.1306, allocations: 162.2 kB / 0.6706 GB, free: 156 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1307, allocations: 176.1 kB / 0.6707 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1307, allocations: 25.7 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.41e-05/0.1308, allocations: 108.3 kB / 0.6709 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.1308, allocations: 31.55 kB / 0.6709 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.1309, allocations: 49.69 kB / 0.6709 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.131, allocations: 330.8 kB / 0.6713 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.1312, allocations: 51.95 kB / 0.6713 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.1313, allocations: 102.8 kB / 0.6714 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.1317, allocations: 308.9 kB / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1317, allocations: 0 / 0.6717 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004969/0.1322, allocations: 344.1 kB / 0.672 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.1323, allocations: 119.1 kB / 0.6721 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1323, allocations: 0 / 0.6721 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1323, allocations: 4.25 kB / 0.6721 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1324, allocations: 27.92 kB / 0.6722 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1324, allocations: 7.938 kB / 0.6722 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.1325, allocations: 15.89 kB / 0.6722 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.1325, allocations: 8 kB / 0.6722 GB, free: 14.3 MB / 0.5137 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.0001389/0.1327, allocations: 197.1 kB / 0.6724 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.1327, allocations: 23.81 kB / 0.6724 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.1328, allocations: 17.39 kB / 0.6724 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1328, allocations: 0 / 0.6724 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1328, allocations: 4 kB / 0.6724 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.1328, allocations: 88.95 kB / 0.6725 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.1329, allocations: 8 kB / 0.6725 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.1329, allocations: 11.92 kB / 0.6725 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.133, allocations: 7.938 kB / 0.6725 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005668/0.1336, allocations: 491 kB / 0.673 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000532/0.1341, allocations: 481.9 kB / 0.6735 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001659/0.1343, allocations: 87.95 kB / 0.6736 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.473e-05/0.1344, allocations: 131.2 kB / 0.6737 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of Backend: time 3.81e-07/0.1344, allocations: 0 / 0.6737 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006947/0.1351, allocations: 421.4 kB / 0.6741 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0005825/0.1357, allocations: 0.7807 MB / 0.6748 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.00472/0.1404, allocations: 2.206 MB / 0.677 GB, free: 9.176 MB / 0.5137 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)