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.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.001468/0.001468, allocations: 114 kB / 18.14 MB, free: 3.781 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.001282/0.001282, allocations: 197.2 kB / 21.43 MB, free: 0.5 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.398/1.398, allocations: 225.6 MB / 250.2 MB, free: 13.26 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.00695/0.00695, allocations: 1.015 MB / 306.4 MB, free: 7.734 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.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: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 63.91 kB / 426.2 MB, free: 23.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09193, allocations: 52.37 MB / 478.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.00156/0.09349, allocations: 0.489 MB / 479.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002113/0.0956, allocations: 1.444 MB / 480.5 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.09563, allocations: 4 kB / 480.5 MB, free: 1.281 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.001345/0.09698, allocations: 325.9 kB / 480.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.09702, allocations: 27.91 kB / 480.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.722e-05/0.09706, allocations: 7.984 kB / 480.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.711e-05/0.09712, allocations: 15.98 kB / 480.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.267e-05/0.09715, allocations: 4 kB / 480.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.09718, allocations: 11.94 kB / 480.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.09727, allocations: 19.97 kB / 480.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.09728, allocations: 0 / 480.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004942/0.09778, allocations: 363.4 kB / 481.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.09783, allocations: 19.97 kB / 481.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.09787, allocations: 23.86 kB / 481.3 MB, free: 492 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.09827, allocations: 291.5 kB / 481.6 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09828, allocations: 0 / 481.6 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09828, allocations: 0 / 481.6 MB, free: 200 kB / 334.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.09828, allocations: 0 / 481.6 MB, free: 200 kB / 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.0005247/0.09881, allocations: 452.3 kB / 482 MB, free: 15.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.09885, allocations: 19.91 kB / 482.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.0989, allocations: 106 kB / 482.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.09899, allocations: 88.2 kB / 482.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.09921, allocations: 259.5 kB / 482.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.09927, allocations: 150.9 kB / 482.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.636e-05/0.09934, allocations: 154.9 kB / 482.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.266e-05/0.09941, allocations: 112.9 kB / 482.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.09945, allocations: 75.28 kB / 483 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.09951, allocations: 150.6 kB / 483.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/0.09957, allocations: 154.6 kB / 483.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.09963, allocations: 154.5 kB / 483.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003252/0.09996, allocations: 461.9 kB / 483.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.444e-05/0.1001, allocations: 169.1 kB / 484.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.543e-05/0.1001, allocations: 80.14 kB / 484.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.1001, allocations: 79.22 kB / 484.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.1003, allocations: 81.05 kB / 484.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/0.1003, allocations: 0 / 484.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.00016/0.1004, allocations: 67.36 kB / 484.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.1005, allocations: 128.5 kB / 484.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1006, allocations: 137.7 kB / 484.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1007, allocations: 29.7 kB / 484.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.1007, allocations: 88.12 kB / 484.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.1007, allocations: 128 / 484.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1007, allocations: 17.72 kB / 484.8 MB, free: 12.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1009, allocations: 314.8 kB / 485.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.1009, allocations: 7.938 kB / 485.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.1009, allocations: 0 / 485.1 MB, free: 12.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.143e-05/0.1009, allocations: 64.25 kB / 485.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1009, allocations: 0 / 485.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.223e-05/0.101, allocations: 71.3 kB / 485.2 MB, free: 12.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.1011, allocations: 33.8 kB / 485.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.1011, allocations: 0 / 485.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1011, allocations: 0 / 485.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-06/0.1011, allocations: 4 kB / 485.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.1011, allocations: 0 / 485.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.1011, allocations: 0 / 485.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1011, allocations: 3.984 kB / 485.2 MB, free: 12.25 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.0001093/0.1012, allocations: 147.4 kB / 485.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.1012, allocations: 7.938 kB / 485.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.172e-05/0.1012, allocations: 11.53 kB / 485.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1013, allocations: 0 / 485.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1013, allocations: 3.984 kB / 485.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1013, allocations: 3.938 kB / 485.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.1014, allocations: 161.6 kB / 485.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1014, allocations: 0 / 485.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1014, allocations: 0 / 485.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1014, allocations: 0 / 485.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.1014, allocations: 0 / 485.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.1014, allocations: 0 / 485.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1014, allocations: 0 / 485.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.1015, allocations: 102.7 kB / 485.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.1016, allocations: 93.08 kB / 485.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.1016, allocations: 4 kB / 485.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.884e-05/0.1016, allocations: 11.94 kB / 485.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.294e-05/0.1016, allocations: 0 / 485.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.1016, allocations: 3.938 kB / 485.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.599e-05/0.1017, allocations: 103.3 kB / 485.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1017, allocations: 4.031 kB / 485.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.1021, allocations: 103.6 kB / 486 MB, free: 11.4 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.00111/0.1032, allocations: 0.9075 MB / 486.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000121/0.1033, allocations: 59.39 kB / 486.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1033, allocations: 8.062 kB / 487 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.1033, allocations: 59.34 kB / 487 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.1035, allocations: 7.938 kB / 487 MB, free: 10.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.1047, allocations: 1.263 MB / 488.3 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.105, allocations: 0.6882 MB / 489 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.331e-05/0.105, allocations: 12 kB / 489 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.105, allocations: 23.42 kB / 489 MB, free: 8.273 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.105, allocations: 0 / 489 MB, free: 8.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.1328, allocations: 3.651 MB / 492.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.258, allocations: 3.438 kB / 492.7 MB, free: 4.711 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.609457103011664] Failed to read output from testmodel.py, exit status != 0: 8.331179130007513 8.356681691 8.253526899 Calling exit ...