Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") translateModel(KeyWordIO.Examples.ReadStringCSV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="KeyWordIO_KeyWordIO.Examples.ReadStringCSV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001503, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/package.mo): time 0.006387/0.006388, allocations: 0.9983 MB / 291.4 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 59.91 kB / 352 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09194/0.09334, allocations: 49.64 MB / 401.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.002084/0.09546, allocations: 0.4912 MB / 402.2 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.09768, allocations: 1.333 MB / 403.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.234e-05/0.09774, allocations: 4 kB / 403.5 MB, free: 3.332 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/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.11.0+X/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001607/0.09938, allocations: 311.5 kB / 403.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.09944, allocations: 27.97 kB / 403.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.176e-05/0.0995, allocations: 19.92 kB / 403.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.09959, allocations: 23.97 kB / 403.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.09963, allocations: 4 kB / 403.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.09967, allocations: 15.92 kB / 403.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.09974, allocations: 15.98 kB / 403.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.09976, allocations: 0 / 403.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.1002, allocations: 327.5 kB / 404.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.348e-05/0.1003, allocations: 23.98 kB / 404.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.1003, allocations: 15.91 kB / 404.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004611/0.1008, allocations: 267.6 kB / 404.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.1008, allocations: 3.938 kB / 404.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1008, allocations: 0 / 404.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1008, allocations: 0 / 404.6 MB, free: 2.305 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.0004695/0.1013, allocations: 411.6 kB / 405 MB, free: 1.855 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1014, allocations: 12.03 kB / 405 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.1014, allocations: 84.12 kB / 405 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1016, allocations: 251.6 kB / 405.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.781e-05/0.1017, allocations: 162.9 kB / 405.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.1018, allocations: 154.9 kB / 405.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.1018, allocations: 105.1 kB / 405.7 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.1019, allocations: 75.28 kB / 405.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-05/0.1019, allocations: 154.6 kB / 405.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/0.102, allocations: 154.6 kB / 406.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.1021, allocations: 154.5 kB / 406.2 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003107/0.1024, allocations: 457.9 kB / 406.7 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.1025, allocations: 165.1 kB / 406.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.159e-05/0.1025, allocations: 88.14 kB / 406.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.436e-05/0.1026, allocations: 75.28 kB / 407 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.1027, allocations: 75.25 kB / 407.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.1028, allocations: 0 / 407.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001382/0.1029, allocations: 37.64 kB / 407.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1029, allocations: 55.41 kB / 407.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.1031, allocations: 109.8 kB / 407.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1031, allocations: 25.7 kB / 407.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.935e-05/0.1031, allocations: 88.14 kB / 407.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.1031, allocations: 3.906 kB / 407.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.1032, allocations: 17.83 kB / 407.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.1033, allocations: 310.8 kB / 407.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.1033, allocations: 4 kB / 407.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.609e-06/0.1033, allocations: 0 / 407.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.1033, allocations: 12.86 kB / 407.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1034, allocations: 256 / 407.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.816e-05/0.1034, allocations: 41.56 kB / 407.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1034, allocations: 4 kB / 407.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1034, allocations: 8.094 kB / 407.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1035, allocations: 4 kB / 407.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.041e-05/0.1035, allocations: 0 / 407.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.1035, allocations: 0 / 407.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.1035, allocations: 0 / 407.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1035, allocations: 3.938 kB / 407.8 MB, free: 14.83 MB / 350.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.67e-05/0.1036, allocations: 113.8 kB / 407.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1036, allocations: 15.92 kB / 407.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.1037, allocations: 3.531 kB / 407.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.1037, allocations: 4 kB / 407.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1037, allocations: 0 / 407.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1037, allocations: 0 / 407.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.1038, allocations: 157.7 kB / 408.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1038, allocations: 3.938 kB / 408.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-06/0.1038, allocations: 0 / 408.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1039, allocations: 7.938 kB / 408.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.1039, allocations: 0 / 408.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1039, allocations: 0 / 408.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1039, allocations: 0 / 408.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.635e-05/0.104, allocations: 65.06 kB / 408.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.429e-05/0.104, allocations: 84.95 kB / 408.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.104, allocations: 8 kB / 408.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.71e-05/0.1041, allocations: 0 / 408.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.064e-05/0.1041, allocations: 3.984 kB / 408.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.1041, allocations: 0 / 408.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.716e-05/0.1041, allocations: 91.28 kB / 408.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1041, allocations: 0 / 408.3 MB, free: 14.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003551/0.1045, allocations: 108 kB / 408.4 MB, free: 14.08 MB / 350.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0007261/0.1052, allocations: 392.7 kB / 408.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.231e-05/0.1053, allocations: 3.938 kB / 408.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1053, allocations: 4 kB / 408.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.66e-06/0.1053, allocations: 0 / 408.8 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.1055, allocations: 15.92 kB / 408.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.1057, allocations: 133 kB / 409 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.1061, allocations: 0.6869 MB / 409.7 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.387e-05/0.1062, allocations: 7.984 kB / 409.7 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.1062, allocations: 15.38 kB / 409.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1062, allocations: 0 / 409.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Templates: time 0.006634/0.1128, allocations: 2.433 MB / 412.1 MB, free: 10.41 MB / 350.1 MB make -j1 -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.makefile (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & ./KeyWordIO_KeyWordIO.Examples.ReadStringCSV -abortSlowSimulation -alarm=480 -lv LOG_STATS > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1)