Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadReal_m.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 106 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 200.5 kB / 19.41 MB, free: 3.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.006909/0.006909, allocations: 1.021 MB / 303.7 MB, free: 8.793 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 67.89 kB / 422 MB, free: 25.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09181/0.09365, allocations: 52.36 MB / 474.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002452/0.0961, allocations: 1.203 MB / 475.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.09942, allocations: 2.089 MB / 477.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.564e-05/0.09945, allocations: 0 / 477.7 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.09946, allocations: 0 / 477.7 MB, free: 1.242 MB / 334.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/readReal_m.mo:2:1-79:15:writable] Warning: Pure function 'KeyWordIO.readReal_m' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeBindings: time 0.001279/0.1007, allocations: 498.1 kB / 478.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.968e-06/0.1007, allocations: 0 / 478.2 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.093e-05/0.1008, allocations: 19.91 kB / 478.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.1008, allocations: 0 / 478.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.1009, allocations: 7.938 kB / 478.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004149/0.1013, allocations: 7.938 kB / 478.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.1013, allocations: 0 / 478.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008112/0.1021, allocations: 0.5228 MB / 478.7 MB, free: 204 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-06/0.1021, allocations: 7.938 kB / 478.7 MB, free: 196 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.684e-05/0.1021, allocations: 7.938 kB / 478.8 MB, free: 188 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005616/0.1027, allocations: 375.4 kB / 479.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1027, allocations: 0 / 479.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1027, allocations: 0 / 479.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.867e-06/0.1027, allocations: 3.938 kB / 479.1 MB, free: 15.81 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.0004955/0.1032, allocations: 426.4 kB / 479.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1032, allocations: 8.031 kB / 479.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.101e-05/0.1033, allocations: 110 kB / 479.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.1034, allocations: 76.22 kB / 479.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1036, allocations: 251.6 kB / 480 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.1036, allocations: 150.9 kB / 480.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.1037, allocations: 158.5 kB / 480.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.645e-05/0.1038, allocations: 101 kB / 480.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.1038, allocations: 75.28 kB / 480.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/0.1039, allocations: 158.5 kB / 480.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.447e-05/0.104, allocations: 150.6 kB / 480.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.666e-05/0.104, allocations: 154.5 kB / 480.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.1044, allocations: 450 kB / 481.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1045, allocations: 177.1 kB / 481.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.1045, allocations: 84.12 kB / 481.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.194e-05/0.1045, allocations: 75.28 kB / 481.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/0.1046, allocations: 109.8 kB / 481.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.1046, allocations: 0 / 481.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.16e-05/0.1047, allocations: 37.64 kB / 481.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/0.1048, allocations: 130.7 kB / 481.9 MB, free: 12.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.1049, allocations: 105.8 kB / 482 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1049, allocations: 25.7 kB / 482.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/0.1049, allocations: 88.12 kB / 482.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.583e-06/0.1049, allocations: 0 / 482.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/0.105, allocations: 13.72 kB / 482.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1051, allocations: 310.8 kB / 482.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-06/0.1051, allocations: 0 / 482.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.945e-06/0.1051, allocations: 0 / 482.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.1051, allocations: 83.28 kB / 482.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.054e-05/0.1052, allocations: 75.28 kB / 482.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.267e-05/0.1052, allocations: 41.55 kB / 482.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.998e-05/0.1053, allocations: 87.22 kB / 482.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-05/0.1053, allocations: 75.28 kB / 482.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.876e-05/0.1054, allocations: 158.4 kB / 483 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.325e-05/0.1054, allocations: 79.28 kB / 483.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-05/0.1055, allocations: 158.6 kB / 483.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.828e-05/0.1056, allocations: 79.22 kB / 483.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1056, allocations: 75.28 kB / 483.4 MB, free: 11.32 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.0001377/0.1058, allocations: 268.3 kB / 483.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.1058, allocations: 108.9 kB / 483.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.1059, allocations: 112.1 kB / 483.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.76e-05/0.106, allocations: 176.3 kB / 484 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.569e-05/0.1061, allocations: 184.2 kB / 484.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.698e-05/0.1061, allocations: 180.2 kB / 484.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.1064, allocations: 409.1 kB / 484.8 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.473e-05/0.1065, allocations: 109 kB / 484.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.1065, allocations: 105 kB / 485 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-05/0.1066, allocations: 180.2 kB / 485.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.222e-05/0.1067, allocations: 180.3 kB / 485.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.876e-05/0.1068, allocations: 180.2 kB / 485.5 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-05/0.1068, allocations: 180.3 kB / 485.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.107, allocations: 312.1 kB / 486 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.1071, allocations: 178.3 kB / 486.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.1072, allocations: 192.2 kB / 486.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.1073, allocations: 105 kB / 486.5 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.1074, allocations: 184.3 kB / 486.6 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.253e-05/0.1074, allocations: 104.9 kB / 486.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.1075, allocations: 91.27 kB / 486.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1075, allocations: 0 / 486.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005199/0.108, allocations: 139.5 kB / 487 MB, free: 7.492 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.00154/0.1095, allocations: 1.202 MB / 488.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.204e-05/0.1096, allocations: 11.94 kB / 488.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1096, allocations: 0 / 488.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.1096, allocations: 4 kB / 488.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.11, allocations: 451.7 kB / 488.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1114, allocations: 1.657 MB / 490.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.1118, allocations: 0.6805 MB / 491 MB, free: 3.438 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.282e-05/0.1118, allocations: 7.984 kB / 491 MB, free: 3.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.1118, allocations: 11.44 kB / 491 MB, free: 3.418 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1118, allocations: 0 / 491 MB, free: 3.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.1419, allocations: 4.217 MB / 495.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/8.787, allocations: 16.75 kB / 495.2 MB, free: 15.25 MB / 366.1 MB " [Timeout remaining time 651] (rm -f KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadReal_m.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadReal_m_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadReal_m.fmu > KeyWordIO_KeyWordIO.Examples.ReadReal_m.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.124388188589364] Failed to read output from testmodel.py, exit status != 0: 8.860288004856557 8.879079635 8.77301018 Calling exit ...