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.001226/0.001226, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001346/0.001346, allocations: 216.9 kB / 23.04 MB, free: 5.074 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.351/1.351, allocations: 230.6 MB / 256.8 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.009627/0.009627, allocations: 1.01 MB / 314.2 MB, free: 2.102 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.001853/0.001853, allocations: 59.91 kB / 436.5 MB, free: 16.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09771, allocations: 53.58 MB / 490.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadReal_m): time 0.00226/0.09997, allocations: 1.231 MB / 491.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003436/0.1034, allocations: 2.287 MB / 493.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.129e-05/0.1034, allocations: 7.938 kB / 493.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.1034, allocations: 0 / 493.6 MB, free: 7.43 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.001301/0.1047, allocations: 0.5062 MB / 494.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.1047, allocations: 0 / 494.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.754e-05/0.1048, allocations: 11.94 kB / 494.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.1048, allocations: 0 / 494.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.912e-05/0.1049, allocations: 7.984 kB / 494.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.105, allocations: 11.92 kB / 494.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.105, allocations: 4 kB / 494.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008162/0.1058, allocations: 0.5619 MB / 494.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-06/0.1058, allocations: 0 / 494.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.729e-05/0.1058, allocations: 4 kB / 494.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.1064, allocations: 419.1 kB / 495.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.1064, allocations: 0 / 495.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1064, allocations: 0 / 495.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.1064, allocations: 0 / 495.1 MB, free: 5.91 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.0004792/0.1069, allocations: 365.2 kB / 495.5 MB, free: 5.523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1069, allocations: 8.031 kB / 495.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.087e-05/0.107, allocations: 79.47 kB / 495.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.685e-05/0.107, allocations: 106 kB / 495.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.624e-05/0.1071, allocations: 80.22 kB / 495.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.1072, allocations: 193.8 kB / 495.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.1073, allocations: 154.7 kB / 496.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.1074, allocations: 154.5 kB / 496.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.822e-05/0.1074, allocations: 105 kB / 496.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.1075, allocations: 75.28 kB / 496.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/0.1075, allocations: 150.6 kB / 496.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.576e-05/0.1076, allocations: 150.6 kB / 496.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.161e-05/0.1077, allocations: 158.5 kB / 496.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.108, allocations: 421 kB / 497.3 MB, free: 3.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1081, allocations: 181.1 kB / 497.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.1081, allocations: 84.14 kB / 497.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1082, allocations: 75.28 kB / 497.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.1082, allocations: 109.8 kB / 497.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.1082, allocations: 0 / 497.7 MB, free: 3.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.628e-05/0.1083, allocations: 29.7 kB / 497.8 MB, free: 3.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.1084, allocations: 130.6 kB / 497.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.1085, allocations: 105.8 kB / 498 MB, free: 2.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1085, allocations: 25.7 kB / 498 MB, free: 2.852 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.1086, allocations: 80.14 kB / 498.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-06/0.1086, allocations: 0 / 498.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.413e-05/0.1086, allocations: 13.72 kB / 498.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1087, allocations: 322.8 kB / 498.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.518e-06/0.1087, allocations: 0 / 498.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-06/0.1087, allocations: 0 / 498.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.1088, allocations: 75.28 kB / 498.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.55e-05/0.1088, allocations: 79.47 kB / 498.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.692e-05/0.1089, allocations: 29.7 kB / 498.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.1089, allocations: 79.28 kB / 498.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.896e-05/0.109, allocations: 87.22 kB / 498.8 MB, free: 2.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.267e-05/0.109, allocations: 158.5 kB / 498.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.471e-05/0.1091, allocations: 83.22 kB / 499 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.678e-05/0.1091, allocations: 154.5 kB / 499.1 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.1092, allocations: 75.28 kB / 499.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1093, allocations: 83.16 kB / 499.3 MB, free: 1.527 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.0001468/0.1094, allocations: 268.3 kB / 499.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.357e-05/0.1095, allocations: 101 kB / 499.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.258e-05/0.1095, allocations: 120.1 kB / 499.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.338e-05/0.1096, allocations: 176.3 kB / 500 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-05/0.1097, allocations: 176.3 kB / 0.4884 GB, free: 0.6641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.846e-05/0.1098, allocations: 184.2 kB / 0.4886 GB, free: 488 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1101, allocations: 384.2 kB / 0.4889 GB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.009e-05/0.1101, allocations: 104.9 kB / 0.489 GB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.783e-05/0.1102, allocations: 105 kB / 0.4891 GB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.819e-05/0.1103, allocations: 180.2 kB / 0.4893 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.784e-05/0.1104, allocations: 180.2 kB / 0.4895 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.635e-05/0.1105, allocations: 184.3 kB / 0.4897 GB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.677e-05/0.1105, allocations: 184.6 kB / 0.4898 GB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.1107, allocations: 307.7 kB / 0.4901 GB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.1108, allocations: 113 kB / 0.4902 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.1109, allocations: 180.3 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.189e-05/0.111, allocations: 108.9 kB / 0.4905 GB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1111, allocations: 176.3 kB / 0.4907 GB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.105e-05/0.1111, allocations: 104.9 kB / 0.4908 GB, free: 14.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.702e-05/0.1112, allocations: 87.27 kB / 0.4909 GB, free: 13.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1112, allocations: 0 / 0.4909 GB, free: 13.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.1118, allocations: 159.4 kB / 0.491 GB, free: 13.82 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.001668/0.1134, allocations: 1.229 MB / 0.4922 GB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.85e-05/0.1135, allocations: 8 kB / 0.4922 GB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.1135, allocations: 3.938 kB / 0.4922 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.1135, allocations: 0 / 0.4922 GB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1139, allocations: 455.7 kB / 0.4927 GB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1153, allocations: 1.661 MB / 0.4943 GB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1156, allocations: 0.6768 MB / 0.4949 GB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.208e-06/0.1156, allocations: 0 / 0.4949 GB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.1157, allocations: 19.42 kB / 0.495 GB, free: 9.715 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1157, allocations: 0 / 0.495 GB, free: 9.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.1421, allocations: 4.702 MB / 0.4996 GB, free: 5.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.63, allocations: 12.05 kB / 0.4996 GB, free: 5.133 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.197366219945252] Failed to read output from testmodel.py, exit status != 0: 10.787399762892164 10.963197404 10.854186824 Calling exit ...