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.0008413/0.0008413, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0008125/0.0008125, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.9008/0.9008, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.004563/0.004563, allocations: 0.7938 MB / 260 MB, free: 12.48 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.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 1.613e-06/1.613e-06, allocations: 0 / 382.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.992e-05, allocations: 6.281 kB / 382.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001078/0.001098, allocations: 0.4957 MB / 382.8 MB, free: 14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.002498, allocations: 1.425 MB / 384.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.002524, allocations: 0 / 384.2 MB, free: 12.57 MB / 314.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.001046/0.00357, allocations: 329.7 kB / 384.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.003607, allocations: 27.97 kB / 384.5 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.84e-05/0.003645, allocations: 11.92 kB / 384.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.86e-05/0.003714, allocations: 31.91 kB / 384.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.003746, allocations: 4 kB / 384.6 MB, free: 12.18 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.003782, allocations: 15.98 kB / 384.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.003819, allocations: 15.73 kB / 384.6 MB, free: 12.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.003831, allocations: 7.938 kB / 384.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003376/0.004169, allocations: 323.3 kB / 384.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.448e-05/0.004223, allocations: 23.91 kB / 385 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.004246, allocations: 19.98 kB / 385 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.004583, allocations: 327.2 kB / 385.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.004586, allocations: 3.984 kB / 385.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.004586, allocations: 0 / 385.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.00459, allocations: 0 / 385.3 MB, free: 11.46 MB / 314.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.0003404/0.00493, allocations: 365.4 kB / 385.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.004965, allocations: 12.03 kB / 385.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.601e-05/0.005011, allocations: 110 kB / 385.8 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.534e-05/0.005067, allocations: 88.17 kB / 385.9 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.005217, allocations: 220.9 kB / 386.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.005255, allocations: 150.9 kB / 386.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.005287, allocations: 154.9 kB / 386.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.825e-05/0.005335, allocations: 101.5 kB / 386.5 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.005354, allocations: 75.47 kB / 386.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.533e-05/0.005399, allocations: 166.5 kB / 386.7 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.005434, allocations: 150.6 kB / 386.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.076e-05/0.005474, allocations: 154.5 kB / 387 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.005667, allocations: 433 kB / 387.4 MB, free: 9.203 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.921e-05/0.005726, allocations: 173.1 kB / 387.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.188e-05/0.005748, allocations: 80.14 kB / 387.7 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.005767, allocations: 75.28 kB / 387.8 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.00587, allocations: 71.31 kB / 387.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/0.005872, allocations: 0 / 387.8 MB, free: 8.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001109/0.005983, allocations: 41.64 kB / 387.9 MB, free: 8.738 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.006014, allocations: 63.27 kB / 387.9 MB, free: 8.664 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.793e-05/0.006112, allocations: 138.2 kB / 388.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.006121, allocations: 29.7 kB / 388.1 MB, free: 8.484 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.006152, allocations: 88.14 kB / 388.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.006164, allocations: 8.078 kB / 388.2 MB, free: 8.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.006184, allocations: 13.72 kB / 388.2 MB, free: 8.367 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.006256, allocations: 318.8 kB / 388.5 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.006263, allocations: 0 / 388.5 MB, free: 8.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.006267, allocations: 4 kB / 388.5 MB, free: 8.043 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.58e-05/0.006283, allocations: 4.859 kB / 388.5 MB, free: 8.035 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.006284, allocations: 0 / 388.5 MB, free: 8.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.461e-05/0.006319, allocations: 37.64 kB / 388.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.00633, allocations: 7.938 kB / 388.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006335, allocations: 4.094 kB / 388.6 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.006344, allocations: 4 kB / 388.6 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.588e-05/0.00636, allocations: 3.938 kB / 388.6 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.006364, allocations: 3.984 kB / 388.6 MB, free: 7.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.006388, allocations: 4 kB / 388.6 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.006394, allocations: 3.984 kB / 388.6 MB, free: 7.961 MB / 314.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): 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 6.328e-05/0.006457, allocations: 117.8 kB / 388.7 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.006469, allocations: 7.953 kB / 388.7 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.597e-05/0.006495, allocations: 19.34 kB / 388.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006497, allocations: 0 / 388.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.0065, allocations: 0 / 388.7 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.006502, allocations: 4 kB / 388.7 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.459e-05/0.006587, allocations: 140.7 kB / 388.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.006588, allocations: 0 / 388.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.114e-06/0.00659, allocations: 0 / 388.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.006591, allocations: 0 / 388.9 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.006598, allocations: 7.938 kB / 388.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.2e-07/0.006598, allocations: 0 / 388.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006599, allocations: 0 / 388.9 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.959e-05/0.006649, allocations: 61.06 kB / 388.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.006666, allocations: 19.88 kB / 389 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.00668, allocations: 11.97 kB / 389 MB, free: 7.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.006695, allocations: 4 kB / 389 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.218e-06/0.006704, allocations: 3.984 kB / 389 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.006706, allocations: 0 / 389 MB, free: 7.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.006759, allocations: 119.3 kB / 389.1 MB, free: 7.383 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006759, allocations: 0 / 389.1 MB, free: 7.383 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002421/0.007002, allocations: 103.6 kB / 389.2 MB, free: 7.281 MB / 314.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: 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.0006472/0.007649, allocations: 0.8896 MB / 390.1 MB, free: 6.438 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.033e-05/0.007699, allocations: 4 kB / 390.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007701, allocations: 0 / 390.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.007705, allocations: 4.062 kB / 390.1 MB, free: 6.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001112/0.007816, allocations: 20.03 kB / 390.1 MB, free: 6.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.008563, allocations: 1.273 MB / 391.4 MB, free: 5.055 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.113e-05/0.008604, allocations: 70.12 kB / 391.5 MB, free: 4.969 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.847e-05/0.008633, allocations: 15.98 kB / 391.5 MB, free: 4.953 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.008671, allocations: 28.48 kB / 391.5 MB, free: 4.926 MB / 314.7 MB Notification: Performance of SimCode: time 3.21e-07/0.008672, allocations: 0 / 391.5 MB, free: 4.926 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.02511, allocations: 4.569 MB / 396.1 MB, free: 464 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.686/6.711, allocations: 13.94 kB / 396.1 MB, free: 456 kB / 314.7 MB " [Timeout remaining time 653] (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: 8.352676953189075] Failed to read output from testmodel.py, exit status != 0: 6.79588058963418 6.805184204 6.79896895 Calling exit ...