Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.CSVTest.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.001816/0.001816, allocations: 113.9 kB / 16.46 MB, free: 6.504 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.001893/0.001893, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.492/1.492, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo): time 0.01492/0.01492, allocations: 2.984 MB / 305.7 MB, free: 6.859 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.0.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/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(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.CSVTest,fileNamePrefix="ExternData_ExternData_Examples_CSVTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 71.89 kB / 425.4 MB, free: 21.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 53.07 MB / 478.5 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003147/0.1091, allocations: 1.523 MB / 480 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.1111, allocations: 1.28 MB / 481.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.437e-05/0.1111, allocations: 7.938 kB / 481.3 MB, free: 13.95 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.5/package.mo:53:3-77:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.1115, allocations: 51.78 kB / 481.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.962e-05/0.1116, allocations: 27.84 kB / 481.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1119, allocations: 83.78 kB / 481.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001196/0.112, allocations: 67.77 kB / 481.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.852e-05/0.112, allocations: 4 kB / 481.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.496e-05/0.1121, allocations: 23.92 kB / 481.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.1137, allocations: 23.86 kB / 481.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1137, allocations: 4 kB / 481.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.1139, allocations: 103.9 kB / 481.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.565e-05/0.114, allocations: 15.92 kB / 481.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.1141, allocations: 35.75 kB / 481.7 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1143, allocations: 131.6 kB / 481.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1143, allocations: 8 kB / 481.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1143, allocations: 0 / 481.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1144, allocations: 0 / 481.8 MB, free: 13.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006382/0.115, allocations: 432.6 kB / 482.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.115, allocations: 11.89 kB / 482.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.1151, allocations: 38.69 kB / 482.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.1151, allocations: 8.891 kB / 482.3 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.1154, allocations: 204.2 kB / 482.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.1154, allocations: 384 / 482.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1154, allocations: 8.375 kB / 482.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.1156, allocations: 69.73 kB / 482.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1156, allocations: 0 / 482.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.1156, allocations: 0 / 482.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1156, allocations: 0 / 482.6 MB, free: 12.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.697e-05/0.1157, allocations: 31.98 kB / 482.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.1159, allocations: 177.6 kB / 482.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.766e-05/0.116, allocations: 46.55 kB / 482.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.116, allocations: 44.83 kB / 482.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.116, allocations: 0 / 482.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.1162, allocations: 101 kB / 483 MB, free: 12.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.133e-06/0.1162, allocations: 4 kB / 483 MB, free: 12.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000354/0.1165, allocations: 187.3 kB / 483.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.1166, allocations: 85.09 kB / 483.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1168, allocations: 153.7 kB / 483.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1168, allocations: 29.7 kB / 483.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.69e-05/0.1168, allocations: 96.12 kB / 483.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1169, allocations: 23.98 kB / 483.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.1169, allocations: 21.72 kB / 483.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1171, allocations: 322.8 kB / 483.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.1171, allocations: 31.92 kB / 483.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.21e-05/0.1171, allocations: 27.98 kB / 484 MB, free: 11.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1173, allocations: 120.2 kB / 484.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1173, allocations: 4 kB / 484.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002194/0.1175, allocations: 167.2 kB / 484.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/0.1175, allocations: 37.69 kB / 484.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1175, allocations: 0 / 484.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1176, allocations: 0 / 484.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.972e-05/0.1176, allocations: 4 kB / 484.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1176, allocations: 0 / 484.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/0.1177, allocations: 15.94 kB / 484.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1177, allocations: 4 kB / 484.3 MB, free: 10.63 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: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001325/0.1178, allocations: 159.5 kB / 484.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.1179, allocations: 15.89 kB / 484.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.1179, allocations: 8.719 kB / 484.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.1179, allocations: 0 / 484.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.1179, allocations: 4 kB / 484.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1179, allocations: 0 / 484.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.1181, allocations: 197.5 kB / 484.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1181, allocations: 0 / 484.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.1181, allocations: 3.938 kB / 484.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1181, allocations: 4 kB / 484.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1181, allocations: 4 kB / 484.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1181, allocations: 4 kB / 484.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1181, allocations: 0 / 484.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.1184, allocations: 218.7 kB / 484.9 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1185, allocations: 85.06 kB / 485 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.1185, allocations: 4 kB / 485 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.1185, allocations: 4 kB / 485 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.232e-05/0.1186, allocations: 7.984 kB / 485 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1186, allocations: 8 kB / 485 MB, free: 9.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001007/0.1187, allocations: 125.7 kB / 485.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1187, allocations: 0 / 485.1 MB, free: 9.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1189, allocations: 35.94 kB / 485.2 MB, free: 9.652 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.001321/0.1202, allocations: 0.8871 MB / 486.1 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1205, allocations: 127.4 kB / 486.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.1205, allocations: 8 kB / 486.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1206, allocations: 99.31 kB / 486.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1208, allocations: 4 kB / 486.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1228, allocations: 1.694 MB / 488 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1232, allocations: 0.6885 MB / 488.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.631e-05/0.1232, allocations: 15.98 kB / 488.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.265e-05/0.1233, allocations: 27.42 kB / 488.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1233, allocations: 0 / 488.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.1521, allocations: 3.012 MB / 491.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.099/8.252, allocations: 3.094 kB / 491.7 MB, free: 3.035 MB / 350.1 MB " [Timeout remaining time 652] (rm -f ExternData_ExternData.Examples.CSVTest.pipe ; mkfifo ExternData_ExternData.Examples.CSVTest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.CSVTest.pipe >> ../files/ExternData_ExternData.Examples.CSVTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_CSVTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_CSVTest.fmu > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.779637216124684] Failed to read output from testmodel.py, exit status != 0: 8.318584248423576 8.333667326 8.216401709 Calling exit ...