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.001875/0.001875, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001703/0.001703, allocations: 219.5 kB / 22.26 MB, free: 5.125 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.682/1.682, allocations: 230.6 MB / 256 MB, free: 7.984 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.007922/0.007922, allocations: 1.022 MB / 313.5 MB, free: 2.078 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="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: 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.00222/0.00222, allocations: 67.91 kB / 435.7 MB, free: 16.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1504, allocations: 53.57 MB / 489.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.003226/0.1536, allocations: 1.281 MB / 490.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.1564, allocations: 1.321 MB / 491.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.1565, allocations: 4 kB / 491.9 MB, free: 8.328 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.001774/0.1582, allocations: 267 kB / 492.2 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1583, allocations: 51.88 kB / 492.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.36e-06/0.1583, allocations: 4 kB / 492.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1585, allocations: 43.78 kB / 492.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1585, allocations: 7.984 kB / 492.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.1586, allocations: 15.94 kB / 492.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.1588, allocations: 47.86 kB / 492.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.856e-06/0.1588, allocations: 0 / 492.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.1593, allocations: 295.5 kB / 492.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.866e-05/0.1594, allocations: 35.95 kB / 492.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.1594, allocations: 27.8 kB / 492.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.1598, allocations: 247.5 kB / 492.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1598, allocations: 0 / 492.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1598, allocations: 4 kB / 492.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1598, allocations: 4 kB / 492.9 MB, free: 7.297 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.0005615/0.1604, allocations: 361.4 kB / 493.3 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1604, allocations: 12.03 kB / 493.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.687e-05/0.1605, allocations: 106 kB / 493.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.367e-05/0.1606, allocations: 80.17 kB / 493.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.1609, allocations: 221.6 kB / 493.7 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.903e-05/0.161, allocations: 158.9 kB / 493.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/0.1611, allocations: 158.9 kB / 494 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.186e-05/0.1611, allocations: 104.9 kB / 494.1 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.1612, allocations: 75.28 kB / 494.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.1613, allocations: 150.6 kB / 494.3 MB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.874e-05/0.1614, allocations: 150.6 kB / 494.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.473e-05/0.1614, allocations: 158.5 kB / 494.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.1618, allocations: 441 kB / 495.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.162, allocations: 165.1 kB / 495.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.1621, allocations: 80.14 kB / 495.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.593e-05/0.1622, allocations: 83.22 kB / 495.4 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.329e-05/0.1623, allocations: 113.8 kB / 495.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1623, allocations: 0 / 495.5 MB, free: 4.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001052/0.1624, allocations: 37.59 kB / 495.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.1624, allocations: 134.6 kB / 495.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.1627, allocations: 168.4 kB / 495.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1627, allocations: 29.7 kB / 495.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.1628, allocations: 96.12 kB / 496 MB, free: 4.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.1628, allocations: 0 / 496 MB, free: 4.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.1628, allocations: 9.719 kB / 496 MB, free: 4.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.163, allocations: 318.8 kB / 496.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.572e-06/0.163, allocations: 3.938 kB / 496.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.163, allocations: 0 / 496.3 MB, free: 3.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/0.163, allocations: 75.28 kB / 496.4 MB, free: 3.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.671e-05/0.1631, allocations: 79.28 kB / 496.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.724e-05/0.1631, allocations: 45.59 kB / 496.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.1632, allocations: 83.28 kB / 496.6 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.822e-05/0.1632, allocations: 79.3 kB / 496.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.48e-05/0.1633, allocations: 154.5 kB / 496.8 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.1634, allocations: 79.28 kB / 496.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/0.1636, allocations: 154.6 kB / 497 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.1637, allocations: 83.22 kB / 497.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.1638, allocations: 79.28 kB / 497.2 MB, free: 2.848 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 0.0001784/0.1639, allocations: 264.4 kB / 497.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.164, allocations: 116.8 kB / 497.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.318e-05/0.1641, allocations: 120.8 kB / 497.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001041/0.1642, allocations: 184.3 kB / 497.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.353e-05/0.1643, allocations: 180.2 kB / 498 MB, free: 1.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.032e-05/0.1644, allocations: 176.3 kB / 498.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.1647, allocations: 396.2 kB / 498.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.647e-05/0.1648, allocations: 104.9 kB / 498.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.1648, allocations: 101 kB / 498.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000133/0.1649, allocations: 188.2 kB / 499 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.1651, allocations: 180.3 kB / 499.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.881e-05/0.1652, allocations: 184.2 kB / 499.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.729e-05/0.1653, allocations: 176.3 kB / 499.5 MB, free: 396 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.1655, allocations: 315.7 kB / 499.8 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.838e-05/0.1656, allocations: 116.9 kB / 499.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-05/0.1657, allocations: 180.2 kB / 0.4884 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.1658, allocations: 105 kB / 0.4885 GB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.1659, allocations: 184.2 kB / 0.4887 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.1659, allocations: 108.9 kB / 0.4888 GB, free: 15.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.1661, allocations: 139.2 kB / 0.4889 GB, free: 15.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1661, allocations: 0 / 0.4889 GB, free: 15.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005748/0.1666, allocations: 75.67 kB / 0.489 GB, free: 15.13 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.001089/0.1677, allocations: 1.027 MB / 0.49 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.64e-05/0.1678, allocations: 7.938 kB / 0.49 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1678, allocations: 0 / 0.49 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.597e-06/0.1678, allocations: 4 kB / 0.49 GB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.1683, allocations: 459.1 kB / 0.4904 GB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.1705, allocations: 1.97 MB / 0.4923 GB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.1709, allocations: 0.6923 MB / 0.493 GB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.893e-05/0.171, allocations: 15.98 kB / 0.493 GB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1711, allocations: 31.42 kB / 0.4931 GB, free: 10.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1711, allocations: 0 / 0.4931 GB, free: 10.85 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04474/0.2158, allocations: 3.603 MB / 0.4966 GB, free: 7.383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.9/14.11, allocations: 2.234 kB / 0.4966 GB, free: 7.383 MB / 366.1 MB " [Timeout remaining time 646] (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: 17.345204967074096] Failed to read output from testmodel.py, exit status != 0: 14.21983272721991 14.496807354 14.33384783 Calling exit ...