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.001226/0.001226, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001331/0.001331, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.389/1.389, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.006564/0.006564, allocations: 1.011 MB / 310.6 MB, free: 3.219 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.001886/0.001886, allocations: 67.3 kB / 431.3 MB, free: 40.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07861/0.0805, allocations: 53.54 MB / 484.8 MB, free: 18.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001431/0.08193, allocations: 497.5 kB / 485.3 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.08353, allocations: 1.358 MB / 486.6 MB, free: 16.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.08356, allocations: 0 / 486.6 MB, free: 16.93 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.001183/0.08474, allocations: 311.8 kB / 486.9 MB, free: 16.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.545e-05/0.08478, allocations: 21.08 kB / 487 MB, free: 16.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.974e-05/0.08482, allocations: 15.45 kB / 487 MB, free: 16.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.532e-05/0.0849, allocations: 28.27 kB / 487 MB, free: 16.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.08493, allocations: 5.125 kB / 487 MB, free: 16.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.08496, allocations: 17.12 kB / 487 MB, free: 16.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.08503, allocations: 19.28 kB / 487.1 MB, free: 16.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.08504, allocations: 1.062 kB / 487.1 MB, free: 16.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.08543, allocations: 342 kB / 487.4 MB, free: 16.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.08549, allocations: 27.94 kB / 487.4 MB, free: 16.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.08552, allocations: 21.39 kB / 487.4 MB, free: 16.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.08585, allocations: 290.8 kB / 487.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.08586, allocations: 0 / 487.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08586, allocations: 0 / 487.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.08586, allocations: 0 / 487.7 MB, free: 16.3 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.0004088/0.08627, allocations: 450.2 kB / 488.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.08631, allocations: 8.844 kB / 488.2 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.458e-05/0.08633, allocations: 80.88 kB / 488.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.279e-05/0.08636, allocations: 110 kB / 488.4 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.922e-05/0.08644, allocations: 84.67 kB / 488.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.08661, allocations: 267.7 kB / 488.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.08664, allocations: 164.5 kB / 488.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.08665, allocations: 154.7 kB / 489 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.038e-05/0.08669, allocations: 102.6 kB / 489.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.08671, allocations: 79.28 kB / 489.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.08674, allocations: 150.6 kB / 489.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/0.08676, allocations: 151.9 kB / 489.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.231e-05/0.08678, allocations: 158.5 kB / 489.6 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.08696, allocations: 459.6 kB / 490.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.313e-05/0.08701, allocations: 169.9 kB / 490.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.08702, allocations: 89.22 kB / 490.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.08704, allocations: 79.28 kB / 490.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.08715, allocations: 69.03 kB / 490.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.08715, allocations: 0 / 490.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001419/0.08729, allocations: 40.31 kB / 490.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.08732, allocations: 56.69 kB / 490.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.08744, allocations: 143 kB / 490.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.08744, allocations: 26.8 kB / 490.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.478e-05/0.08747, allocations: 86.45 kB / 490.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.232e-05/0.08748, allocations: 5.172 kB / 490.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.0875, allocations: 11.22 kB / 490.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.484e-05/0.08754, allocations: 320.3 kB / 491.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-06/0.08755, allocations: 5.406 kB / 491.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.219e-06/0.08756, allocations: 1.375 kB / 491.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.823e-05/0.08758, allocations: 7.266 kB / 491.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.08758, allocations: 0 / 491.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.91e-05/0.08763, allocations: 44.36 kB / 491.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.08764, allocations: 4.938 kB / 491.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.08765, allocations: 0 / 491.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.08766, allocations: 0 / 491.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.846e-05/0.08768, allocations: 5.203 kB / 491.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.08768, allocations: 4.094 kB / 491.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.481e-05/0.0877, allocations: 2.812 kB / 491.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.08771, allocations: 3.938 kB / 491.2 MB, free: 12.7 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 5.398e-05/0.08776, allocations: 121.6 kB / 491.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.08778, allocations: 11.81 kB / 491.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.326e-05/0.08781, allocations: 5.844 kB / 491.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.08781, allocations: 1.188 kB / 491.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.08781, allocations: 4 kB / 491.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.08782, allocations: 1.438 kB / 491.4 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.416e-05/0.0879, allocations: 172.2 kB / 491.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.0879, allocations: 0 / 491.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-06/0.0879, allocations: 0 / 491.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.08791, allocations: 5.484 kB / 491.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.08791, allocations: 0 / 491.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.08791, allocations: 0 / 491.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.08791, allocations: 1.5 kB / 491.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.939e-05/0.08797, allocations: 65.62 kB / 491.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.088, allocations: 97.39 kB / 491.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.08802, allocations: 1.375 kB / 491.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.577e-05/0.08804, allocations: 2.844 kB / 491.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-06/0.08805, allocations: 3.984 kB / 491.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.08805, allocations: 1.375 kB / 491.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.08812, allocations: 108.9 kB / 491.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08812, allocations: 0 / 491.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.08845, allocations: 106.6 kB / 491.9 MB, free: 12.03 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.0008415/0.0893, allocations: 0.8764 MB / 492.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.43e-05/0.08936, allocations: 2.875 kB / 492.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.08936, allocations: 1.312 kB / 492.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.52e-06/0.08937, allocations: 1.156 kB / 492.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.08951, allocations: 9.062 kB / 492.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.09025, allocations: 1.258 MB / 494.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.51e-05/0.09034, allocations: 0.6921 MB / 494.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.419e-05/0.09037, allocations: 16.67 kB / 494.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.09041, allocations: 26.02 kB / 494.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.09041, allocations: 0 / 494.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/0.1102, allocations: 3.883 MB / 498.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.064, allocations: 2.75 kB / 498.7 MB, free: 7.316 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.559544333955273] Failed to read output from testmodel.py, exit status != 0: 8.343511056969874 8.209225614 8.119124982 Calling exit ...