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.001355/0.001355, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001486/0.001486, allocations: 220.7 kB / 22.25 MB, free: 5.102 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.781 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.007189/0.007189, allocations: 1.011 MB / 313.4 MB, free: 1.895 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="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: 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.00201/0.00201, allocations: 63.91 kB / 435.7 MB, free: 16.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1058, allocations: 53.59 MB / 489.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001783/0.1076, allocations: 481.1 kB / 489.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.1101, allocations: 1.437 MB / 491.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.1101, allocations: 0 / 491.1 MB, free: 8.836 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.001765/0.1119, allocations: 332.3 kB / 491.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.286e-05/0.112, allocations: 27.92 kB / 491.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.042e-05/0.112, allocations: 7.984 kB / 491.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.082e-05/0.1121, allocations: 35.89 kB / 491.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.1121, allocations: 4 kB / 491.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.1122, allocations: 11.94 kB / 491.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.1122, allocations: 19.97 kB / 491.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.1122, allocations: 0 / 491.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005284/0.1128, allocations: 343.5 kB / 491.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.003e-05/0.1128, allocations: 19.92 kB / 491.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.892e-05/0.1129, allocations: 19.92 kB / 492 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.1133, allocations: 287.5 kB / 492.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1133, allocations: 4 kB / 492.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1133, allocations: 0 / 492.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.1133, allocations: 0 / 492.2 MB, free: 7.75 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.0005148/0.1139, allocations: 365.3 kB / 492.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1139, allocations: 12.03 kB / 492.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.667e-05/0.114, allocations: 110 kB / 492.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.1141, allocations: 84.17 kB / 492.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.1143, allocations: 217.7 kB / 493 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.507e-05/0.1144, allocations: 154.9 kB / 493.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.1145, allocations: 150.9 kB / 493.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.985e-05/0.1146, allocations: 108.9 kB / 493.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.1146, allocations: 75.28 kB / 493.5 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-05/0.1147, allocations: 158.5 kB / 493.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-05/0.1148, allocations: 154.5 kB / 493.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.1149, allocations: 150.6 kB / 493.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.1153, allocations: 433 kB / 494.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.1154, allocations: 165.1 kB / 494.5 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.131e-05/0.1155, allocations: 84.08 kB / 494.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.178e-05/0.1155, allocations: 83.22 kB / 494.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1157, allocations: 71.31 kB / 494.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 3.036e-06/0.1157, allocations: 0 / 494.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002201/0.116, allocations: 41.62 kB / 494.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.116, allocations: 51.41 kB / 494.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.1162, allocations: 149.7 kB / 495 MB, free: 4.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.1163, allocations: 25.7 kB / 495 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.1163, allocations: 84.14 kB / 495.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1163, allocations: 16.08 kB / 495.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.023e-05/0.1164, allocations: 9.719 kB / 495.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1166, allocations: 318.8 kB / 495.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.1166, allocations: 0 / 495.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.1166, allocations: 0 / 495.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.1166, allocations: 12.86 kB / 495.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1166, allocations: 0 / 495.4 MB, free: 4.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.486e-05/0.1167, allocations: 41.58 kB / 495.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.1167, allocations: 4 kB / 495.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1167, allocations: 96 / 495.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1168, allocations: 4 kB / 495.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.032e-05/0.1168, allocations: 3.984 kB / 495.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1168, allocations: 0 / 495.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.1168, allocations: 4 kB / 495.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.1169, allocations: 0 / 495.5 MB, free: 4.27 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 0.0001316/0.117, allocations: 113.8 kB / 495.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.117, allocations: 19.88 kB / 495.6 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.056e-05/0.1171, allocations: 11.42 kB / 495.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1171, allocations: 0 / 495.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1171, allocations: 0 / 495.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1171, allocations: 4 kB / 495.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1173, allocations: 132.7 kB / 495.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1173, allocations: 0 / 495.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.678e-06/0.1173, allocations: 0 / 495.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1173, allocations: 3.984 kB / 495.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.1173, allocations: 4 kB / 495.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1173, allocations: 3.938 kB / 495.8 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1173, allocations: 4 kB / 495.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.1175, allocations: 61.08 kB / 495.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1175, allocations: 11.94 kB / 495.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.1176, allocations: 8.016 kB / 495.9 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.1176, allocations: 15.92 kB / 495.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.1176, allocations: 4 kB / 495.9 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1176, allocations: 3.938 kB / 495.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000139/0.1178, allocations: 107.3 kB / 496 MB, free: 3.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1178, allocations: 0 / 496 MB, free: 3.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006838/0.1185, allocations: 107.6 kB / 496.1 MB, free: 3.59 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.001647/0.1201, allocations: 0.8844 MB / 497 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 9.136e-05/0.1202, allocations: 4 kB / 497 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1202, allocations: 0 / 497 MB, free: 2.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.283e-05/0.1202, allocations: 4.062 kB / 497 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1205, allocations: 19.92 kB / 497 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1222, allocations: 1.25 MB / 498.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.283e-05/0.1223, allocations: 71.28 kB / 498.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.16e-05/0.1224, allocations: 15.98 kB / 498.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.1225, allocations: 23.42 kB / 498.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1225, allocations: 0 / 498.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.1574, allocations: 4.443 MB / 0.491 GB, free: 12.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.07, allocations: 13.81 kB / 0.491 GB, free: 12.95 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.838998794992222] Failed to read output from testmodel.py, exit status != 0: 11.191317331016762 11.397023745 11.091315459 Calling exit ...