Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.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.001319/0.001319, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001393/0.001393, allocations: 211.2 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.335/1.335, allocations: 230.6 MB / 256 MB, free: 7.793 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.00686/0.00686, allocations: 1.008 MB / 313.4 MB, free: 1.906 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.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: "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSVUnquoted,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: KeyWordIO requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.89 kB / 435.7 MB, free: 16.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.0862, allocations: 53.58 MB / 489.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001574/0.08777, allocations: 493 kB / 489.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.08996, allocations: 1.418 MB / 491.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.08998, allocations: 0 / 491.1 MB, free: 8.867 MB / 350.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.001281/0.09126, allocations: 337.4 kB / 491.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.09131, allocations: 19.98 kB / 491.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.745e-05/0.09135, allocations: 11.98 kB / 491.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.871e-05/0.09141, allocations: 23.92 kB / 491.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.025e-05/0.09144, allocations: 7.938 kB / 491.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.09148, allocations: 11.92 kB / 491.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.09154, allocations: 11.98 kB / 491.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.09156, allocations: 0 / 491.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004903/0.09205, allocations: 319.5 kB / 491.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.09211, allocations: 19.92 kB / 491.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.09214, allocations: 11.98 kB / 491.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004362/0.09258, allocations: 283.5 kB / 492.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.09259, allocations: 3.984 kB / 492.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09259, allocations: 4 kB / 492.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.09259, allocations: 0 / 492.2 MB, free: 7.828 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.0004812/0.09307, allocations: 375.1 kB / 492.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.09311, allocations: 12.03 kB / 492.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.571e-05/0.09318, allocations: 106 kB / 492.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.895e-05/0.09326, allocations: 84.17 kB / 492.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.09346, allocations: 209.7 kB / 493 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.09352, allocations: 150.9 kB / 493.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/0.09358, allocations: 158.9 kB / 493.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.726e-05/0.09365, allocations: 104.9 kB / 493.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.09369, allocations: 79.22 kB / 493.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.595e-05/0.09376, allocations: 154.6 kB / 493.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.14e-05/0.09382, allocations: 154.6 kB / 493.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.402e-05/0.09388, allocations: 150.6 kB / 493.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.09419, allocations: 425 kB / 494.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.09428, allocations: 173.1 kB / 494.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.09433, allocations: 84.08 kB / 494.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.09436, allocations: 79.22 kB / 494.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.09451, allocations: 98.81 kB / 494.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.09451, allocations: 0 / 494.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001945/0.0947, allocations: 122.8 kB / 494.8 MB, free: 4.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.09479, allocations: 132.5 kB / 495 MB, free: 4.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.09492, allocations: 137.8 kB / 495.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.09493, allocations: 25.7 kB / 495.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.09498, allocations: 88.14 kB / 495.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.095, allocations: 0 / 495.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.09502, allocations: 9.719 kB / 495.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.09516, allocations: 322.8 kB / 495.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.09518, allocations: 25.7 kB / 495.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.05e-05/0.0952, allocations: 33.64 kB / 495.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/0.09526, allocations: 64.45 kB / 495.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.09526, allocations: 4 kB / 495.7 MB, free: 4.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.384e-05/0.09535, allocations: 101 kB / 495.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.245e-05/0.09538, allocations: 37.58 kB / 495.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.09539, allocations: 0 / 495.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.0954, allocations: 0 / 495.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.0954, allocations: 0 / 495.8 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.09541, allocations: 4 kB / 495.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.09544, allocations: 0 / 495.8 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.09544, allocations: 0 / 495.8 MB, free: 3.895 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): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001029/0.09554, allocations: 155.5 kB / 496 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.09556, allocations: 7.938 kB / 496 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.709e-05/0.09558, allocations: 11.42 kB / 496 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.09558, allocations: 0 / 496 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.09559, allocations: 0 / 496 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.09559, allocations: 0 / 496 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.0957, allocations: 132.7 kB / 496.1 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.0957, allocations: 7.984 kB / 496.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.0957, allocations: 0 / 496.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.09571, allocations: 0 / 496.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.09571, allocations: 0 / 496.1 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.09571, allocations: 4 kB / 496.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.09572, allocations: 4 kB / 496.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.09584, allocations: 128.4 kB / 496.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.487e-05/0.09587, allocations: 4 kB / 496.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.09588, allocations: 0 / 496.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.495e-05/0.09591, allocations: 4 kB / 496.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-06/0.09592, allocations: 0 / 496.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.09592, allocations: 4 kB / 496.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.835e-05/0.096, allocations: 107.2 kB / 496.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.096, allocations: 0 / 496.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000351/0.09635, allocations: 111.6 kB / 496.5 MB, free: 3.133 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: 1 ($whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001069/0.09742, allocations: 0.9337 MB / 497.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.09753, allocations: 114.7 kB / 497.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09754, allocations: 0 / 497.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.09759, allocations: 89.05 kB / 497.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.09772, allocations: 7.984 kB / 497.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.09893, allocations: 1.388 MB / 499 MB, free: 488 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.848e-05/0.09899, allocations: 67.28 kB / 499.1 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.324e-05/0.09901, allocations: 8.219 kB / 499.1 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.09905, allocations: 27.42 kB / 499.1 MB, free: 364 kB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09905, allocations: 0 / 499.1 MB, free: 364 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03262/0.1317, allocations: 4.207 MB / 0.4915 GB, free: 12.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.81, allocations: 12 kB / 0.4915 GB, free: 12.27 MB / 366.1 MB " [Timeout remaining time 649] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSVUnquoted.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSVUnquoted.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.289374370127916] Failed to read output from testmodel.py, exit status != 0: 10.922208824194968 11.120354784 10.851803236 Calling exit ...