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.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.001445/0.001445, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001616/0.001616, allocations: 172.6 kB / 22.46 MB, free: 5.352 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.574/1.574, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.02414/0.02414, allocations: 2.254 MB / 261.4 MB, free: 14.45 MB / 254.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.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: 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 1.994e-06/1.994e-06, allocations: 0 / 385.8 MB, free: 496 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/3.004e-05, allocations: 2.281 kB / 385.8 MB, free: 492 kB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.003399/0.003429, allocations: 1.531 MB / 387.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.005796, allocations: 1.359 MB / 388.7 MB, free: 13.57 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.115e-05/0.005878, allocations: 0 / 388.7 MB, free: 13.57 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.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.0004621/0.00634, allocations: 55.62 kB / 388.7 MB, free: 13.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.006487, allocations: 23.92 kB / 388.8 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.006833, allocations: 83.66 kB / 388.8 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.006987, allocations: 63.84 kB / 388.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.007032, allocations: 0 / 388.9 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.007147, allocations: 43.83 kB / 389 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008186/0.01533, allocations: 19.92 kB / 389 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.01536, allocations: 8 kB / 389 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002637/0.01563, allocations: 95.84 kB / 389.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.653e-05/0.0157, allocations: 15.92 kB / 389.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.01577, allocations: 19.92 kB / 389.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.01614, allocations: 147.6 kB / 389.3 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.01614, allocations: 0 / 389.3 MB, free: 13 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01614, allocations: 0 / 389.3 MB, free: 13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.01615, allocations: 0 / 389.3 MB, free: 13 MB / 318.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.0005615/0.01671, allocations: 331.6 kB / 389.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.01675, allocations: 12.03 kB / 389.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.0168, allocations: 4.938 kB / 389.6 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.01707, allocations: 133.7 kB / 389.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.01709, allocations: 384 / 389.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.0171, allocations: 4.375 kB / 389.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.01729, allocations: 91.94 kB / 389.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.0173, allocations: 192 / 389.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.01731, allocations: 384 / 389.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.01732, allocations: 7.938 kB / 389.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.01742, allocations: 61.67 kB / 389.9 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.01759, allocations: 125.1 kB / 390 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.01771, allocations: 72.27 kB / 390.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-05/0.01779, allocations: 62.59 kB / 390.1 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.01781, allocations: 7.984 kB / 390.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.01801, allocations: 134.8 kB / 390.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.01801, allocations: 0 / 390.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004425/0.01845, allocations: 262.8 kB / 390.5 MB, free: 11.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.01852, allocations: 85.05 kB / 390.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.01865, allocations: 129.8 kB / 390.7 MB, free: 11.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.01867, allocations: 29.7 kB / 390.8 MB, free: 11.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.01875, allocations: 88.14 kB / 390.9 MB, free: 11.17 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.01878, allocations: 15.83 kB / 390.9 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.01883, allocations: 25.72 kB / 390.9 MB, free: 11.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.01898, allocations: 322.8 kB / 391.2 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.01906, allocations: 65.69 kB / 391.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.246e-05/0.01914, allocations: 53.69 kB / 391.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.01929, allocations: 136.1 kB / 391.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01929, allocations: 0 / 391.5 MB, free: 10.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002818/0.01957, allocations: 197 kB / 391.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.01962, allocations: 40.34 kB / 391.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.01962, allocations: 0 / 391.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01964, allocations: 0 / 391.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.01971, allocations: 7.938 kB / 391.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01971, allocations: 7.938 kB / 391.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.01978, allocations: 11.95 kB / 391.7 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.01979, allocations: 4 kB / 391.7 MB, free: 10.24 MB / 318.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.0001347/0.01992, allocations: 151.5 kB / 391.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.01995, allocations: 11.89 kB / 391.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.812e-05/0.01997, allocations: 16.42 kB / 391.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01998, allocations: 0 / 391.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01998, allocations: 3.938 kB / 391.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01999, allocations: 0 / 391.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.02011, allocations: 121.3 kB / 392 MB, free: 9.895 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.02011, allocations: 4 kB / 392 MB, free: 9.891 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.606e-05/0.02014, allocations: 4 kB / 392 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.02014, allocations: 0 / 392 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.02015, allocations: 8 kB / 392 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.02016, allocations: 0 / 392 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.02016, allocations: 0 / 392 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.02053, allocations: 248.3 kB / 392.3 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.02054, allocations: 11.89 kB / 392.3 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.02057, allocations: 4 kB / 392.3 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.942e-05/0.02062, allocations: 4 kB / 392.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.02066, allocations: 11.92 kB / 392.3 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/0.02067, allocations: 4 kB / 392.3 MB, free: 9.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.847e-05/0.02076, allocations: 103.3 kB / 392.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02076, allocations: 0 / 392.4 MB, free: 9.469 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.02102, allocations: 39.94 kB / 392.5 MB, free: 9.43 MB / 318.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.001076/0.0221, allocations: 233 kB / 392.7 MB, free: 9.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003029/0.0224, allocations: 202.7 kB / 392.9 MB, free: 9.008 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.0224, allocations: 4 kB / 392.9 MB, free: 9.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.02254, allocations: 133 kB / 393 MB, free: 8.855 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.0228, allocations: 25.94 kB / 393 MB, free: 8.832 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000471/0.02327, allocations: 226.3 kB / 393.3 MB, free: 8.578 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.237e-05/0.02336, allocations: 75.33 kB / 393.3 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.666e-05/0.02338, allocations: 7.984 kB / 393.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.02341, allocations: 12.5 kB / 393.4 MB, free: 8.465 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.02341, allocations: 0 / 393.4 MB, free: 8.465 MB / 318.1 MB Notification: Performance of Templates: time 0.005021/0.02843, allocations: 1.561 MB / 394.9 MB, free: 6.914 MB / 318.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.4891656413674355] Failed to read output from testmodel.py, exit status != 0: 0.03742056339979172 0.05320831 0.033661067 Calling exit ...