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+X/package.mo", uses=false) Using package KeyWordIO with version 0.11.X (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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.005787/0.005787, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001323/0.001323, allocations: 194.8 kB / 16.67 MB, free: 5.52 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.005902/0.005902, allocations: 1.006 MB / 291.5 MB, free: 13.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 71.89 kB / 403 MB, free: 31.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 49.64 MB / 452.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002422/0.1144, allocations: 1.261 MB / 453.9 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1165, allocations: 1.217 MB / 455.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.1165, allocations: 4 kB / 455.1 MB, free: 11.64 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/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+X/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.00132/0.1178, allocations: 255 kB / 455.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.118, allocations: 59.86 kB / 455.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.118, allocations: 0 / 455.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.196e-05/0.1181, allocations: 39.84 kB / 455.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.1181, allocations: 4 kB / 455.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.803e-05/0.1181, allocations: 15.92 kB / 455.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1183, allocations: 43.83 kB / 455.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.507e-06/0.1183, allocations: 0 / 455.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003685/0.1187, allocations: 267.6 kB / 455.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.1188, allocations: 27.91 kB / 455.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.1188, allocations: 19.92 kB / 455.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000355/0.1192, allocations: 227.5 kB / 456 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1192, allocations: 0 / 456 MB, free: 10.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.868e-06/0.1192, allocations: 3.938 kB / 456 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.1192, allocations: 0 / 456 MB, free: 10.7 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.0005004/0.1197, allocations: 391.3 kB / 456.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.1198, allocations: 8.031 kB / 456.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.1199, allocations: 84.12 kB / 456.5 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.1201, allocations: 271.4 kB / 456.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.657e-05/0.1202, allocations: 150.9 kB / 456.9 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.1203, allocations: 154.9 kB / 457.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.581e-05/0.1204, allocations: 105.1 kB / 457.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/0.1204, allocations: 75.28 kB / 457.2 MB, free: 9.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.072e-05/0.1205, allocations: 150.6 kB / 457.4 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-05/0.1205, allocations: 158.5 kB / 457.5 MB, free: 9.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.004e-05/0.1206, allocations: 150.6 kB / 457.7 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.1209, allocations: 457.9 kB / 458.1 MB, free: 8.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.183e-05/0.121, allocations: 169.1 kB / 458.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.086e-05/0.1211, allocations: 84.14 kB / 458.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.1211, allocations: 75.28 kB / 458.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.1212, allocations: 113.7 kB / 458.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1212, allocations: 0 / 458.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 7.8e-05/0.1212, allocations: 29.7 kB / 458.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.1213, allocations: 126.7 kB / 458.7 MB, free: 7.816 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1215, allocations: 145.8 kB / 458.9 MB, free: 7.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.1215, allocations: 25.7 kB / 458.9 MB, free: 7.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.1216, allocations: 88.12 kB / 459 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.1216, allocations: 0 / 459 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.1216, allocations: 13.72 kB / 459 MB, free: 7.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1217, allocations: 318.8 kB / 459.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-06/0.1217, allocations: 0 / 459.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-06/0.1218, allocations: 0 / 459.3 MB, free: 7.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.1218, allocations: 83.22 kB / 459.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.127e-05/0.1218, allocations: 75.33 kB / 459.4 MB, free: 7.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.005e-05/0.1219, allocations: 37.64 kB / 459.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.1219, allocations: 83.28 kB / 459.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/0.122, allocations: 75.38 kB / 459.6 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.822e-05/0.122, allocations: 158.5 kB / 459.8 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.904e-05/0.1221, allocations: 75.28 kB / 459.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.109e-05/0.1221, allocations: 170.4 kB / 460 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.1222, allocations: 83.28 kB / 460.1 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.1223, allocations: 75.28 kB / 460.2 MB, free: 6.293 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.0001716/0.1225, allocations: 265.1 kB / 460.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.341e-05/0.1226, allocations: 112.8 kB / 460.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.1227, allocations: 120.5 kB / 460.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/0.1228, allocations: 188.1 kB / 460.9 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-05/0.1229, allocations: 176.3 kB / 461 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.131e-05/0.1229, allocations: 180.3 kB / 461.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.1232, allocations: 413.1 kB / 461.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.193e-05/0.1232, allocations: 101 kB / 461.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.1233, allocations: 112.9 kB / 461.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-05/0.1234, allocations: 180.3 kB / 462 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.549e-05/0.1235, allocations: 184.3 kB / 462.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.47e-05/0.1235, allocations: 184.2 kB / 462.4 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.1236, allocations: 176.3 kB / 462.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.1238, allocations: 307.8 kB / 462.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.1239, allocations: 189.9 kB / 463 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.071e-05/0.124, allocations: 184.2 kB / 463.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.1241, allocations: 101 kB / 463.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.1242, allocations: 184.2 kB / 463.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.1242, allocations: 105 kB / 463.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.504e-05/0.1243, allocations: 115.2 kB / 463.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1243, allocations: 0 / 463.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003916/0.1247, allocations: 79.92 kB / 463.8 MB, free: 2.484 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.0007406/0.1255, allocations: 397.6 kB / 464.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 5.074e-05/0.1255, allocations: 3.938 kB / 464.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1255, allocations: 0 / 464.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.1255, allocations: 4.031 kB / 464.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.1259, allocations: 459.6 kB / 464.6 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004085/0.1263, allocations: 242.4 kB / 464.8 MB, free: 1.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1267, allocations: 0.6961 MB / 465.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.406e-05/0.1268, allocations: 7.984 kB / 465.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.1268, allocations: 11.44 kB / 465.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1268, allocations: 0 / 465.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of Templates: time 0.004778/0.1316, allocations: 1.837 MB / 467.4 MB, free: 14.85 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)