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.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.001467/0.001467, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001588/0.001588, allocations: 217 kB / 23.03 MB, free: 4.922 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.006932/0.006932, allocations: 1.019 MB / 314.2 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.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadReal_m,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadReal_m",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.001867/0.001867, allocations: 63.91 kB / 436.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.1008, allocations: 53.58 MB / 490 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.002331/0.1031, allocations: 1.215 MB / 491.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003446/0.1066, allocations: 2.185 MB / 493.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.1066, allocations: 0 / 493.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.1066, allocations: 0 / 493.4 MB, free: 7.348 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/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.001348/0.108, allocations: 0.5047 MB / 493.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.327e-06/0.108, allocations: 0 / 493.9 MB, free: 6.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.108, allocations: 15.92 kB / 493.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.785e-05/0.1081, allocations: 0 / 493.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.119e-05/0.1081, allocations: 7.938 kB / 493.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/0.1083, allocations: 11.92 kB / 494 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.1083, allocations: 0 / 494 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008347/0.1091, allocations: 0.5307 MB / 494.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.1092, allocations: 7.938 kB / 494.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.1092, allocations: 3.984 kB / 494.5 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.1098, allocations: 415.2 kB / 494.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1098, allocations: 0 / 494.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1098, allocations: 0 / 494.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.1098, allocations: 0 / 494.9 MB, free: 5.859 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.0004662/0.1103, allocations: 357.3 kB / 495.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.1103, allocations: 8.031 kB / 495.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.216e-05/0.1104, allocations: 75.47 kB / 495.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.834e-05/0.1104, allocations: 110 kB / 495.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.1105, allocations: 80.22 kB / 495.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.1107, allocations: 189.8 kB / 495.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.1107, allocations: 158.7 kB / 495.9 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.717e-05/0.1108, allocations: 158.5 kB / 496 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.955e-05/0.1109, allocations: 105 kB / 496.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.1109, allocations: 75.28 kB / 496.2 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-05/0.111, allocations: 154.6 kB / 496.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.318e-05/0.1111, allocations: 150.6 kB / 496.5 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.1111, allocations: 154.6 kB / 496.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.1114, allocations: 421 kB / 497.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1115, allocations: 177 kB / 497.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.1116, allocations: 84.19 kB / 497.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1116, allocations: 79.22 kB / 497.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.1117, allocations: 109.8 kB / 497.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1117, allocations: 4 kB / 497.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.157e-05/0.1118, allocations: 29.64 kB / 497.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.1118, allocations: 126.7 kB / 497.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1119, allocations: 105.8 kB / 497.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.112, allocations: 29.7 kB / 497.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.112, allocations: 84.14 kB / 497.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.112, allocations: 0 / 497.9 MB, free: 2.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/0.112, allocations: 9.719 kB / 497.9 MB, free: 2.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1121, allocations: 318.8 kB / 498.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-06/0.1122, allocations: 0 / 498.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.1122, allocations: 4 kB / 498.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.1122, allocations: 75.28 kB / 498.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-05/0.1122, allocations: 79.22 kB / 498.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.391e-05/0.1123, allocations: 29.7 kB / 498.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.1123, allocations: 83.28 kB / 498.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.199e-05/0.1124, allocations: 83.2 kB / 498.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.259e-05/0.1124, allocations: 154.6 kB / 498.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-05/0.1125, allocations: 79.22 kB / 498.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-05/0.1125, allocations: 150.6 kB / 498.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.703e-05/0.1126, allocations: 83.27 kB / 499 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.1127, allocations: 79.22 kB / 499.1 MB, free: 1.484 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.0001339/0.1128, allocations: 268.3 kB / 499.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.19e-05/0.1129, allocations: 105 kB / 499.4 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.1129, allocations: 108.1 kB / 499.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-05/0.113, allocations: 184.2 kB / 499.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-05/0.1131, allocations: 180.2 kB / 499.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-05/0.1132, allocations: 176.3 kB / 0.4883 GB, free: 448 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.1135, allocations: 384.2 kB / 0.4887 GB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.464e-05/0.1135, allocations: 108.9 kB / 0.4888 GB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.1136, allocations: 101 kB / 0.4889 GB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.962e-05/0.1136, allocations: 184.2 kB / 0.4891 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-05/0.1137, allocations: 184.5 kB / 0.4893 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.57e-05/0.1138, allocations: 184.2 kB / 0.4894 GB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.948e-05/0.1139, allocations: 184.5 kB / 0.4896 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1141, allocations: 319.7 kB / 0.4899 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.1141, allocations: 101 kB / 0.49 GB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.1142, allocations: 180.2 kB / 0.4902 GB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.1143, allocations: 108.9 kB / 0.4903 GB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/0.1144, allocations: 180.2 kB / 0.4905 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.627e-05/0.1144, allocations: 108.9 kB / 0.4906 GB, free: 14.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.114e-05/0.1145, allocations: 87.27 kB / 0.4906 GB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1145, allocations: 4 kB / 0.4907 GB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005483/0.115, allocations: 155.5 kB / 0.4908 GB, free: 13.77 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.001594/0.1166, allocations: 1.226 MB / 0.492 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 4.115e-05/0.1167, allocations: 7.938 kB / 0.492 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1167, allocations: 4 kB / 0.492 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.1167, allocations: 7.938 kB / 0.492 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.117, allocations: 451.7 kB / 0.4924 GB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1185, allocations: 1.661 MB / 0.4941 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.03e-05/0.1185, allocations: 59.34 kB / 0.4941 GB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.353e-06/0.1185, allocations: 0 / 0.4941 GB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.1185, allocations: 19.44 kB / 0.4941 GB, free: 10.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1185, allocations: 0 / 0.4941 GB, free: 10.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02671/0.1453, allocations: 4.767 MB / 0.4988 GB, free: 5.664 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.9, allocations: 3.094 kB / 0.4988 GB, free: 5.664 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.486582090030424] Failed to read output from testmodel.py, exit status != 0: 11.059281722991727 11.252762468 11.140108317 Calling exit ...