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.0007986/0.0007986, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008972/0.0008972, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9239/0.9239, allocations: 177.1 MB / 202.8 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.003776/0.003776, allocations: 0.7989 MB / 260 MB, free: 12.44 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 382.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.101e-05, allocations: 2.281 kB / 382.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSVUnquoted): time 0.001523/0.001544, allocations: 487.8 kB / 382.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.003502, allocations: 1.441 MB / 384.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.003532, allocations: 0 / 384.2 MB, free: 13.73 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.1/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.1/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.1/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.001501/0.005033, allocations: 318.2 kB / 384.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.005095, allocations: 27.97 kB / 384.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.584e-05/0.005141, allocations: 4 kB / 384.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.827e-05/0.005209, allocations: 23.91 kB / 384.5 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.005248, allocations: 7.938 kB / 384.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.005294, allocations: 8 kB / 384.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.005357, allocations: 14.98 kB / 384.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.00537, allocations: 8 kB / 384.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000499/0.005869, allocations: 323.3 kB / 384.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.00593, allocations: 12 kB / 384.9 MB, free: 13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.005971, allocations: 11.94 kB / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.006331, allocations: 331.1 kB / 385.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006334, allocations: 0 / 385.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006336, allocations: 0 / 385.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.00634, allocations: 0 / 385.2 MB, free: 12.67 MB / 362.7 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.0003517/0.006692, allocations: 383.1 kB / 385.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.006727, allocations: 8.031 kB / 385.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.006767, allocations: 114 kB / 385.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.006814, allocations: 88.16 kB / 385.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.00696, allocations: 212.9 kB / 386 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.006995, allocations: 158.9 kB / 386.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.007027, allocations: 154.9 kB / 386.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.439e-05/0.007072, allocations: 101.5 kB / 386.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.007089, allocations: 75.47 kB / 386.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.007125, allocations: 158.5 kB / 386.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.007158, allocations: 150.6 kB / 386.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.007205, allocations: 150.6 kB / 387 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.007403, allocations: 429 kB / 387.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.007462, allocations: 177.1 kB / 387.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.007483, allocations: 84.14 kB / 387.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.007502, allocations: 75.28 kB / 387.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.007622, allocations: 94.81 kB / 387.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 2.274e-06/0.007625, allocations: 0 / 387.8 MB, free: 9.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.007779, allocations: 130.7 kB / 387.9 MB, free: 9.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.007826, allocations: 128.5 kB / 388.1 MB, free: 9.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.899e-05/0.007915, allocations: 133.8 kB / 388.2 MB, free: 9.496 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.007922, allocations: 25.7 kB / 388.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.126e-05/0.007954, allocations: 92.25 kB / 388.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.194e-05/0.007966, allocations: 7.953 kB / 388.3 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.007987, allocations: 13.72 kB / 388.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.00806, allocations: 318.8 kB / 388.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.008076, allocations: 33.64 kB / 388.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.008142, allocations: 25.7 kB / 388.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.008174, allocations: 60.27 kB / 388.8 MB, free: 8.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008176, allocations: 3.938 kB / 388.8 MB, free: 8.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.41e-05/0.00823, allocations: 93.09 kB / 388.8 MB, free: 8.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.008257, allocations: 40.92 kB / 388.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.008261, allocations: 4.094 kB / 388.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.00827, allocations: 0 / 388.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.008271, allocations: 0 / 388.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.008275, allocations: 0 / 388.9 MB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.008298, allocations: 4 kB / 388.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.008303, allocations: 0 / 388.9 MB, free: 8.715 MB / 362.7 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 6.352e-05/0.008366, allocations: 147.5 kB / 389 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.008376, allocations: 7.953 kB / 389 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.008392, allocations: 19.36 kB / 389.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.008394, allocations: 0 / 389.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.008397, allocations: 4 kB / 389.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008401, allocations: 7.969 kB / 389.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.878e-05/0.00846, allocations: 128.8 kB / 389.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.00846, allocations: 0 / 389.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.008461, allocations: 0 / 389.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.008462, allocations: 0 / 389.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.008468, allocations: 3.938 kB / 389.2 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00847, allocations: 8 kB / 389.2 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008471, allocations: 3.938 kB / 389.2 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.768e-05/0.008539, allocations: 116.5 kB / 389.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.008553, allocations: 7.984 kB / 389.3 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.008568, allocations: 11.94 kB / 389.4 MB, free: 8.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.556e-05/0.008584, allocations: 4 kB / 389.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.008592, allocations: 0 / 389.4 MB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.008595, allocations: 3.984 kB / 389.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.791e-05/0.008643, allocations: 103.3 kB / 389.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008643, allocations: 0 / 389.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.008896, allocations: 111.5 kB / 389.6 MB, free: 7.945 MB / 362.7 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.0006534/0.009549, allocations: 0.9505 MB / 390.5 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.009635, allocations: 110.8 kB / 390.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009637, allocations: 0 / 390.6 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.278e-05/0.00966, allocations: 85.17 kB / 390.7 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.009775, allocations: 8 kB / 390.7 MB, free: 6.785 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/0.01057, allocations: 1.405 MB / 392.1 MB, free: 5.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.414e-05/0.01062, allocations: 63.34 kB / 392.2 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.01078, allocations: 11.98 kB / 392.2 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.01082, allocations: 28.48 kB / 392.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01082, allocations: 0 / 392.2 MB, free: 5.137 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.02892, allocations: 4.369 MB / 396.6 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.514/6.543, allocations: 14.67 kB / 396.6 MB, free: 0.8672 MB / 362.7 MB " [Timeout remaining time 653] (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: 8.268680853769183] Failed to read output from testmodel.py, exit status != 0: 6.629627383314073 6.637023357 6.628914743 Calling exit ...