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.001318/0.001318, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001376/0.001376, allocations: 189 kB / 22.22 MB, free: 5.105 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.476/1.476, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo): time 0.01967/0.01967, allocations: 3.219 MB / 309.5 MB, free: 5.395 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package ExternData with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.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: translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest")
translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 67.88 kB / 431.5 MB, free: 19.64 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1296, allocations: 53.18 MB / 484.6 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003131/0.1327, allocations: 1.531 MB / 486.2 MB, free: 12.82 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002128/0.1349, allocations: 1.371 MB / 487.5 MB, free: 11.44 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.1349, allocations: 0 / 487.5 MB, free: 11.44 MB / 350.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.1.0/package.mo:35:3-59:14:writable] Warning: Pure function 'ExternData.CSVFile' contains a call to impure function 'ExternData.Types.ExternCSVFile.constructor'.
Notification: Performance of NFTyping.typeComponents: time 0.0003785/0.1353, allocations: 51.77 kB / 487.6 MB, free: 11.39 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.1354, allocations: 27.84 kB / 487.6 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.1357, allocations: 87.78 kB / 487.7 MB, free: 11.28 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001396/0.1358, allocations: 59.84 kB / 487.8 MB, free: 11.22 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.1358, allocations: 7.984 kB / 487.8 MB, free: 11.21 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.1359, allocations: 31.8 kB / 487.8 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.1363, allocations: 23.92 kB / 487.8 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1363, allocations: 4 kB / 487.8 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.1365, allocations: 103.8 kB / 487.9 MB, free: 11.05 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.002e-05/0.1366, allocations: 15.94 kB / 487.9 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.1366, allocations: 23.86 kB / 488 MB, free: 11.01 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002531/0.1369, allocations: 135.5 kB / 488.1 MB, free: 10.88 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1369, allocations: 0 / 488.1 MB, free: 10.88 MB / 350.1 MB
Notification: Performance of FrontEnd: time 8.72e-07/0.1369, allocations: 0 / 488.1 MB, free: 10.88 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.742e-06/0.1369, allocations: 0 / 488.1 MB, free: 10.88 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.0005673/0.1374, allocations: 331.6 kB / 488.4 MB, free: 10.52 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1375, allocations: 12.03 kB / 488.4 MB, free: 10.51 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.1375, allocations: 8.891 kB / 488.4 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1378, allocations: 134.3 kB / 488.6 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1378, allocations: 384 / 488.6 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.1379, allocations: 8.375 kB / 488.6 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.138, allocations: 65.98 kB / 488.7 MB, free: 10.27 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.138, allocations: 0 / 488.7 MB, free: 10.27 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.138, allocations: 0 / 488.7 MB, free: 10.27 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.138, allocations: 0 / 488.7 MB, free: 10.27 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.739e-05/0.1381, allocations: 31.98 kB / 488.7 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.1383, allocations: 140.7 kB / 488.8 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.1384, allocations: 42.52 kB / 488.9 MB, free: 10 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.1385, allocations: 36.89 kB / 488.9 MB, free: 9.965 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.1385, allocations: 0 / 488.9 MB, free: 9.965 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.1387, allocations: 113.2 kB / 489 MB, free: 9.836 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1387, allocations: 0 / 489 MB, free: 9.836 MB / 350.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0003745/0.1391, allocations: 191.5 kB / 489.2 MB, free: 9.637 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.1392, allocations: 85.11 kB / 489.3 MB, free: 9.535 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1393, allocations: 133.8 kB / 489.4 MB, free: 9.395 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1393, allocations: 29.7 kB / 489.4 MB, free: 9.359 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.1394, allocations: 88.14 kB / 489.5 MB, free: 9.27 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.1394, allocations: 27.78 kB / 489.6 MB, free: 9.242 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1395, allocations: 21.72 kB / 489.6 MB, free: 9.215 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001485/0.1396, allocations: 314.8 kB / 489.9 MB, free: 8.898 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.1397, allocations: 27.98 kB / 489.9 MB, free: 8.871 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.67e-05/0.1397, allocations: 27.98 kB / 489.9 MB, free: 8.844 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1399, allocations: 124.2 kB / 490.1 MB, free: 8.707 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1399, allocations: 4 kB / 490.1 MB, free: 8.703 MB / 350.1 MB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002281/0.1401, allocations: 163.2 kB / 490.2 MB, free: 8.531 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.1401, allocations: 45.62 kB / 490.3 MB, free: 8.48 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1401, allocations: 0 / 490.3 MB, free: 8.48 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1401, allocations: 0 / 490.3 MB, free: 8.48 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.279e-05/0.1402, allocations: 8 kB / 490.3 MB, free: 8.473 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1402, allocations: 3.984 kB / 490.3 MB, free: 8.469 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.468e-05/0.1403, allocations: 0 / 490.3 MB, free: 8.469 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1403, allocations: 4 kB / 490.3 MB, free: 8.465 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.0001391/0.1404, allocations: 155.5 kB / 490.4 MB, free: 8.297 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.1404, allocations: 11.89 kB / 490.4 MB, free: 8.285 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.1405, allocations: 20.3 kB / 490.5 MB, free: 8.262 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.1405, allocations: 0 / 490.5 MB, free: 8.262 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1405, allocations: 4 kB / 490.5 MB, free: 8.258 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1405, allocations: 0 / 490.5 MB, free: 8.258 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1406, allocations: 156.7 kB / 490.6 MB, free: 8.062 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1406, allocations: 4 kB / 490.6 MB, free: 8.059 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.1407, allocations: 4.078 kB / 490.6 MB, free: 8.055 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1407, allocations: 0 / 490.6 MB, free: 8.055 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1407, allocations: 7.984 kB / 490.6 MB, free: 8.047 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1407, allocations: 4 kB / 490.6 MB, free: 8.043 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1407, allocations: 0 / 490.6 MB, free: 8.043 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.141, allocations: 210.8 kB / 490.8 MB, free: 7.812 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.141, allocations: 15.88 kB / 490.9 MB, free: 7.797 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.141, allocations: 4 kB / 490.9 MB, free: 7.793 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.479e-05/0.1411, allocations: 4 kB / 490.9 MB, free: 7.789 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.1411, allocations: 0 / 490.9 MB, free: 7.789 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1411, allocations: 8 kB / 490.9 MB, free: 7.781 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.394e-05/0.1412, allocations: 111.2 kB / 491 MB, free: 7.672 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.1412, allocations: 0 / 491 MB, free: 7.672 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002557/0.1415, allocations: 47.8 kB / 491 MB, free: 7.625 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.0009944/0.1425, allocations: 218.2 kB / 491.2 MB, free: 7.441 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000255/0.1427, allocations: 131.4 kB / 491.4 MB, free: 7.301 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1427, allocations: 8 kB / 491.4 MB, free: 7.293 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.1428, allocations: 91.39 kB / 491.5 MB, free: 7.191 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.143, allocations: 7.516 kB / 491.5 MB, free: 7.188 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004822/0.1435, allocations: 209.2 kB / 491.7 MB, free: 6.957 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1438, allocations: 0.6885 MB / 492.4 MB, free: 6.242 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 2.864e-05/0.1439, allocations: 7.984 kB / 492.4 MB, free: 6.234 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.1439, allocations: 15.44 kB / 492.4 MB, free: 6.219 MB / 350.1 MB
Notification: Performance of SimCode: time 2.9e-07/0.1439, allocations: 0 / 492.4 MB, free: 6.219 MB / 350.1 MB
Notification: Performance of Templates: time 0.004917/0.1488, allocations: 1.529 MB / 493.9 MB, free: 4.699 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile [Timeout 660]
(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 & ./ExternData_ExternData.Examples.CSVTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.633583598770201]
Failed to read output from testmodel.py, exit status != 0:
0.15679013635963202 0.173202396 0.033173799000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7394fad7b0>