Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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/KeyWordIO 0.11.0-master/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.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(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 104.9 kB / 16.41 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.001221/0.001221, allocations: 197.4 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006153/0.006153, allocations: 1 MB / 292.2 MB, free: 13.78 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.89 kB / 403.6 MB, free: 31.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07714/0.0783, allocations: 49.65 MB / 453.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.00209/0.08042, allocations: 1.254 MB / 454.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.0821, allocations: 1.228 MB / 455.8 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.08215, allocations: 3.938 kB / 455.8 MB, free: 11.53 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readLine.mo:2:1-36:13:writable] Warning: Pure function 'KeyWordIO.readLine' contains a call to impure function 'KeyWordIO.readLineWithoutCache'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001116/0.08327, allocations: 256.9 kB / 456 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.96e-05/0.08338, allocations: 55.86 kB / 456.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.567e-06/0.08339, allocations: 0 / 456.1 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.08347, allocations: 31.91 kB / 456.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.08352, allocations: 4 kB / 456.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.08356, allocations: 19.88 kB / 456.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.08371, allocations: 39.88 kB / 456.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.268e-06/0.08373, allocations: 4 kB / 456.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.08413, allocations: 263.6 kB / 456.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.147e-05/0.0842, allocations: 39.89 kB / 456.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.08423, allocations: 11.92 kB / 456.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.08458, allocations: 227.5 kB / 456.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.08459, allocations: 0 / 456.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.08459, allocations: 0 / 456.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.08461, allocations: 0 / 456.7 MB, free: 10.6 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003835/0.08499, allocations: 391.3 kB / 457.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.08503, allocations: 12.03 kB / 457.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.31e-05/0.0851, allocations: 84.12 kB / 457.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.08528, allocations: 271.4 kB / 457.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.08535, allocations: 150.9 kB / 457.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.0854, allocations: 150.9 kB / 457.7 MB, free: 9.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.681e-05/0.08547, allocations: 113 kB / 457.9 MB, free: 9.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.08551, allocations: 79.28 kB / 457.9 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.08557, allocations: 154.6 kB / 458.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.721e-05/0.08562, allocations: 150.6 kB / 458.2 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.526e-05/0.08568, allocations: 154.6 kB / 458.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.08598, allocations: 449.9 kB / 458.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.974e-05/0.08606, allocations: 173.1 kB / 459 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.0861, allocations: 84.12 kB / 459.1 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.08613, allocations: 79.28 kB / 459.1 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/0.08619, allocations: 113.8 kB / 459.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.08619, allocations: 0 / 459.3 MB, free: 7.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.305e-05/0.08627, allocations: 25.7 kB / 459.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.08634, allocations: 134.6 kB / 459.4 MB, free: 7.699 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.08649, allocations: 141.8 kB / 459.6 MB, free: 7.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-06/0.0865, allocations: 25.7 kB / 459.6 MB, free: 7.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.08655, allocations: 88.14 kB / 459.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-06/0.08656, allocations: 0 / 459.7 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.08658, allocations: 9.719 kB / 459.7 MB, free: 7.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.08669, allocations: 314.8 kB / 460 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.088e-06/0.0867, allocations: 4 kB / 460 MB, free: 7.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-06/0.08671, allocations: 0 / 460 MB, free: 7.094 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.08674, allocations: 79.28 kB / 460.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.974e-05/0.08677, allocations: 75.33 kB / 460.1 MB, free: 6.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.204e-05/0.08684, allocations: 41.64 kB / 460.2 MB, free: 6.895 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.08688, allocations: 79.28 kB / 460.3 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/0.08691, allocations: 79.31 kB / 460.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.139e-05/0.08697, allocations: 154.6 kB / 460.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.174e-05/0.08701, allocations: 87.22 kB / 460.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-05/0.08706, allocations: 154.5 kB / 460.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.921e-05/0.08714, allocations: 79.27 kB / 460.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.08718, allocations: 79.22 kB / 460.9 MB, free: 6.191 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001121/0.0873, allocations: 269.1 kB / 461.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.08736, allocations: 116.8 kB / 461.3 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.299e-05/0.08742, allocations: 112.4 kB / 461.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.334e-05/0.08749, allocations: 176.3 kB / 461.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.874e-05/0.08756, allocations: 180.3 kB / 461.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-05/0.08763, allocations: 184.2 kB / 461.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.08786, allocations: 417.2 kB / 462.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/0.0879, allocations: 104.9 kB / 462.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.08794, allocations: 108.9 kB / 462.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.724e-05/0.088, allocations: 176.3 kB / 462.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.08807, allocations: 184.2 kB / 462.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.101e-05/0.08813, allocations: 180.2 kB / 463 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.148e-05/0.0882, allocations: 196.2 kB / 463.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.08833, allocations: 303.8 kB / 463.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.08841, allocations: 185.9 kB / 463.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.97e-05/0.08849, allocations: 184.2 kB / 463.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.08859, allocations: 108.9 kB / 464 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.08865, allocations: 180.3 kB / 464.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.08869, allocations: 104.9 kB / 464.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.939e-05/0.08877, allocations: 107.3 kB / 464.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08877, allocations: 0 / 464.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000387/0.08916, allocations: 87.91 kB / 464.5 MB, free: 2.375 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005858/0.08975, allocations: 390.7 kB / 464.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 3.808e-05/0.0898, allocations: 0 / 464.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.08981, allocations: 0 / 464.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.08982, allocations: 32 / 464.8 MB, free: 2.039 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.09017, allocations: 471.2 kB / 465.3 MB, free: 1.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.09047, allocations: 248.1 kB / 465.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.09072, allocations: 0.6844 MB / 466.2 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.09075, allocations: 11.44 kB / 466.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09076, allocations: 0 / 466.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of Templates: time 0.003861/0.09462, allocations: 2.08 MB / 468.3 MB, free: 14.5 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadRealCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1)