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.0009645/0.0009645, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001826/0.001826, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9109/0.9109, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/package.mo): time 0.004071/0.004071, allocations: 0.7846 MB / 260 MB, free: 12.47 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/readLineWithoutCache.mo:2:1-87:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/writeLine.mo:2:1-61:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package KeyWordIO with version 0.12.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(KeyWordIO.Examples.ReadRealCSV,fileNamePrefix="KeyWordIO_KeyWordIO_Examples_ReadRealCSV",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 382.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.011e-05, allocations: 2.281 kB / 382.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.001835/0.001855, allocations: 1.265 MB / 383.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.003078, allocations: 1.301 MB / 384.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.003102, allocations: 0 / 384.8 MB, free: 13.08 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/KeyWordIO 0.12.1/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.1/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.0009776/0.00408, allocations: 275.5 kB / 385.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.097e-05/0.004161, allocations: 63.89 kB / 385.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.004165, allocations: 3.938 kB / 385.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.004222, allocations: 35.84 kB / 385.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.004259, allocations: 7.984 kB / 385.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.004295, allocations: 23.92 kB / 385.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.663e-05/0.004362, allocations: 31.95 kB / 385.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.096e-06/0.00437, allocations: 0 / 385.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.004655, allocations: 255.5 kB / 385.5 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.004713, allocations: 39.89 kB / 385.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.004736, allocations: 19.94 kB / 385.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.005019, allocations: 259.3 kB / 385.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.005021, allocations: 0 / 385.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.005023, allocations: 4 kB / 385.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.005027, allocations: 3.938 kB / 385.8 MB, free: 12.09 MB / 362.7 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.0003192/0.005346, allocations: 369.4 kB / 386.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.00538, allocations: 20.02 kB / 386.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.005417, allocations: 106 kB / 386.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.005462, allocations: 80.22 kB / 386.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.005607, allocations: 231.6 kB / 386.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.005639, allocations: 154.9 kB / 386.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.005671, allocations: 154.9 kB / 386.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.499e-05/0.005716, allocations: 105.5 kB / 387 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.005733, allocations: 75.47 kB / 387.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.00577, allocations: 162.5 kB / 387.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.005802, allocations: 150.6 kB / 387.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.835e-05/0.00584, allocations: 154.6 kB / 387.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.006039, allocations: 437 kB / 388 MB, free: 9.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.211e-05/0.006101, allocations: 177.1 kB / 388.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.361e-05/0.006125, allocations: 80.14 kB / 388.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.006144, allocations: 79.28 kB / 388.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.006172, allocations: 105.8 kB / 388.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 5.31e-07/0.006172, allocations: 0 / 388.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 5.608e-05/0.006228, allocations: 41.53 kB / 388.5 MB, free: 9.312 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.006266, allocations: 126.7 kB / 388.6 MB, free: 9.176 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.006401, allocations: 170.1 kB / 388.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.006408, allocations: 25.7 kB / 388.8 MB, free: 8.965 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.006444, allocations: 104.1 kB / 388.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.006445, allocations: 0 / 388.9 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.445e-05/0.00646, allocations: 9.719 kB / 388.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.359e-05/0.006533, allocations: 318.8 kB / 389.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.318e-06/0.006538, allocations: 0 / 389.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-06/0.00654, allocations: 0 / 389.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.798e-05/0.006558, allocations: 75.28 kB / 389.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.688e-05/0.006575, allocations: 75.28 kB / 389.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.576e-05/0.00661, allocations: 41.64 kB / 389.4 MB, free: 8.328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.006636, allocations: 79.28 kB / 389.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.006656, allocations: 83.16 kB / 389.5 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.94e-05/0.006695, allocations: 158.6 kB / 389.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.754e-05/0.006713, allocations: 79.22 kB / 389.8 MB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.056e-05/0.006753, allocations: 150.6 kB / 389.9 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.006811, allocations: 83.33 kB / 390 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.00683, allocations: 87.22 kB / 390.1 MB, free: 7.617 MB / 362.7 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 7.991e-05/0.00691, allocations: 268.4 kB / 390.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.00695, allocations: 108.9 kB / 390.5 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.006988, allocations: 124.7 kB / 390.6 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/0.007026, allocations: 184.1 kB / 390.8 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.993e-05/0.007066, allocations: 184.2 kB / 390.9 MB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.771e-05/0.007104, allocations: 180.3 kB / 391.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001449/0.007249, allocations: 392.3 kB / 391.5 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.322e-05/0.007272, allocations: 104.9 kB / 391.6 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.007294, allocations: 101 kB / 391.7 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.075e-05/0.007335, allocations: 184.2 kB / 391.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.007375, allocations: 184.2 kB / 392.1 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.609e-05/0.007411, allocations: 180.2 kB / 392.2 MB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.993e-05/0.007451, allocations: 184.2 kB / 392.4 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.979e-05/0.007541, allocations: 311.7 kB / 392.7 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.007581, allocations: 113 kB / 392.8 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.007633, allocations: 188.2 kB / 393 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.44e-05/0.007728, allocations: 116.9 kB / 393.1 MB, free: 4.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.007769, allocations: 180.7 kB / 393.3 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.00779, allocations: 104.9 kB / 393.4 MB, free: 4.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.927e-05/0.00788, allocations: 133 kB / 393.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00788, allocations: 0 / 393.5 MB, free: 3.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.008144, allocations: 87.66 kB / 393.6 MB, free: 3.883 MB / 362.7 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.0006144/0.008758, allocations: 1.039 MB / 394.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 3.616e-05/0.008794, allocations: 7.875 kB / 394.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.008796, allocations: 0 / 394.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.008797, allocations: 0 / 394.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.009049, allocations: 463.7 kB / 395.1 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.01021, allocations: 1.99 MB / 397.1 MB, free: 348 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.984e-05/0.01026, allocations: 75.19 kB / 397.2 MB, free: 252 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.233e-05/0.01029, allocations: 15.98 kB / 397.2 MB, free: 236 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.01033, allocations: 40.48 kB / 397.2 MB, free: 196 kB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.01033, allocations: 0 / 397.2 MB, free: 196 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.02908, allocations: 4.184 MB / 401.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.625/6.654, allocations: 0 / 401.4 MB, free: 12.11 MB / 378.7 MB " [Timeout remaining time 653] (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: 8.414609620347619] Failed to read output from testmodel.py, exit status != 0: 6.736178883351386 6.745713511 6.738965836 Calling exit ...