Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.001255/0.001255, allocations: 105 kB / 16.45 MB, free: 6.445 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.001328/0.001328, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.006587/0.006587, allocations: 1.013 MB / 303.7 MB, free: 3.598 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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 71.88 kB / 422 MB, free: 7.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2708, allocations: 52.35 MB / 474.4 MB, free: 28.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001978/0.2728, allocations: 1.263 MB / 475.7 MB, free: 27.17 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.2743, allocations: 1.225 MB / 476.9 MB, free: 26.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.209e-05/0.2743, allocations: 0 / 476.9 MB, free: 26.32 MB / 366.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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001221/0.2755, allocations: 262.8 kB / 477.1 MB, free: 26.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.2756, allocations: 55.62 kB / 477.2 MB, free: 26.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.795e-06/0.2756, allocations: 0 / 477.2 MB, free: 26.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.956e-05/0.2756, allocations: 41.12 kB / 477.2 MB, free: 26.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.092e-05/0.2757, allocations: 2.969 kB / 477.2 MB, free: 26.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.2757, allocations: 16.34 kB / 477.3 MB, free: 26.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.2759, allocations: 43.47 kB / 477.3 MB, free: 26.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.455e-06/0.2759, allocations: 4 kB / 477.3 MB, free: 26.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.2762, allocations: 269 kB / 477.6 MB, free: 26.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.841e-05/0.2762, allocations: 36.2 kB / 477.6 MB, free: 26.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.2763, allocations: 21.22 kB / 477.6 MB, free: 26.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.2766, allocations: 245.5 kB / 477.9 MB, free: 25.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2766, allocations: 0 / 477.9 MB, free: 25.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2766, allocations: 0 / 477.9 MB, free: 25.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2766, allocations: 7.25 kB / 477.9 MB, free: 25.95 MB / 366.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.0004145/0.277, allocations: 439.3 kB / 478.3 MB, free: 25.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.277, allocations: 9.5 kB / 478.3 MB, free: 25.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.68e-05/0.2771, allocations: 110 kB / 478.4 MB, free: 25.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.2771, allocations: 83.42 kB / 478.5 MB, free: 25.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/0.2773, allocations: 276.8 kB / 478.8 MB, free: 25.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.2773, allocations: 158.9 kB / 478.9 MB, free: 24.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.2773, allocations: 150.9 kB / 479.1 MB, free: 24.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.686e-05/0.2774, allocations: 112.1 kB / 479.2 MB, free: 24.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2774, allocations: 79.28 kB / 479.3 MB, free: 24.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.2774, allocations: 150.6 kB / 479.4 MB, free: 24.4 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.2775, allocations: 153.8 kB / 479.5 MB, free: 24.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.2775, allocations: 150.6 kB / 479.7 MB, free: 24.11 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.2777, allocations: 465.3 kB / 480.1 MB, free: 23.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.001e-05/0.2777, allocations: 176.2 kB / 480.3 MB, free: 23.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.66e-05/0.2777, allocations: 80.14 kB / 480.4 MB, free: 23.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.2778, allocations: 79.22 kB / 480.5 MB, free: 23.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.2778, allocations: 109.4 kB / 480.6 MB, free: 23.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.2778, allocations: 0 / 480.6 MB, free: 23.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 7.529e-05/0.2779, allocations: 44.78 kB / 480.6 MB, free: 23.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2779, allocations: 126.7 kB / 480.8 MB, free: 22.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.278, allocations: 165.6 kB / 480.9 MB, free: 22.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-06/0.2781, allocations: 25.7 kB / 480.9 MB, free: 22.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.062e-05/0.2781, allocations: 94.56 kB / 481 MB, free: 22.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-06/0.2781, allocations: 0 / 481 MB, free: 22.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.743e-05/0.2781, allocations: 12.66 kB / 481 MB, free: 22.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.2782, allocations: 325.3 kB / 481.4 MB, free: 22.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.361e-06/0.2782, allocations: 3.938 kB / 481.4 MB, free: 22.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.2782, allocations: 0 / 481.4 MB, free: 22.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.2782, allocations: 75.28 kB / 481.4 MB, free: 22.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-05/0.2782, allocations: 75.28 kB / 481.5 MB, free: 22.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.539e-05/0.2783, allocations: 35.58 kB / 481.5 MB, free: 22.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2783, allocations: 85.09 kB / 481.6 MB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.2783, allocations: 75.28 kB / 481.7 MB, free: 22.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/0.2783, allocations: 165.9 kB / 481.9 MB, free: 21.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.399e-05/0.2784, allocations: 82.38 kB / 481.9 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.2784, allocations: 158.6 kB / 482.1 MB, free: 21.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.774e-05/0.2784, allocations: 82.25 kB / 482.2 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2785, allocations: 75.28 kB / 482.3 MB, free: 21.52 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.01e-05/0.2785, allocations: 272.7 kB / 482.5 MB, free: 21.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.2786, allocations: 115.8 kB / 482.6 MB, free: 21.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.2786, allocations: 115.3 kB / 482.7 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.979e-05/0.2787, allocations: 183.3 kB / 482.9 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-05/0.2787, allocations: 180.2 kB / 483.1 MB, free: 20.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/0.2787, allocations: 176.3 kB / 483.3 MB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.2789, allocations: 421 kB / 483.7 MB, free: 20.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/0.2789, allocations: 115.2 kB / 483.8 MB, free: 19.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.2789, allocations: 101 kB / 483.9 MB, free: 19.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.78e-05/0.2789, allocations: 180.2 kB / 484.1 MB, free: 19.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.279, allocations: 187.3 kB / 484.3 MB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.64e-05/0.279, allocations: 180.3 kB / 484.4 MB, free: 19.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-05/0.279, allocations: 187.6 kB / 484.6 MB, free: 19.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.36e-05/0.2791, allocations: 310.1 kB / 484.9 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.2792, allocations: 195.3 kB / 485.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.411e-05/0.2792, allocations: 182.8 kB / 485.3 MB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-05/0.2793, allocations: 111.8 kB / 485.4 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.2793, allocations: 176.3 kB / 485.6 MB, free: 18.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2793, allocations: 104.9 kB / 485.7 MB, free: 17.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.88e-05/0.2794, allocations: 138 kB / 485.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2794, allocations: 0 / 485.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.2798, allocations: 84.44 kB / 485.9 MB, free: 17.84 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0007573/0.2805, allocations: 1.042 MB / 486.9 MB, free: 16.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.071e-05/0.2806, allocations: 7.938 kB / 486.9 MB, free: 16.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2806, allocations: 0 / 486.9 MB, free: 16.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.81e-07/0.2806, allocations: 0 / 486.9 MB, free: 16.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002545/0.2808, allocations: 455.1 kB / 487.4 MB, free: 16.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.282, allocations: 1.973 MB / 489.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.2822, allocations: 0.6909 MB / 490 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.234e-05/0.2822, allocations: 12.12 kB / 490.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.093e-05/0.2822, allocations: 31.47 kB / 490.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2822, allocations: 0 / 490.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3115, allocations: 3.474 MB / 493.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/8.765, allocations: 2.906 kB / 493.6 MB, free: 13.47 MB / 366.1 MB " [Timeout remaining time 651] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealCSV_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.128166974987835] Failed to read output from testmodel.py, exit status != 0: 8.83688432816416 8.857198387 8.577360591 Calling exit ...