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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 106 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 190.1 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/package.mo): time 0.00749/0.00749, allocations: 1.018 MB / 307 MB, free: 7.641 MB / 238.1 MB " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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: "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 426.8 MB, free: 23.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09923, allocations: 52.41 MB / 479.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001838/0.1011, allocations: 0.5008 MB / 479.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.1034, allocations: 1.452 MB / 481.2 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.1035, allocations: 0 / 481.2 MB, free: 1.02 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/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.0/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.12.0/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.12.0/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.001477/0.105, allocations: 319 kB / 481.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.105, allocations: 27.91 kB / 481.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.864e-05/0.1051, allocations: 11.97 kB / 481.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.606e-05/0.1051, allocations: 31.92 kB / 481.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.151e-05/0.1052, allocations: 0 / 481.6 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/0.1052, allocations: 19.97 kB / 481.6 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.1053, allocations: 22.31 kB / 481.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1053, allocations: 0 / 481.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005545/0.1059, allocations: 339.6 kB / 482 MB, free: 272 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.106, allocations: 19.91 kB / 482 MB, free: 252 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.106, allocations: 27.8 kB / 482 MB, free: 224 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.1065, allocations: 283.5 kB / 482.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1065, allocations: 0 / 482.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1065, allocations: 0 / 482.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1065, allocations: 0 / 482.3 MB, free: 15.94 MB / 350.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.000563/0.1071, allocations: 365.4 kB / 482.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1071, allocations: 16.92 kB / 482.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.71e-05/0.1072, allocations: 110 kB / 482.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.726e-05/0.1073, allocations: 80.22 kB / 482.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1076, allocations: 217.7 kB / 483.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.991e-05/0.1076, allocations: 150.9 kB / 483.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1077, allocations: 158.9 kB / 483.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1078, allocations: 108.9 kB / 483.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.1079, allocations: 75.28 kB / 483.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.409e-05/0.108, allocations: 150.6 kB / 483.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.448e-05/0.108, allocations: 150.6 kB / 483.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.188e-05/0.1081, allocations: 158.5 kB / 484 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.1085, allocations: 437 kB / 484.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.1086, allocations: 165.1 kB / 484.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.1087, allocations: 80.14 kB / 484.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.1087, allocations: 79.22 kB / 484.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.1089, allocations: 79.27 kB / 484.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.594e-06/0.1089, allocations: 0 / 484.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001647/0.1091, allocations: 37.64 kB / 484.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.1091, allocations: 59.33 kB / 484.9 MB, free: 13.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1093, allocations: 141.9 kB / 485 MB, free: 13.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.1093, allocations: 29.7 kB / 485.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.1094, allocations: 92.14 kB / 485.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.1094, allocations: 0 / 485.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.1094, allocations: 13.72 kB / 485.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1096, allocations: 314.8 kB / 485.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.1096, allocations: 4 kB / 485.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-06/0.1096, allocations: 0 / 485.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.758e-05/0.1097, allocations: 16.92 kB / 485.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1097, allocations: 0 / 485.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.628e-05/0.1097, allocations: 45.53 kB / 485.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1097, allocations: 4 kB / 485.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1097, allocations: 0 / 485.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1098, allocations: 0 / 485.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.095e-05/0.1098, allocations: 0 / 485.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1098, allocations: 4 kB / 485.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.1098, allocations: 7.922 kB / 485.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.1098, allocations: 0 / 485.6 MB, free: 12.45 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 0.0001121/0.1099, allocations: 121.9 kB / 485.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.11, allocations: 7.938 kB / 485.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.413e-05/0.11, allocations: 11.45 kB / 485.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.11, allocations: 0 / 485.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.11, allocations: 0 / 485.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.11, allocations: 3.984 kB / 485.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1102, allocations: 136.7 kB / 485.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1102, allocations: 0 / 485.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-06/0.1102, allocations: 0 / 485.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.1102, allocations: 4 kB / 485.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.1102, allocations: 4 kB / 485.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1102, allocations: 0 / 485.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1102, allocations: 0 / 485.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.912e-05/0.1103, allocations: 72.95 kB / 485.9 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.1103, allocations: 15.88 kB / 485.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.1103, allocations: 0 / 485.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.159e-05/0.1104, allocations: 8 kB / 485.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.1104, allocations: 4.031 kB / 485.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.1104, allocations: 4 kB / 485.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1105, allocations: 111.2 kB / 486.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1105, allocations: 0 / 486.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000404/0.1109, allocations: 103.6 kB / 486.2 MB, free: 11.78 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.001363/0.1123, allocations: 0.8878 MB / 487 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.102e-05/0.1123, allocations: 7.984 kB / 487.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1123, allocations: 0 / 487.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.1123, allocations: 4 kB / 487.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1125, allocations: 8 kB / 487.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1139, allocations: 1.25 MB / 488.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1143, allocations: 0.6883 MB / 489 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.469e-05/0.1144, allocations: 24 kB / 489 MB, free: 8.848 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.1144, allocations: 19.44 kB / 489 MB, free: 8.828 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1144, allocations: 0 / 489 MB, free: 8.828 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.1434, allocations: 3.866 MB / 492.9 MB, free: 5.055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.011/8.154, allocations: 10.81 kB / 492.9 MB, free: 5.047 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSV_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.620580865070224] Failed to read output from testmodel.py, exit status != 0: 8.226870020385832 8.255986318 8.143833935 Calling exit ...