Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr KeyWordIO_KeyWordIO.Examples.ReadStringCSV.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.001235/0.001235, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001416/0.001416, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.354/1.354, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.006768/0.006768, allocations: 1.015 MB / 314.2 MB, free: 1.977 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.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadStringCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadStringCSV",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.001815/0.001815, allocations: 71.89 kB / 436.4 MB, free: 16.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09302, allocations: 53.59 MB / 490 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadStringCSV): time 0.001692/0.09471, allocations: 0.4924 MB / 490.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.09696, allocations: 1.418 MB / 491.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.09699, allocations: 0 / 491.9 MB, free: 8.844 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/readSizeCSV.mo:2:1-41:16:writable] Warning: Pure function 'KeyWordIO.readSizeCSV' contains a call to impure function 'KeyWordIO.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readColsCSV.mo:2:1-18:16:writable] Warning: Pure function 'KeyWordIO.readColsCSV' contains a call to impure function 'KeyWordIO.readSizeCSV'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.0/readStringCSV.mo:2:1-85:18:writable] Warning: Pure function 'KeyWordIO.readStringCSV' contains a call to impure function 'KeyWordIO.readLine'. Notification: Performance of NFTyping.typeComponents: time 0.001364/0.09836, allocations: 319 kB / 492.2 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.09842, allocations: 31.91 kB / 492.3 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.987e-05/0.09846, allocations: 8 kB / 492.3 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.09854, allocations: 35.89 kB / 492.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.09858, allocations: 4 kB / 492.3 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.09861, allocations: 15.92 kB / 492.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.47e-05/0.09866, allocations: 15.98 kB / 492.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.09868, allocations: 0 / 492.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.09919, allocations: 343.5 kB / 492.7 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.09926, allocations: 23.92 kB / 492.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.09929, allocations: 15.91 kB / 492.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.09971, allocations: 291.5 kB / 493 MB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.09971, allocations: 0 / 493 MB, free: 7.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.09971, allocations: 4 kB / 493 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.09972, allocations: 4 kB / 493 MB, free: 7.754 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.0004971/0.1002, allocations: 365.3 kB / 493.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1003, allocations: 8.031 kB / 493.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.267e-05/0.1003, allocations: 79.47 kB / 493.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.313e-05/0.1004, allocations: 110 kB / 493.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.1004, allocations: 80.17 kB / 493.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.1007, allocations: 213.8 kB / 493.9 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.1007, allocations: 150.9 kB / 494 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.1008, allocations: 158.7 kB / 494.2 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.393e-05/0.1009, allocations: 101 kB / 494.3 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.1009, allocations: 79.28 kB / 494.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.101, allocations: 162.5 kB / 494.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.1011, allocations: 154.6 kB / 494.6 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.546e-05/0.1011, allocations: 154.5 kB / 494.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003143/0.1014, allocations: 425 kB / 495.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1015, allocations: 173.1 kB / 495.4 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.1016, allocations: 84.08 kB / 495.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.1016, allocations: 79.22 kB / 495.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.1018, allocations: 71.38 kB / 495.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.355e-06/0.1018, allocations: 0 / 495.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.1019, allocations: 41.62 kB / 495.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1019, allocations: 55.34 kB / 495.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.1021, allocations: 141.8 kB / 495.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1021, allocations: 25.7 kB / 495.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.1022, allocations: 88.14 kB / 495.9 MB, free: 4.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.1022, allocations: 3.953 kB / 496 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.1022, allocations: 13.84 kB / 496 MB, free: 4.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1023, allocations: 322.8 kB / 496.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.1024, allocations: 4 kB / 496.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.1024, allocations: 0 / 496.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.1024, allocations: 8.797 kB / 496.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1024, allocations: 4 kB / 496.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.039e-05/0.1024, allocations: 37.64 kB / 496.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1025, allocations: 7.984 kB / 496.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1025, allocations: 4 kB / 496.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1025, allocations: 0 / 496.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.1025, allocations: 4.094 kB / 496.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1025, allocations: 0 / 496.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.401e-05/0.1025, allocations: 0 / 496.4 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1025, allocations: 8 kB / 496.4 MB, free: 4.199 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.815e-05/0.1026, allocations: 121.8 kB / 496.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.1027, allocations: 7.953 kB / 496.5 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.1027, allocations: 7.422 kB / 496.5 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1027, allocations: 3.984 kB / 496.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1027, allocations: 4 kB / 496.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1027, allocations: 0 / 496.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.1028, allocations: 144.6 kB / 496.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1028, allocations: 0 / 496.6 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.38e-06/0.1028, allocations: 3.984 kB / 496.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.1028, allocations: 3.938 kB / 496.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.1028, allocations: 0 / 496.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.1028, allocations: 0 / 496.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1028, allocations: 0 / 496.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.1029, allocations: 65.08 kB / 496.7 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.103, allocations: 11.94 kB / 496.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.103, allocations: 0 / 496.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.163e-05/0.103, allocations: 8.016 kB / 496.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.103, allocations: 4 kB / 496.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-06/0.103, allocations: 0 / 496.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.788e-05/0.1031, allocations: 111.3 kB / 496.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1031, allocations: 0 / 496.8 MB, free: 3.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003344/0.1034, allocations: 103.6 kB / 496.9 MB, free: 3.535 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001084/0.1045, allocations: 0.8963 MB / 497.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 6.109e-05/0.1046, allocations: 0 / 497.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.1046, allocations: 8 kB / 497.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.1046, allocations: 3.938 kB / 497.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.1048, allocations: 8.109 kB / 497.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1059, allocations: 1.257 MB / 499.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.295e-05/0.106, allocations: 68.97 kB / 499.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.208e-05/0.106, allocations: 15.98 kB / 499.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.1061, allocations: 23.42 kB / 499.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1061, allocations: 0 / 499.2 MB, free: 1.203 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.1309, allocations: 4.078 MB / 0.4915 GB, free: 13.28 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.89, allocations: 4.062 kB / 0.4915 GB, free: 13.27 MB / 366.1 MB " [Timeout remaining time 649] (rm -f KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; mkfifo KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe ; head -c 1048576 < KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe >> ../files/KeyWordIO_KeyWordIO.Examples.ReadStringCSV.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_KeyWordIO_KeyWordIO_Examples_ReadStringCSV_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 KeyWordIO_KeyWordIO_Examples_ReadStringCSV.fmu > KeyWordIO_KeyWordIO.Examples.ReadStringCSV.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.47153390198946] Failed to read output from testmodel.py, exit status != 0: 11.05272157897707 11.264857837 10.97343003 Calling exit ...