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.001321/0.001321, allocations: 116.8 kB / 17.17 MB, free: 5.906 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.001425/0.001425, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.425/1.425, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.006631/0.006631, allocations: 1.012 MB / 310.6 MB, free: 3.297 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealParameter,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealParameter",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.001927/0.001927, allocations: 68 kB / 431.3 MB, free: 40.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08047/0.08239, allocations: 53.54 MB / 484.8 MB, free: 18.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealParameter): time 0.002545/0.08494, allocations: 1.205 MB / 486 MB, free: 17.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.08783, allocations: 2.14 MB / 488.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.08785, allocations: 0 / 488.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.08787, allocations: 3.938 kB / 488.1 MB, free: 15.66 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.001495/0.08937, allocations: 475.5 kB / 488.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.817e-06/0.08937, allocations: 0 / 488.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.413e-05/0.08941, allocations: 3.781 kB / 488.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.08946, allocations: 1.312 kB / 488.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.787e-05/0.08948, allocations: 10.44 kB / 488.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.08974, allocations: 16.72 kB / 488.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-06/0.08975, allocations: 0 / 488.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008345/0.09058, allocations: 0.519 MB / 489.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.981e-06/0.09059, allocations: 0 / 489.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.0906, allocations: 2.25 kB / 489.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.09117, allocations: 394.8 kB / 489.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.09117, allocations: 0 / 489.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09117, allocations: 0 / 489.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.718e-06/0.09118, allocations: 0 / 489.5 MB, free: 14.85 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.0003639/0.09154, allocations: 426.2 kB / 490 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.09158, allocations: 9.062 kB / 490 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.495e-05/0.09161, allocations: 80.59 kB / 490.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.09163, allocations: 106 kB / 490.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/0.09167, allocations: 77.28 kB / 490.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.09178, allocations: 241.9 kB / 490.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.0918, allocations: 159.9 kB / 490.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.09182, allocations: 154.6 kB / 490.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.959e-05/0.09186, allocations: 110 kB / 490.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.09187, allocations: 75.28 kB / 491 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.09189, allocations: 151.7 kB / 491.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.09191, allocations: 150.6 kB / 491.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.363e-05/0.09193, allocations: 159.8 kB / 491.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.0921, allocations: 448.2 kB / 491.8 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.571e-05/0.09215, allocations: 182.2 kB / 492 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.09216, allocations: 80.14 kB / 492.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.09218, allocations: 79.28 kB / 492.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.0922, allocations: 107 kB / 492.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.0922, allocations: 0 / 492.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.402e-05/0.09228, allocations: 31.66 kB / 492.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.09231, allocations: 126.7 kB / 492.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.999e-05/0.09239, allocations: 104.8 kB / 492.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-06/0.09239, allocations: 25.7 kB / 492.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.881e-05/0.09241, allocations: 85.33 kB / 492.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.09241, allocations: 3.938 kB / 492.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.09243, allocations: 10.81 kB / 492.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.482e-05/0.09247, allocations: 316.1 kB / 493 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.09248, allocations: 0 / 493 MB, free: 11.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-06/0.09248, allocations: 0 / 493 MB, free: 11.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.206e-05/0.09249, allocations: 76.5 kB / 493 MB, free: 11.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.719e-06/0.0925, allocations: 79.22 kB / 493.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.71e-05/0.09255, allocations: 40.97 kB / 493.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.09257, allocations: 79.81 kB / 493.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.09258, allocations: 80.34 kB / 493.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.09261, allocations: 151.6 kB / 493.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.054e-05/0.09262, allocations: 76.22 kB / 493.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.09264, allocations: 155.7 kB / 493.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.819e-05/0.0927, allocations: 84.3 kB / 493.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.09271, allocations: 84.25 kB / 493.9 MB, free: 10.37 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.329e-05/0.09277, allocations: 265.4 kB / 494.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.0928, allocations: 102 kB / 494.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.09282, allocations: 106 kB / 494.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.273e-05/0.09285, allocations: 185.3 kB / 494.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/0.09287, allocations: 181.6 kB / 494.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/0.09289, allocations: 188.2 kB / 494.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.09301, allocations: 399.6 kB / 495.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.09303, allocations: 110.1 kB / 495.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.09304, allocations: 106 kB / 495.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.142e-05/0.09306, allocations: 181.6 kB / 495.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.09309, allocations: 185.4 kB / 495.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.02e-05/0.09311, allocations: 181.4 kB / 496 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.198e-05/0.09313, allocations: 180.2 kB / 496.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.18e-05/0.09319, allocations: 308.5 kB / 496.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.31e-05/0.09321, allocations: 186.4 kB / 496.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.09324, allocations: 178.7 kB / 496.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.0933, allocations: 108.9 kB / 496.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.09333, allocations: 181.5 kB / 497.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.09334, allocations: 106.1 kB / 497.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 2.457e-05/0.09337, allocations: 79.19 kB / 497.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09337, allocations: 5.375 kB / 497.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005184/0.09388, allocations: 152.5 kB / 497.5 MB, free: 6.668 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.001263/0.09515, allocations: 1.205 MB / 498.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.735e-05/0.09519, allocations: 1.375 kB / 498.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.0952, allocations: 0 / 498.7 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.0952, allocations: 5.344 kB / 498.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.09544, allocations: 457.1 kB / 499.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000864/0.09631, allocations: 1.642 MB / 0.489 GB, free: 3.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.587e-05/0.09639, allocations: 0.6749 MB / 0.4897 GB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.917e-06/0.0964, allocations: 1.094 kB / 0.4897 GB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.638e-05/0.09643, allocations: 15.97 kB / 0.4897 GB, free: 2.871 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.09643, allocations: 0 / 0.4897 GB, free: 2.871 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/0.1189, allocations: 4.377 MB / 0.494 GB, free: 0.5117 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.148, allocations: 8.5 kB / 0.494 GB, free: 0.5078 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.704527760040946] Failed to read output from testmodel.py, exit status != 0: 8.430411616980564 8.284037669 8.190092408 Calling exit ...