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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 190.5 kB / 22.11 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.007864/0.007864, allocations: 1.016 MB / 307 MB, free: 7.688 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002146/0.002146, allocations: 67.83 kB / 426.9 MB, free: 23.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.113, allocations: 52.4 MB / 479.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(KeyWordIO.Examples.ReadRealCSV): time 0.00276/0.1157, allocations: 1.272 MB / 480.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1182, allocations: 1.321 MB / 481.8 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.269e-05/0.1182, allocations: 0 / 481.8 MB, free: 416 kB / 334.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.001683/0.1199, allocations: 271.1 kB / 482.1 MB, free: 144 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.12, allocations: 59.88 kB / 482.2 MB, free: 84 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.359e-06/0.12, allocations: 4 kB / 482.2 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.455e-05/0.1201, allocations: 43.78 kB / 482.2 MB, free: 36 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.1202, allocations: 0 / 482.2 MB, free: 36 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.1202, allocations: 19.97 kB / 482.2 MB, free: 16 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.1204, allocations: 35.84 kB / 482.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1204, allocations: 0 / 482.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005055/0.1209, allocations: 263.6 kB / 482.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.121, allocations: 31.91 kB / 482.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.1211, allocations: 31.84 kB / 482.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.1215, allocations: 239.5 kB / 482.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1215, allocations: 0 / 482.8 MB, free: 15.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1215, allocations: 8 kB / 482.8 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1215, allocations: 0 / 482.8 MB, free: 15.42 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.0005324/0.122, allocations: 353.4 kB / 483.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1221, allocations: 12.92 kB / 483.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.541e-05/0.1222, allocations: 106 kB / 483.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.124e-05/0.1223, allocations: 84.17 kB / 483.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1225, allocations: 224.3 kB / 483.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.1225, allocations: 158.9 kB / 483.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.1226, allocations: 150.9 kB / 483.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.1228, allocations: 108.9 kB / 484 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.1228, allocations: 79.28 kB / 484.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.1229, allocations: 150.6 kB / 484.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.748e-05/0.123, allocations: 154.6 kB / 484.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.123, allocations: 154.6 kB / 484.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.1234, allocations: 437 kB / 485 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.678e-05/0.1235, allocations: 173.1 kB / 485.1 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.1235, allocations: 84.12 kB / 485.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.1236, allocations: 83.22 kB / 485.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.1237, allocations: 105.8 kB / 485.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.1237, allocations: 0 / 485.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001092/0.1238, allocations: 37.59 kB / 485.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.1239, allocations: 126.7 kB / 485.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1241, allocations: 166.1 kB / 485.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1241, allocations: 25.7 kB / 485.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.1242, allocations: 104.1 kB / 485.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-06/0.1242, allocations: 0 / 485.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.802e-05/0.1243, allocations: 9.719 kB / 485.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1245, allocations: 322.8 kB / 486.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-06/0.1245, allocations: 0 / 486.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-06/0.1245, allocations: 0 / 486.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.457e-05/0.1245, allocations: 75.28 kB / 486.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-05/0.1245, allocations: 75.28 kB / 486.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 7.176e-05/0.1246, allocations: 41.7 kB / 486.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.1247, allocations: 87.22 kB / 486.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/0.1247, allocations: 79.3 kB / 486.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.067e-05/0.1248, allocations: 154.5 kB / 486.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.913e-05/0.1248, allocations: 79.22 kB / 486.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.949e-05/0.1249, allocations: 154.6 kB / 486.9 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.125, allocations: 87.22 kB / 487 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.125, allocations: 79.28 kB / 487.1 MB, free: 10.98 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.0001386/0.1251, allocations: 268.4 kB / 487.3 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.1252, allocations: 108.9 kB / 487.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.979e-05/0.1253, allocations: 120.7 kB / 487.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.737e-05/0.1254, allocations: 188.3 kB / 487.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.521e-05/0.1255, allocations: 180.2 kB / 487.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.566e-05/0.1256, allocations: 176.3 kB / 488.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.1259, allocations: 396.3 kB / 488.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.465e-05/0.1259, allocations: 108.9 kB / 488.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.123e-05/0.126, allocations: 105 kB / 488.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-05/0.126, allocations: 184.2 kB / 488.8 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.137e-05/0.1261, allocations: 180.3 kB / 489 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.026e-05/0.1262, allocations: 176.3 kB / 489.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.659e-05/0.1263, allocations: 180.2 kB / 489.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1264, allocations: 319.7 kB / 489.7 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.1265, allocations: 120.9 kB / 489.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.255e-05/0.1266, allocations: 176.3 kB / 490 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1267, allocations: 116.9 kB / 490.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.947e-05/0.1268, allocations: 176.3 kB / 490.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.1269, allocations: 112.9 kB / 490.4 MB, free: 7.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002515/0.1271, allocations: 138.7 kB / 490.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1271, allocations: 0 / 490.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004995/0.1276, allocations: 83.61 kB / 490.6 MB, free: 7.242 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: 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.001245/0.1289, allocations: 1.039 MB / 491.6 MB, free: 6.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 4.507e-05/0.1289, allocations: 3.938 kB / 491.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1289, allocations: 0 / 491.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1289, allocations: 0 / 491.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.1293, allocations: 463.7 kB / 492.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.1317, allocations: 1.959 MB / 494 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1321, allocations: 0.6923 MB / 494.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.535e-05/0.1321, allocations: 19.97 kB / 494.8 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1322, allocations: 31.42 kB / 494.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1322, allocations: 4 kB / 494.8 MB, free: 2.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.17, allocations: 3.477 MB / 498.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.127/9.297, allocations: 6.734 kB / 498.3 MB, free: 15.57 MB / 366.1 MB " [Timeout remaining time 651] (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: 12.031389272000524] Failed to read output from testmodel.py, exit status != 0: 9.37326826401113 9.393876264 9.268670533 Calling exit ...