Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadRealCSV.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.001214/0.001214, 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.001354/0.001354, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.353/1.353, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.006755/0.006755, allocations: 1.015 MB / 314.2 MB, free: 2.109 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.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",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.001804/0.001804, allocations: 60.09 kB / 436.5 MB, free: 16.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09282/0.09462, allocations: 53.58 MB / 490.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.002289/0.09691, allocations: 1.288 MB / 491.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.09882, allocations: 1.321 MB / 492.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.585e-05/0.09884, allocations: 0 / 492.7 MB, free: 8.234 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/readRealCSV.mo:2:1-72:16:writable] Warning: Pure function 'KeyWordIO.readRealCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001188/0.1, allocations: 267.2 kB / 493 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.491e-05/0.1001, allocations: 55.86 kB / 493 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.296e-06/0.1001, allocations: 0 / 493 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.54e-05/0.1002, allocations: 43.78 kB / 493.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.55e-05/0.1002, allocations: 4 kB / 493.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.1003, allocations: 23.91 kB / 493.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.1004, allocations: 39.91 kB / 493.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/0.1004, allocations: 0 / 493.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004334/0.1009, allocations: 295.5 kB / 493.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.101, allocations: 39.88 kB / 493.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.101, allocations: 23.88 kB / 493.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.1013, allocations: 251.5 kB / 493.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1013, allocations: 0 / 493.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1013, allocations: 0 / 493.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1013, allocations: 0 / 493.7 MB, free: 7.211 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.0004759/0.1018, allocations: 365.4 kB / 494.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1019, allocations: 12.02 kB / 494.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.911e-05/0.1019, allocations: 79.47 kB / 494.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.926e-05/0.102, allocations: 110 kB / 494.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.332e-05/0.102, allocations: 80.17 kB / 494.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.1023, allocations: 221.7 kB / 494.6 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.071e-05/0.1023, allocations: 162.9 kB / 494.7 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.1024, allocations: 154.7 kB / 494.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.257e-05/0.1025, allocations: 101 kB / 495 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.1025, allocations: 75.28 kB / 495.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.1025, allocations: 150.6 kB / 495.2 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.824e-05/0.1026, allocations: 150.6 kB / 495.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.1027, allocations: 158.5 kB / 495.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.103, allocations: 444.9 kB / 495.9 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.1031, allocations: 165.1 kB / 496.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.1031, allocations: 84.08 kB / 496.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.1031, allocations: 79.28 kB / 496.3 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/0.1032, allocations: 113.8 kB / 496.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1032, allocations: 0 / 496.4 MB, free: 4.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.336e-05/0.1033, allocations: 37.64 kB / 496.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.1034, allocations: 126.7 kB / 496.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1036, allocations: 166.1 kB / 496.7 MB, free: 4.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1036, allocations: 29.64 kB / 496.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.1036, allocations: 96.14 kB / 496.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-06/0.1036, allocations: 0 / 496.8 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.1037, allocations: 9.719 kB / 496.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1038, allocations: 322.8 kB / 497.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-06/0.1038, allocations: 0 / 497.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.565e-06/0.1038, allocations: 0 / 497.1 MB, free: 3.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.146e-05/0.1038, allocations: 75.28 kB / 497.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.508e-05/0.1039, allocations: 75.28 kB / 497.3 MB, free: 3.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.875e-05/0.1039, allocations: 49.61 kB / 497.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.104, allocations: 83.28 kB / 497.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/0.104, allocations: 83.27 kB / 497.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.955e-05/0.1041, allocations: 158.5 kB / 497.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.342e-05/0.1041, allocations: 75.28 kB / 497.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.806e-05/0.1042, allocations: 154.6 kB / 497.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.858e-05/0.1043, allocations: 83.22 kB / 498 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.1043, allocations: 79.28 kB / 498 MB, free: 2.68 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.1044, allocations: 264.4 kB / 498.3 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.23e-05/0.1045, allocations: 120.8 kB / 498.4 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.1046, allocations: 112.8 kB / 498.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/0.1047, allocations: 184.2 kB / 498.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.412e-05/0.1047, allocations: 184.2 kB / 498.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/0.1048, allocations: 180.3 kB / 499.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.1051, allocations: 396.2 kB / 499.4 MB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.55e-05/0.1051, allocations: 105 kB / 499.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.1051, allocations: 104.9 kB / 499.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.74e-05/0.1052, allocations: 184.3 kB / 499.8 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.1053, allocations: 180.2 kB / 0.4883 GB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.94e-05/0.1054, allocations: 184.2 kB / 0.4885 GB, free: 404 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.055e-05/0.1054, allocations: 176.3 kB / 0.4886 GB, free: 220 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1056, allocations: 315.7 kB / 0.4889 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.1057, allocations: 113 kB / 0.489 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.244e-05/0.1058, allocations: 184.2 kB / 0.4892 GB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/0.1059, allocations: 108.9 kB / 0.4893 GB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.106, allocations: 188.2 kB / 0.4895 GB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/0.106, allocations: 101 kB / 0.4896 GB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1061, allocations: 146.1 kB / 0.4897 GB, free: 15.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1061, allocations: 0 / 0.4897 GB, free: 15.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000382/0.1065, allocations: 75.67 kB / 0.4898 GB, free: 14.95 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.000996/0.1075, allocations: 1.022 MB / 0.4908 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 3.73e-05/0.1075, allocations: 0 / 0.4908 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1075, allocations: 0 / 0.4908 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.1075, allocations: 4 kB / 0.4908 GB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.1079, allocations: 459.7 kB / 0.4912 GB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1097, allocations: 1.981 MB / 0.4932 GB, free: 11.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.11, allocations: 0.6885 MB / 0.4939 GB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.942e-05/0.1101, allocations: 11.98 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.17e-05/0.1101, allocations: 35.41 kB / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1101, allocations: 0 / 0.4939 GB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.1382, allocations: 3.624 MB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.55, allocations: 13.19 kB / 0.4974 GB, free: 7.188 MB / 366.1 MB " [Timeout remaining time 649] (rm -f KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadRealCSV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadRealCSV_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadRealCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadRealCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.114499522023834] Failed to read output from testmodel.py, exit status != 0: 10.709146223962307 10.897817313 10.79358316 Calling exit ...