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.001675/0.001675, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002115/0.002115, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.006804/0.006804, allocations: 1.01 MB / 314.2 MB, free: 2.102 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="cs",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.001856/0.001856, allocations: 63.91 kB / 436.5 MB, free: 16.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.09048, allocations: 53.59 MB / 490.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001587/0.09207, allocations: 497 kB / 490.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.09433, allocations: 1.445 MB / 492 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.09436, allocations: 0 / 492 MB, free: 9.02 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.001372/0.09573, allocations: 330 kB / 492.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.09578, allocations: 19.98 kB / 492.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.93e-05/0.09583, allocations: 19.91 kB / 492.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.09592, allocations: 23.98 kB / 492.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.09596, allocations: 0 / 492.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.096, allocations: 23.97 kB / 492.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.821e-05/0.09607, allocations: 19.92 kB / 492.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.09609, allocations: 4 kB / 492.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.09667, allocations: 371.5 kB / 492.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.09674, allocations: 19.97 kB / 492.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.09678, allocations: 19.88 kB / 492.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.09721, allocations: 299.4 kB / 493.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/0.09722, allocations: 4 kB / 493.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.09722, allocations: 0 / 493.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.09722, allocations: 0 / 493.2 MB, free: 7.891 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.0005402/0.09776, allocations: 369.4 kB / 493.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.09781, allocations: 11.97 kB / 493.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.803e-05/0.09785, allocations: 83.47 kB / 493.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.757e-05/0.09792, allocations: 110 kB / 493.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.165e-05/0.09801, allocations: 88.16 kB / 493.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.09825, allocations: 209.8 kB / 494 MB, free: 6.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.09834, allocations: 158.9 kB / 494.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.0984, allocations: 154.7 kB / 494.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.106e-05/0.09848, allocations: 105 kB / 494.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.09852, allocations: 75.28 kB / 494.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.0986, allocations: 150.6 kB / 494.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.737e-05/0.09867, allocations: 150.6 kB / 494.8 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.473e-05/0.09874, allocations: 158.5 kB / 494.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.09908, allocations: 437 kB / 495.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.934e-05/0.09918, allocations: 169.1 kB / 495.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.09922, allocations: 84.08 kB / 495.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.09926, allocations: 79.28 kB / 495.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.09942, allocations: 67.31 kB / 495.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.655e-06/0.09943, allocations: 0 / 495.8 MB, free: 5.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001618/0.09959, allocations: 41.72 kB / 495.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.09963, allocations: 55.44 kB / 495.9 MB, free: 5.027 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.09979, allocations: 145.8 kB / 496 MB, free: 4.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.0998, allocations: 25.7 kB / 496 MB, free: 4.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.09985, allocations: 88.14 kB / 496.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.09987, allocations: 3.953 kB / 496.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.09989, allocations: 13.72 kB / 496.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1, allocations: 318.8 kB / 496.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.1001, allocations: 4 kB / 496.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.618e-06/0.1001, allocations: 0 / 496.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.1001, allocations: 12.86 kB / 496.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1001, allocations: 0 / 496.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.93e-05/0.1001, allocations: 41.58 kB / 496.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1002, allocations: 7.984 kB / 496.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1002, allocations: 0 / 496.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1002, allocations: 0 / 496.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.834e-05/0.1002, allocations: 0 / 496.5 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.1002, allocations: 8.078 kB / 496.5 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.1002, allocations: 4 kB / 496.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.1002, allocations: 0 / 496.5 MB, free: 4.324 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 8.855e-05/0.1003, allocations: 121.8 kB / 496.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.1003, allocations: 7.953 kB / 496.6 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.1004, allocations: 15.42 kB / 496.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1004, allocations: 0 / 496.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1004, allocations: 3.938 kB / 496.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1004, allocations: 0 / 496.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1005, allocations: 144.7 kB / 496.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.1005, allocations: 0 / 496.8 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-06/0.1005, allocations: 3.938 kB / 496.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1005, allocations: 0 / 496.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1005, allocations: 7.984 kB / 496.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.1005, allocations: 0 / 496.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.1005, allocations: 0 / 496.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.78e-05/0.1006, allocations: 69.02 kB / 496.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.1006, allocations: 15.97 kB / 496.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.1007, allocations: 3.984 kB / 496.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.914e-05/0.1007, allocations: 7.984 kB / 496.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.275e-06/0.1007, allocations: 0 / 496.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.1007, allocations: 0 / 496.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.757e-05/0.1008, allocations: 115.3 kB / 497 MB, free: 3.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1008, allocations: 0 / 497 MB, free: 3.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003707/0.1012, allocations: 103.6 kB / 497.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.001125/0.1023, allocations: 0.8747 MB / 498 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.171e-05/0.1024, allocations: 4 kB / 498 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1024, allocations: 0 / 498 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/0.1024, allocations: 0 / 498 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.1025, allocations: 15.97 kB / 498 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.1037, allocations: 1.265 MB / 499.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.104, allocations: 0.6846 MB / 500 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.1041, allocations: 15.98 kB / 500 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.1041, allocations: 23.42 kB / 0.4883 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1041, allocations: 0 / 0.4883 GB, free: 0.6875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.1277, allocations: 3.995 MB / 0.4922 GB, free: 12.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.6, allocations: 3.375 kB / 0.4922 GB, free: 12.83 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.213377036037855] Failed to read output from testmodel.py, exit status != 0: 10.754571444937028 10.950031507 10.676231972 Calling exit ...