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.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.0006709/0.0006709, allocations: 96.7 kB / 20.2 MB, free: 4.223 MB / 18.57 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.0008215/0.0008215, allocations: 157.3 kB / 23.52 MB, free: 0.9102 MB / 18.57 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 0.9341/0.9341, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.004224/0.004224, allocations: 0.7897 MB / 261.1 MB, free: 12.29 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") translateModel(KeyWordIO.Examples.ReadRealCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadRealCSV") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 330.6 MB, free: 19.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.426e-05, allocations: 2.312 kB / 330.6 MB, free: 19.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001335/0.001359, allocations: 1.283 MB / 331.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.002397, allocations: 1.305 MB / 333.2 MB, free: 16.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.002427, allocations: 0 / 333.2 MB, free: 16.67 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.12.1/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.0009907/0.003418, allocations: 269.9 kB / 333.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.473e-05/0.003493, allocations: 71.8 kB / 333.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.003496, allocations: 4 kB / 333.5 MB, free: 16.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.434e-05/0.003551, allocations: 39.84 kB / 333.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.003588, allocations: 0 / 333.5 MB, free: 16.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.00363, allocations: 23.91 kB / 333.6 MB, free: 16.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.003696, allocations: 31.91 kB / 333.6 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.003706, allocations: 0 / 333.6 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.003964, allocations: 259.4 kB / 333.9 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.05e-05/0.004015, allocations: 23.98 kB / 333.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.496e-05/0.00403, allocations: 7.938 kB / 333.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.004302, allocations: 251.3 kB / 334.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004304, allocations: 0 / 334.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.004305, allocations: 4 kB / 334.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.00431, allocations: 0 / 334.1 MB, free: 15.71 MB / 266.7 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.0002603/0.00457, allocations: 329.5 kB / 334.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.004613, allocations: 8.031 kB / 334.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.004654, allocations: 76.22 kB / 334.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.004771, allocations: 208.9 kB / 334.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.004787, allocations: 150.9 kB / 334.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.004806, allocations: 150.9 kB / 335 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.848e-05/0.004855, allocations: 101.5 kB / 335.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.004868, allocations: 79.41 kB / 335.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.004895, allocations: 158.7 kB / 335.4 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.004917, allocations: 154.6 kB / 335.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.004942, allocations: 150.6 kB / 335.7 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.005095, allocations: 405.6 kB / 336.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/0.005149, allocations: 169.1 kB / 336.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.005168, allocations: 84.08 kB / 336.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.005185, allocations: 79.28 kB / 336.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.005207, allocations: 105.8 kB / 336.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.005208, allocations: 0 / 336.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=0): time 6.921e-05/0.005277, allocations: 33.66 kB / 336.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.005312, allocations: 130.6 kB / 336.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.005449, allocations: 133.8 kB / 336.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-06/0.005456, allocations: 25.7 kB / 336.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.21e-05/0.005478, allocations: 84.14 kB / 336.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.00548, allocations: 0 / 336.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.005502, allocations: 21.7 kB / 336.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.832e-05/0.00554, allocations: 310.8 kB / 337.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.402e-06/0.005546, allocations: 3.938 kB / 337.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.005551, allocations: 0 / 337.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.06e-05/0.005562, allocations: 75.28 kB / 337.3 MB, free: 12.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.005573, allocations: 79.28 kB / 337.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.403e-05/0.005617, allocations: 25.7 kB / 337.4 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.005638, allocations: 87.28 kB / 337.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.005654, allocations: 79.22 kB / 337.6 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.005684, allocations: 158.5 kB / 337.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-06/0.005693, allocations: 83.22 kB / 337.8 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.005709, allocations: 158.4 kB / 337.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.00575, allocations: 79.28 kB / 338 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.589e-06/0.005759, allocations: 87.27 kB / 338.1 MB, free: 11.54 MB / 266.7 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 5.168e-05/0.005811, allocations: 264.4 kB / 338.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.005836, allocations: 112.9 kB / 338.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.005859, allocations: 108.5 kB / 338.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.887e-05/0.005878, allocations: 184.2 kB / 338.8 MB, free: 10.85 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/0.005901, allocations: 184.2 kB / 338.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.573e-05/0.005927, allocations: 184.2 kB / 339.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.537e-05/0.006022, allocations: 352.9 kB / 339.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.006035, allocations: 109 kB / 339.6 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.346e-05/0.006049, allocations: 108.9 kB / 339.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.825e-05/0.006067, allocations: 176.3 kB / 339.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.006089, allocations: 184.2 kB / 340 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/0.006104, allocations: 176.3 kB / 340.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.677e-05/0.006121, allocations: 184.2 kB / 340.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.664e-05/0.006177, allocations: 311.8 kB / 340.7 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.006194, allocations: 104.9 kB / 340.8 MB, free: 8.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.006225, allocations: 188.2 kB / 341 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.663e-05/0.006261, allocations: 104.9 kB / 341.1 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.006291, allocations: 180.2 kB / 341.3 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.006305, allocations: 105.5 kB / 341.4 MB, free: 8.102 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.89e-05/0.006343, allocations: 107.6 kB / 341.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006343, allocations: 0 / 341.5 MB, free: 7.996 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.006622, allocations: 87.59 kB / 341.5 MB, free: 7.91 MB / 266.7 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.0004958/0.007118, allocations: 411.5 kB / 342 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 3.57e-05/0.007153, allocations: 0 / 342 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.007155, allocations: 0 / 342 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.007156, allocations: 0 / 342 MB, free: 7.555 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.007355, allocations: 475.6 kB / 342.4 MB, free: 7.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002463/0.007602, allocations: 243.5 kB / 342.7 MB, free: 6.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.744e-05/0.007639, allocations: 83.12 kB / 342.7 MB, free: 6.719 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.023e-05/0.007649, allocations: 4 kB / 342.7 MB, free: 6.715 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.662e-05/0.007666, allocations: 16.48 kB / 342.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007667, allocations: 0 / 342.8 MB, free: 6.699 MB / 266.7 MB Notification: Performance of Templates: time 0.002944/0.01061, allocations: 1.864 MB / 344.6 MB, free: 4.836 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.makefile [Timeout 660] (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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.6181610468775034]