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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 212.1 kB / 22.99 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8371/0.8371, allocations: 134 MB / 447.2 MB, free: 9.906 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 69.48 kB / 0.6197 GB, free: 6.422 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1535, allocations: 85.9 MB / 0.7036 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.003128/0.1567, allocations: 1.677 MB / 0.7052 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002637/0.1593, allocations: 1.721 MB / 0.7069 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.1594, allocations: 4 kB / 0.7069 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002712/0.1597, allocations: 43.7 kB / 0.7069 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003622/0.16, allocations: 115.4 kB / 0.7071 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1602, allocations: 91.66 kB / 0.7071 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1605, allocations: 139.5 kB / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.1605, allocations: 9.641 kB / 0.7073 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.1607, allocations: 71.77 kB / 0.7074 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1609, allocations: 59.62 kB / 0.7074 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1609, allocations: 8 kB / 0.7074 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.1611, allocations: 99.95 kB / 0.7075 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.1611, allocations: 23.91 kB / 0.7075 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.1612, allocations: 39.8 kB / 0.7076 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.1615, allocations: 215.1 kB / 0.7078 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1615, allocations: 0 / 0.7078 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1615, allocations: 0 / 0.7078 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.1615, allocations: 7.938 kB / 0.7078 GB, free: 12.27 MB / 0.5294 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.000702/0.1622, allocations: 401.2 kB / 0.7082 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.1623, allocations: 8.031 kB / 0.7082 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1624, allocations: 20.88 kB / 0.7082 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.1628, allocations: 163.1 kB / 0.7084 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1628, allocations: 4.312 kB / 0.7084 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.1628, allocations: 8.125 kB / 0.7084 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.163, allocations: 126.8 kB / 0.7085 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1631, allocations: 0 / 0.7085 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1631, allocations: 8 kB / 0.7085 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1631, allocations: 0 / 0.7085 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.1633, allocations: 51.89 kB / 0.7085 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.1635, allocations: 159.1 kB / 0.7087 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1638, allocations: 115.7 kB / 0.7088 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.1639, allocations: 58.55 kB / 0.7089 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.1639, allocations: 4 kB / 0.7089 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.1641, allocations: 117.8 kB / 0.709 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.1642, allocations: 0 / 0.709 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004927/0.1646, allocations: 173.7 kB / 0.7091 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.1647, allocations: 140.5 kB / 0.7093 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.165, allocations: 208.3 kB / 0.7095 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.165, allocations: 25.7 kB / 0.7095 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.1651, allocations: 108.1 kB / 0.7096 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.1651, allocations: 19.86 kB / 0.7096 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.1651, allocations: 25.7 kB / 0.7096 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1653, allocations: 322.8 kB / 0.71 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.1654, allocations: 35.97 kB / 0.71 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.1655, allocations: 93.97 kB / 0.7101 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.1658, allocations: 103.4 kB / 0.7102 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1658, allocations: 0 / 0.7102 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003165/0.1661, allocations: 137.4 kB / 0.7103 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1661, allocations: 8.094 kB / 0.7103 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1661, allocations: 7.984 kB / 0.7103 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1661, allocations: 192 / 0.7103 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1663, allocations: 23.92 kB / 0.7103 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.1663, allocations: 7.938 kB / 0.7104 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.1663, allocations: 7.938 kB / 0.7104 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1664, allocations: 4 kB / 0.7104 GB, free: 9.34 MB / 0.5294 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 0.0001224/0.1665, allocations: 125.8 kB / 0.7105 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.1665, allocations: 19.84 kB / 0.7105 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1668, allocations: 131 kB / 0.7106 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1668, allocations: 4 kB / 0.7106 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1668, allocations: 0 / 0.7106 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1668, allocations: 0 / 0.7106 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.167, allocations: 145.3 kB / 0.7108 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.167, allocations: 0 / 0.7108 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.933e-05/0.1671, allocations: 15.98 kB / 0.7108 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.1671, allocations: 8.25 kB / 0.7108 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1671, allocations: 0 / 0.7108 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1671, allocations: 8 kB / 0.7108 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1671, allocations: 7.875 kB / 0.7108 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.1674, allocations: 190.7 kB / 0.711 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.1675, allocations: 19.78 kB / 0.711 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1675, allocations: 0 / 0.711 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.1676, allocations: 15.98 kB / 0.711 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.1676, allocations: 7.984 kB / 0.711 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.1676, allocations: 4 kB / 0.711 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001428/0.1678, allocations: 148.1 kB / 0.7112 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1678, allocations: 0 / 0.7112 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002778/0.1681, allocations: 51.86 kB / 0.7112 GB, free: 8.383 MB / 0.5294 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001837/0.1699, allocations: 0.5288 MB / 0.7117 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.1702, allocations: 83.89 kB / 0.7118 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1702, allocations: 0 / 0.7118 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1703, allocations: 55.89 kB / 0.7119 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1706, allocations: 32.72 kB / 0.7119 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.1711, allocations: 295.1 kB / 0.7122 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.405e-05/0.1712, allocations: 101 kB / 0.7123 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.1713, allocations: 19.42 kB / 0.7123 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1713, allocations: 0 / 0.7123 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of Templates: time 0.004851/0.1761, allocations: 2.647 MB / 0.7149 GB, free: 4.84 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.967954494059086] Failed to read output from testmodel.py, exit status != 0: 0.18348318710923195 0.19827908100000002 0.033822034 Calling exit ...