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.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.00129/0.00129, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001562/0.001562, allocations: 215.1 kB / 22.24 MB, free: 5.242 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.809 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.006855/0.006855, allocations: 1.021 MB / 313.4 MB, free: 1.91 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.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: 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.001939/0.001939, allocations: 67.91 kB / 435.7 MB, free: 16.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09218, allocations: 53.58 MB / 489.2 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001679/0.09386, allocations: 0.4947 MB / 489.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.09629, allocations: 1.418 MB / 491.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.09632, 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.001617/0.09794, allocations: 323 kB / 491.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.649e-05/0.09801, allocations: 27.91 kB / 491.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.758e-05/0.09805, allocations: 12 kB / 491.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.09814, allocations: 31.95 kB / 491.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.09819, allocations: 4 kB / 491.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.09823, allocations: 19.86 kB / 491.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.09828, allocations: 11.98 kB / 491.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.0983, allocations: 4 kB / 491.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005955/0.0989, allocations: 319.6 kB / 491.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.09897, allocations: 19.92 kB / 491.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.099, allocations: 15.92 kB / 491.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.09955, allocations: 295.4 kB / 492.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.09956, allocations: 0 / 492.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.09956, allocations: 4 kB / 492.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.09957, allocations: 0 / 492.2 MB, free: 7.801 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.0005331/0.1001, allocations: 361.4 kB / 492.6 MB, free: 7.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1001, allocations: 12.03 kB / 492.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.355e-05/0.1002, allocations: 114 kB / 492.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.325e-05/0.1003, allocations: 84.17 kB / 492.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1006, allocations: 229.6 kB / 493 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/0.1006, allocations: 154.9 kB / 493.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.1007, allocations: 150.9 kB / 493.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.1008, allocations: 104.9 kB / 493.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.1008, allocations: 83.28 kB / 493.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.1009, allocations: 154.5 kB / 493.6 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.806e-05/0.1009, allocations: 150.6 kB / 493.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.909e-05/0.101, allocations: 158.5 kB / 493.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.1013, allocations: 429 kB / 494.3 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1015, allocations: 173.1 kB / 494.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.52e-05/0.1016, allocations: 80.14 kB / 494.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.1016, allocations: 79.22 kB / 494.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.1018, allocations: 71.31 kB / 494.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.254e-06/0.1018, allocations: 0 / 494.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001523/0.1019, allocations: 41.62 kB / 494.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.102, allocations: 55.41 kB / 494.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1021, allocations: 137.8 kB / 495 MB, free: 4.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1021, allocations: 25.7 kB / 495 MB, free: 4.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.1022, allocations: 92.14 kB / 495.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.1022, allocations: 3.953 kB / 495.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.1022, allocations: 13.84 kB / 495.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1024, allocations: 318.8 kB / 495.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.1024, allocations: 4 kB / 495.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.1024, allocations: 0 / 495.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/0.1024, allocations: 8.859 kB / 495.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1024, allocations: 0 / 495.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.991e-05/0.1025, allocations: 41.58 kB / 495.5 MB, free: 4.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1025, allocations: 4 kB / 495.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1025, allocations: 0 / 495.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1025, allocations: 4.094 kB / 495.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.299e-05/0.1026, allocations: 3.984 kB / 495.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.1026, allocations: 4 kB / 495.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.1026, allocations: 0 / 495.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.1026, allocations: 0 / 495.5 MB, free: 4.316 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.0001106/0.1027, allocations: 117.8 kB / 495.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.1027, allocations: 15.88 kB / 495.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.1028, allocations: 11.42 kB / 495.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1028, allocations: 0 / 495.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1028, allocations: 0 / 495.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1028, allocations: 0 / 495.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1029, allocations: 136.7 kB / 495.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1029, allocations: 0 / 495.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-06/0.1029, allocations: 3.938 kB / 495.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1029, allocations: 7.938 kB / 495.8 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1029, allocations: 3.984 kB / 495.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1029, allocations: 4 kB / 495.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1029, allocations: 0 / 495.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.214e-05/0.103, allocations: 65.02 kB / 495.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.1031, allocations: 11.94 kB / 495.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1031, allocations: 4 kB / 495.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.351e-05/0.1031, allocations: 16.02 kB / 495.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.1031, allocations: 0 / 495.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.1031, allocations: 0 / 495.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1032, allocations: 111.3 kB / 496 MB, free: 3.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1032, allocations: 0 / 496 MB, free: 3.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.1036, allocations: 103.6 kB / 496.1 MB, free: 3.641 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.001161/0.1048, allocations: 0.8884 MB / 497 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.536e-05/0.1048, allocations: 4 kB / 497 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1048, allocations: 0 / 497 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.1048, allocations: 4 kB / 497 MB, free: 2.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.105, allocations: 19.77 kB / 497 MB, free: 2.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.1062, allocations: 1.253 MB / 498.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.488e-05/0.1063, allocations: 67.28 kB / 498.3 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.378e-05/0.1063, allocations: 20.06 kB / 498.3 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.1064, allocations: 23.42 kB / 498.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1064, allocations: 4 kB / 498.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.1365, allocations: 4.426 MB / 0.491 GB, free: 13.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/10.58, allocations: 7.062 kB / 0.491 GB, free: 13.01 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.117112563923001] Failed to read output from testmodel.py, exit status != 0: 10.689345991704613 10.889398035 10.611531368 Calling exit ...