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: "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007231/0.007231, allocations: 101.3 kB / 15.73 MB, free: 6.469 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.00164/0.00164, allocations: 193.5 kB / 16.67 MB, free: 6.379 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.769/0.769, allocations: 132.2 MB / 422.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.31 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1638, allocations: 80.21 MB / 0.6592 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003382/0.1672, allocations: 1.662 MB / 0.6608 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.1695, allocations: 1.51 MB / 0.6623 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.1697, allocations: 0 / 0.6623 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.17, allocations: 43.77 kB / 0.6623 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1705, allocations: 63.62 kB / 0.6624 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.1709, allocations: 121.7 kB / 0.6625 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1711, allocations: 123.6 kB / 0.6626 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.1712, allocations: 13.09 kB / 0.6626 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1713, allocations: 59.7 kB / 0.6627 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/0.1718, allocations: 51.77 kB / 0.6627 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.1719, allocations: 4 kB / 0.6627 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.172, allocations: 67.97 kB / 0.6628 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.1721, allocations: 19.92 kB / 0.6628 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.686e-05/0.1722, allocations: 47.72 kB / 0.6629 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.1724, allocations: 150.3 kB / 0.663 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1724, allocations: 0 / 0.663 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1725, allocations: 0 / 0.663 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1725, allocations: 0 / 0.663 GB, free: 10.09 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.0006758/0.1731, allocations: 439.7 kB / 0.6634 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1732, allocations: 12.03 kB / 0.6634 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.1733, allocations: 46.67 kB / 0.6635 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.1733, allocations: 8.844 kB / 0.6635 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1736, allocations: 224.7 kB / 0.6637 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1737, allocations: 384 / 0.6637 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.1737, allocations: 11.94 kB / 0.6637 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.1739, allocations: 101 kB / 0.6638 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.174, allocations: 0 / 0.6638 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.174, allocations: 4 kB / 0.6638 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.174, allocations: 0 / 0.6638 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.1742, allocations: 51.89 kB / 0.6639 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.1744, allocations: 207.5 kB / 0.6641 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/0.1747, allocations: 115.7 kB / 0.6642 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.1748, allocations: 50.61 kB / 0.6642 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1749, allocations: 4 kB / 0.6642 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.1751, allocations: 117.9 kB / 0.6643 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1751, allocations: 0 / 0.6643 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004705/0.1756, allocations: 161.6 kB / 0.6645 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.1756, allocations: 132.5 kB / 0.6646 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.1758, allocations: 176.9 kB / 0.6648 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1759, allocations: 29.64 kB / 0.6648 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.1759, allocations: 104.1 kB / 0.6649 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.176, allocations: 23.66 kB / 0.6649 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.176, allocations: 25.7 kB / 0.665 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1761, allocations: 334.9 kB / 0.6653 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1762, allocations: 31.97 kB / 0.6653 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.1764, allocations: 56.28 kB / 0.6654 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.1766, allocations: 99.36 kB / 0.6655 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1766, allocations: 3.938 kB / 0.6655 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002925/0.1769, allocations: 125.5 kB / 0.6656 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1769, allocations: 5.719 kB / 0.6656 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1769, allocations: 8.094 kB / 0.6656 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1769, allocations: 0 / 0.6656 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1771, allocations: 24.23 kB / 0.6656 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.1771, allocations: 7.922 kB / 0.6656 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.1772, allocations: 20.09 kB / 0.6657 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.1772, allocations: 4 kB / 0.6657 GB, free: 7.051 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.834e-05/0.1773, allocations: 134.4 kB / 0.6658 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1773, allocations: 7.906 kB / 0.6658 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.1774, allocations: 25.39 kB / 0.6658 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1774, allocations: 0 / 0.6658 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1774, allocations: 0 / 0.6658 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1774, allocations: 4 kB / 0.6658 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.1776, allocations: 201.5 kB / 0.666 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1776, allocations: 4 kB / 0.666 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.1777, allocations: 15.92 kB / 0.666 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1777, allocations: 4 kB / 0.666 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.1777, allocations: 0 / 0.666 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1777, allocations: 3.984 kB / 0.666 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.1777, allocations: 4 kB / 0.666 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.178, allocations: 174.5 kB / 0.6662 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.1781, allocations: 88.95 kB / 0.6663 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1781, allocations: 0 / 0.6663 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.1782, allocations: 19.92 kB / 0.6663 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.1783, allocations: 7.984 kB / 0.6663 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1783, allocations: 4 kB / 0.6663 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001088/0.1784, allocations: 137.2 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1784, allocations: 0 / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002487/0.1786, allocations: 28 kB / 0.6665 GB, free: 6.098 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.001436/0.1801, allocations: 1.046 MB / 0.6675 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.1804, allocations: 83.88 kB / 0.6676 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1804, allocations: 0 / 0.6676 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1805, allocations: 35.98 kB / 0.6676 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1808, allocations: 42.2 kB / 0.6677 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.1828, allocations: 1.687 MB / 0.6693 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.183, allocations: 0.7079 MB / 0.67 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.471e-05/0.1831, allocations: 36.45 kB / 0.67 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.1832, allocations: 35.42 kB / 0.6701 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.1832, allocations: 4 kB / 0.6701 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.2046, allocations: 3.888 MB / 0.6739 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.563, allocations: 6.594 kB / 0.6739 GB, free: 14.66 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader_fmu --startTime=-1.21 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_Files_Examples_CSVReader.fmu > IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.pipe 2>&1)