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.00131/0.001315, allocations: 110.6 kB / 16.42 MB, free: 6.492 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.00115/0.00115, allocations: 189.6 kB / 17.35 MB, free: 5.762 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0-master/package.mo): time 0.006094/0.006094, allocations: 1.016 MB / 292.2 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 64.12 kB / 403.6 MB, free: 31.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07442/0.07559, allocations: 49.65 MB / 453.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001895/0.07752, allocations: 1.262 MB / 454.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.07907, allocations: 1.217 MB / 455.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.581e-05/0.07911, allocations: 4 kB / 455.8 MB, free: 11.52 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.001064/0.08018, allocations: 258 kB / 456 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.219e-05/0.08028, allocations: 51.88 kB / 456.1 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.467e-06/0.08029, allocations: 3.938 kB / 456.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.364e-05/0.08036, allocations: 39.84 kB / 456.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.458e-05/0.0804, allocations: 4 kB / 456.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.332e-05/0.08043, allocations: 15.92 kB / 456.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.08057, allocations: 43.83 kB / 456.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.08058, allocations: 4 kB / 456.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.08094, allocations: 263.6 kB / 456.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.07e-05/0.081, allocations: 35.91 kB / 456.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.08103, allocations: 15.92 kB / 456.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.08133, allocations: 223.6 kB / 456.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.08134, allocations: 0 / 456.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.08135, allocations: 0 / 456.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.08136, allocations: 0 / 456.7 MB, free: 10.58 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.0003384/0.0817, allocations: 399.2 kB / 457.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.08174, allocations: 8.031 kB / 457.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.08179, allocations: 80.12 kB / 457.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.08196, allocations: 275.4 kB / 457.5 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.08202, allocations: 150.9 kB / 457.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.08206, allocations: 150.9 kB / 457.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.627e-05/0.08212, allocations: 105.1 kB / 457.9 MB, free: 9.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.08215, allocations: 75.28 kB / 457.9 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.08221, allocations: 154.6 kB / 458.1 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.08225, allocations: 150.6 kB / 458.2 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.192e-05/0.08231, allocations: 158.5 kB / 458.4 MB, free: 8.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.08256, allocations: 449.9 kB / 458.8 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.758e-05/0.08264, allocations: 173.1 kB / 459 MB, free: 8.145 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.08267, allocations: 80.14 kB / 459.1 MB, free: 8.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.0827, allocations: 75.28 kB / 459.1 MB, free: 7.988 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.08275, allocations: 121.7 kB / 459.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.08275, allocations: 0 / 459.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.061e-05/0.08282, allocations: 25.7 kB / 459.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.08284, allocations: 51.41 kB / 459.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.08298, allocations: 145.8 kB / 459.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.083, allocations: 25.7 kB / 459.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.08304, allocations: 84.14 kB / 459.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.08305, allocations: 4 kB / 459.6 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.08307, allocations: 9.719 kB / 459.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.08317, allocations: 314.8 kB / 459.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.147e-06/0.08318, allocations: 0 / 459.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.184e-06/0.08318, allocations: 0 / 459.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.08321, allocations: 79.28 kB / 460 MB, free: 7.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/0.08325, allocations: 83.27 kB / 460.1 MB, free: 7 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.335e-05/0.0833, allocations: 37.62 kB / 460.1 MB, free: 6.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.08334, allocations: 90.34 kB / 460.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.08337, allocations: 79.38 kB / 460.3 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.447e-05/0.08343, allocations: 158.5 kB / 460.4 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.257e-05/0.08346, allocations: 75.28 kB / 460.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.485e-05/0.08351, allocations: 162.5 kB / 460.7 MB, free: 6.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.08359, allocations: 83.22 kB / 460.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.08362, allocations: 79.27 kB / 460.8 MB, free: 6.242 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.0001046/0.08373, allocations: 265.1 kB / 461.1 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.0838, allocations: 116.8 kB / 461.2 MB, free: 5.852 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.08386, allocations: 116.5 kB / 461.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.619e-05/0.08392, allocations: 180.3 kB / 461.5 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.08395, allocations: 108.9 kB / 461.6 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.08402, allocations: 178.1 kB / 461.8 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.0841, allocations: 180.2 kB / 461.9 MB, free: 5.047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.698e-05/0.08418, allocations: 105 kB / 462 MB, free: 4.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.08425, allocations: 184.3 kB / 462.2 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.46e-05/0.08433, allocations: 259.5 kB / 462.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001429/0.08448, allocations: 386.9 kB / 462.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.462e-05/0.08452, allocations: 105 kB / 462.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.021e-05/0.08459, allocations: 115.3 kB / 463.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of Backend: time 2e-07/0.0846, allocations: 4 kB / 463.1 MB, free: 3.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000731/0.08534, allocations: 282.9 kB / 463.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005336/0.08588, allocations: 1.004 MB / 464.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of Templates: time 0.004075/0.08997, allocations: 1.846 MB / 466.2 MB, free: 0.7344 MB / 334.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)