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.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.001609/0.001609, allocations: 116.8 kB / 17.17 MB, free: 6 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.002033/0.002033, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.442/1.442, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.006529/0.006529, allocations: 1.023 MB / 310.6 MB, free: 3.266 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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",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.001897/0.001897, allocations: 64.89 kB / 431.3 MB, free: 40.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0788/0.08069, allocations: 53.54 MB / 484.8 MB, free: 18.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002043/0.08274, allocations: 1.261 MB / 486.1 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.08421, allocations: 1.234 MB / 487.3 MB, free: 16.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.08424, allocations: 0 / 487.3 MB, free: 16.29 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/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.00111/0.08535, allocations: 261.9 kB / 487.5 MB, free: 16.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.768e-05/0.08543, allocations: 62.53 kB / 487.6 MB, free: 16.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.196e-06/0.08543, allocations: 3.938 kB / 487.6 MB, free: 16.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.187e-05/0.08549, allocations: 36.94 kB / 487.6 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.08553, allocations: 0.75 kB / 487.6 MB, free: 16.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.08556, allocations: 23.06 kB / 487.7 MB, free: 16.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.08571, allocations: 44.42 kB / 487.7 MB, free: 16.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.286e-06/0.08572, allocations: 5.25 kB / 487.7 MB, free: 16.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003288/0.08605, allocations: 263.3 kB / 488 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.08611, allocations: 38.41 kB / 488 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.08614, allocations: 25 kB / 488 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.08642, allocations: 247.9 kB / 488.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.08643, allocations: 4 kB / 488.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08643, allocations: 0 / 488.3 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.08643, allocations: 1.062 kB / 488.3 MB, free: 15.71 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.0003703/0.0868, allocations: 432.6 kB / 488.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.08684, allocations: 14.06 kB / 488.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.225e-05/0.08686, allocations: 75.47 kB / 488.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.31e-05/0.08689, allocations: 106 kB / 488.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.08694, allocations: 83.92 kB / 489 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.08709, allocations: 277.9 kB / 489.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.08711, allocations: 152.4 kB / 489.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.08713, allocations: 158.7 kB / 489.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.856e-05/0.08717, allocations: 110.3 kB / 489.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.08718, allocations: 75.28 kB / 489.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.0872, allocations: 150.6 kB / 489.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.08722, allocations: 150.6 kB / 490 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.08724, allocations: 152 kB / 490.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.08743, allocations: 474.5 kB / 490.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.025e-05/0.08747, allocations: 174.7 kB / 490.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.08748, allocations: 88.08 kB / 490.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.0875, allocations: 75.28 kB / 491 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.08752, allocations: 110.9 kB / 491.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.08752, allocations: 0 / 491.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.074e-05/0.08759, allocations: 33.16 kB / 491.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.08762, allocations: 126.7 kB / 491.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.08778, allocations: 167.4 kB / 491.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.809e-06/0.08779, allocations: 25.7 kB / 491.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.774e-05/0.08782, allocations: 103.3 kB / 491.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.08782, allocations: 4 kB / 491.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.08783, allocations: 11.72 kB / 491.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.286e-05/0.08787, allocations: 312.9 kB / 491.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-06/0.08788, allocations: 0 / 491.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-06/0.08788, allocations: 0.6562 kB / 491.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.278e-05/0.08789, allocations: 83.77 kB / 491.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.0879, allocations: 75.28 kB / 492 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.41e-05/0.08796, allocations: 43.44 kB / 492 MB, free: 11.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.08798, allocations: 83.75 kB / 492.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.08799, allocations: 84.48 kB / 492.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.08802, allocations: 152 kB / 492.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-06/0.08803, allocations: 79.3 kB / 492.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.08805, allocations: 155.9 kB / 492.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.436e-05/0.08812, allocations: 81.92 kB / 492.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.08813, allocations: 84.69 kB / 492.7 MB, free: 11.16 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: 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 5.843e-05/0.08819, allocations: 271.4 kB / 493 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/0.08824, allocations: 113.6 kB / 493.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.08826, allocations: 111.8 kB / 493.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.08828, allocations: 181.8 kB / 493.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/0.08831, allocations: 185.5 kB / 493.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.08833, allocations: 180.2 kB / 493.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.08847, allocations: 422.7 kB / 494.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.08848, allocations: 110.6 kB / 494.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.315e-05/0.0885, allocations: 105 kB / 494.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.256e-05/0.08852, allocations: 177.5 kB / 494.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.08854, allocations: 185.5 kB / 494.7 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.232e-05/0.08856, allocations: 189.5 kB / 494.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.092e-05/0.08858, allocations: 180.2 kB / 495.1 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.812e-05/0.08865, allocations: 314.6 kB / 495.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.0887, allocations: 195 kB / 495.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.08874, allocations: 177.5 kB / 495.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.0888, allocations: 111.4 kB / 495.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.08883, allocations: 181.4 kB / 496.1 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.08885, allocations: 102.2 kB / 496.2 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.877e-05/0.08894, allocations: 129.2 kB / 496.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08894, allocations: 0 / 496.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003949/0.08933, allocations: 76.7 kB / 496.4 MB, free: 7.434 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: 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.0007949/0.09013, allocations: 1.031 MB / 497.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.288e-05/0.09017, allocations: 1.375 kB / 497.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.09017, allocations: 0 / 497.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.09017, allocations: 0 / 497.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.09045, allocations: 462.3 kB / 497.9 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.09178, allocations: 1.977 MB / 499.8 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.09188, allocations: 0.688 MB / 0.4888 GB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.824e-05/0.09191, allocations: 13.59 kB / 0.4888 GB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.09197, allocations: 35.81 kB / 0.4888 GB, free: 3.566 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09197, allocations: 0 / 0.4888 GB, free: 3.566 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1157, allocations: 3.508 MB / 0.4923 GB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.147, allocations: 11.94 kB / 0.4923 GB, free: 1.699 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.717163580004126] Failed to read output from testmodel.py, exit status != 0: 8.421272031031549 8.281353215 8.192190763 Calling exit ...