Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.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.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 107.2 kB / 16.41 MB, free: 6.488 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.0011/0.0011, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.311/1.311, 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/package.mo): time 0.7757/0.7757, allocations: 132.2 MB / 423.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.91 kB / 0.582 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1461, allocations: 80.21 MB / 0.6603 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003326/0.1495, allocations: 1.666 MB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.152, allocations: 1.514 MB / 0.6634 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.1522, allocations: 0 / 0.6634 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.1526, allocations: 39.77 kB / 0.6635 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003416/0.1529, allocations: 63.61 kB / 0.6635 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.1534, allocations: 122.8 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.1536, allocations: 123.6 kB / 0.6638 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.574e-05/0.1537, allocations: 17.09 kB / 0.6638 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1538, allocations: 63.7 kB / 0.6638 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009181/0.1548, allocations: 47.77 kB / 0.6639 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.1548, allocations: 8 kB / 0.6639 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.155, allocations: 59.97 kB / 0.6639 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.155, allocations: 27.91 kB / 0.664 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.1551, allocations: 43.72 kB / 0.664 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1554, allocations: 155.5 kB / 0.6642 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1554, allocations: 0 / 0.6642 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1554, allocations: 0 / 0.6642 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1554, allocations: 4 kB / 0.6642 GB, free: 6.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006316/0.156, allocations: 430.9 kB / 0.6646 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1561, allocations: 12.03 kB / 0.6646 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.1562, allocations: 8.844 kB / 0.6646 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1565, allocations: 232.4 kB / 0.6648 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1565, allocations: 384 / 0.6648 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.1566, allocations: 8.125 kB / 0.6648 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.1568, allocations: 101 kB / 0.6649 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1569, allocations: 4 kB / 0.6649 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1569, allocations: 0 / 0.6649 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1569, allocations: 0 / 0.6649 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1571, allocations: 47.91 kB / 0.665 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.1574, allocations: 223.4 kB / 0.6652 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1577, allocations: 111.8 kB / 0.6653 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1578, allocations: 54.56 kB / 0.6653 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.1578, allocations: 0 / 0.6653 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.1581, allocations: 109.9 kB / 0.6655 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.1581, allocations: 4 kB / 0.6655 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0005121/0.1586, allocations: 161.4 kB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.1587, allocations: 132.5 kB / 0.6657 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.1589, allocations: 166.4 kB / 0.6659 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.1589, allocations: 37.69 kB / 0.6659 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.632e-05/0.159, allocations: 100.4 kB / 0.666 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.159, allocations: 27.64 kB / 0.6661 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1591, allocations: 25.72 kB / 0.6661 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1592, allocations: 322.8 kB / 0.6664 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/0.1593, allocations: 35.91 kB / 0.6664 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1594, allocations: 72.2 kB / 0.6665 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.1597, allocations: 95.34 kB / 0.6666 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1597, allocations: 0 / 0.6666 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003053/0.16, allocations: 141.8 kB / 0.6667 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.16, allocations: 4 kB / 0.6667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.16, allocations: 0 / 0.6667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1601, allocations: 4 kB / 0.6667 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1602, allocations: 23.92 kB / 0.6667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1602, allocations: 0 / 0.6667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.165e-05/0.1603, allocations: 15.89 kB / 0.6668 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.1603, allocations: 4 kB / 0.6668 GB, free: 3.367 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 9.988e-05/0.1604, allocations: 133.8 kB / 0.6669 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1604, allocations: 7.906 kB / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.1605, allocations: 17.39 kB / 0.6669 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1605, allocations: 4 kB / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1605, allocations: 0 / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1605, allocations: 0 / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.1607, allocations: 205.5 kB / 0.6671 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1607, allocations: 4 kB / 0.6671 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.1608, allocations: 19.92 kB / 0.6671 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1608, allocations: 4 kB / 0.6671 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1608, allocations: 4 kB / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1608, allocations: 0 / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.1608, allocations: 4 kB / 0.6671 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.1611, allocations: 166.5 kB / 0.6673 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1612, allocations: 88.94 kB / 0.6674 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.1612, allocations: 8 kB / 0.6674 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.1613, allocations: 4 kB / 0.6674 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.766e-05/0.1614, allocations: 15.91 kB / 0.6674 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.1614, allocations: 8 kB / 0.6674 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001175/0.1615, allocations: 140.2 kB / 0.6676 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.1615, allocations: 0 / 0.6676 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002588/0.1618, allocations: 28 kB / 0.6676 GB, free: 2.414 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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: 0 * Record equations: 0 * When equations: 2 * 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.001107/0.1629, allocations: 456.6 kB / 0.668 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002988/0.1632, allocations: 83.95 kB / 0.6681 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1632, allocations: 0 / 0.6681 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1634, allocations: 51.91 kB / 0.6682 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.1637, allocations: 32.23 kB / 0.6682 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.1642, allocations: 262.8 kB / 0.6684 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1645, allocations: 0.709 MB / 0.6691 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.1645, allocations: 23.42 kB / 0.6691 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1645, allocations: 0 / 0.6691 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of Templates: time 0.004535/0.1691, allocations: 2.203 MB / 0.6713 GB, free: 14.77 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile (rm -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.sim & ./IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)