Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealParameter.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.001667/0.001667, allocations: 110.4 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.001759/0.001759, allocations: 217.2 kB / 22.25 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.659/1.659, allocations: 230.6 MB / 256 MB, free: 7.953 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.008058/0.008058, allocations: 1.018 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.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",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.002079/0.002079, allocations: 67.89 kB / 435.7 MB, free: 16.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1446, allocations: 53.58 MB / 489.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002906/0.1475, allocations: 1.204 MB / 490.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004/0.1515, allocations: 2.244 MB / 492.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.1515, allocations: 0 / 492.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.206e-05/0.1515, allocations: 0 / 492.8 MB, free: 7.484 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/readRealParameter.mo:2:1-99:22:writable] Warning: Pure function 'KeyWordIO.readRealParameter' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001739/0.1533, allocations: 482.4 kB / 493.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.1533, allocations: 0 / 493.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.1533, allocations: 11.94 kB / 493.2 MB, free: 7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.1534, allocations: 0 / 493.2 MB, free: 7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.1534, allocations: 7.984 kB / 493.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.1539, allocations: 7.625 kB / 493.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.177e-06/0.154, allocations: 4 kB / 493.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.1551, allocations: 0.5268 MB / 493.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-06/0.1551, allocations: 3.938 kB / 493.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.1551, allocations: 0 / 493.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009207/0.156, allocations: 399.2 kB / 494.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.156, allocations: 0 / 494.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.156, allocations: 0 / 494.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.156, allocations: 0 / 494.2 MB, free: 6.062 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.0005427/0.1566, allocations: 349.4 kB / 494.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1566, allocations: 8.031 kB / 494.5 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.257e-05/0.1567, allocations: 110 kB / 494.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.234e-05/0.1568, allocations: 76.22 kB / 494.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.157, allocations: 185.8 kB / 494.9 MB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.147e-05/0.157, allocations: 150.9 kB / 495 MB, free: 5.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.1572, allocations: 162.5 kB / 495.2 MB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.305e-05/0.1573, allocations: 112.9 kB / 495.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.1574, allocations: 79.28 kB / 495.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.1574, allocations: 150.6 kB / 495.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-05/0.1575, allocations: 154.6 kB / 495.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.1576, allocations: 150.6 kB / 495.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.1579, allocations: 421 kB / 496.2 MB, free: 3.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.158, allocations: 173 kB / 496.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.1581, allocations: 84.08 kB / 496.5 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.325e-05/0.1581, allocations: 79.27 kB / 496.6 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.1582, allocations: 109.8 kB / 496.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.1582, allocations: 0 / 496.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.1e-05/0.1582, allocations: 37.66 kB / 496.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.345e-05/0.1583, allocations: 130.6 kB / 496.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.1584, allocations: 105.8 kB / 497 MB, free: 3.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.921e-05/0.1585, allocations: 25.7 kB / 497 MB, free: 3.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.1586, allocations: 84.14 kB / 497.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.1586, allocations: 0 / 497.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.1586, allocations: 9.719 kB / 497.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1587, allocations: 318.8 kB / 497.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-06/0.1587, allocations: 0 / 497.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-06/0.1587, allocations: 0 / 497.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.1588, allocations: 75.28 kB / 497.5 MB, free: 2.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.101e-05/0.1588, allocations: 75.33 kB / 497.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.86e-05/0.1589, allocations: 37.64 kB / 497.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.1589, allocations: 79.28 kB / 497.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/0.159, allocations: 87.2 kB / 497.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.571e-05/0.159, allocations: 154.6 kB / 497.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.586e-05/0.1591, allocations: 83.22 kB / 498 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.432e-05/0.1592, allocations: 150.6 kB / 498.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.1592, allocations: 75.28 kB / 498.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.169e-05/0.1593, allocations: 79.22 kB / 498.3 MB, free: 1.777 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.0001365/0.1594, allocations: 268.3 kB / 498.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.1595, allocations: 109 kB / 498.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.1595, allocations: 108.1 kB / 498.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.832e-05/0.1596, allocations: 180.3 kB / 498.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.171e-05/0.1597, allocations: 176.3 kB / 499.1 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.111e-05/0.1598, allocations: 180.2 kB / 499.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.1601, allocations: 384.2 kB / 499.6 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001239/0.1602, allocations: 104.9 kB / 499.7 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.1603, allocations: 101 kB / 499.8 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001051/0.1604, allocations: 184.2 kB / 0.4883 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/0.1605, allocations: 184.2 kB / 0.4885 GB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-05/0.1606, allocations: 184.3 kB / 0.4886 GB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.57e-05/0.1606, allocations: 180.2 kB / 0.4888 GB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001804/0.1608, allocations: 312.1 kB / 0.4891 GB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.914e-05/0.1609, allocations: 105 kB / 0.4892 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.161, allocations: 180.3 kB / 0.4894 GB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.1611, allocations: 108.9 kB / 0.4895 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.682e-05/0.1611, allocations: 188.2 kB / 0.4897 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.1612, allocations: 112.8 kB / 0.4898 GB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.954e-05/0.1613, allocations: 83.47 kB / 0.4899 GB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1613, allocations: 0 / 0.4899 GB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000666/0.1619, allocations: 143.5 kB / 0.49 GB, free: 14.08 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.001726/0.1636, allocations: 1.198 MB / 0.4912 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.253e-05/0.1637, allocations: 0 / 0.4912 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1637, allocations: 4 kB / 0.4912 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.551e-06/0.1637, allocations: 7.938 kB / 0.4912 GB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1641, allocations: 455.7 kB / 0.4916 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.1659, allocations: 1.657 MB / 0.4932 GB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.1663, allocations: 0.669 MB / 0.4939 GB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.29e-05/0.1663, allocations: 8.062 kB / 0.4939 GB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1663, allocations: 15.42 kB / 0.4939 GB, free: 10 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1663, allocations: 0 / 0.4939 GB, free: 10 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04104/0.2074, allocations: 4.438 MB / 0.4982 GB, free: 5.688 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.06/14.27, allocations: 11.98 kB / 0.4982 GB, free: 5.676 MB / 366.1 MB " [Timeout remaining time 646] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealParameter.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealParameter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.443902170984074] Failed to read output from testmodel.py, exit status != 0: 14.374285760102794 14.639490106 14.480276608 Calling exit ...