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.0009187/0.0009187, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001273/0.001273, allocations: 177.3 kB / 23.36 MB, free: 1.133 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.8776/0.8776, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.01607/0.01607, allocations: 2.269 MB / 262.5 MB, free: 10.64 MB / 250.7 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.493e-06/1.493e-06, allocations: 0 / 280 MB, free: 9.195 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.715e-05, allocations: 2.312 kB / 280 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002542/0.002559, allocations: 1.568 MB / 281.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.004347, allocations: 1.422 MB / 283 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.004405, allocations: 4 kB / 283 MB, free: 6.176 MB / 266.7 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.0003517/0.004757, allocations: 47.72 kB / 283 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.004871, allocations: 27.84 kB / 283 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.005124, allocations: 79.72 kB / 283.1 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.005242, allocations: 71.77 kB / 283.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.497e-05/0.005277, allocations: 0 / 283.2 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.005361, allocations: 35.91 kB / 283.2 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.005464, allocations: 23.86 kB / 283.2 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.005479, allocations: 4 kB / 283.2 MB, free: 5.891 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.005597, allocations: 95.91 kB / 283.3 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.2e-05/0.005639, allocations: 19.92 kB / 283.4 MB, free: 5.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.005666, allocations: 8 kB / 283.4 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.005823, allocations: 139.6 kB / 283.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-06/0.005824, allocations: 0 / 283.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 4e-07/0.005824, allocations: 0 / 283.5 MB, free: 5.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.005827, allocations: 0 / 283.5 MB, free: 5.633 MB / 266.7 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.0002703/0.006097, allocations: 306.2 kB / 283.8 MB, free: 5.305 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.006125, allocations: 11.97 kB / 283.8 MB, free: 5.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/0.006152, allocations: 8.922 kB / 283.8 MB, free: 5.285 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.006264, allocations: 133.7 kB / 284 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-06/0.006271, allocations: 384 / 284 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.00628, allocations: 384 / 284 MB, free: 5.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.006364, allocations: 86.75 kB / 284 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.006374, allocations: 192 / 284 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.006382, allocations: 4.375 kB / 284 MB, free: 5.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.006387, allocations: 3.938 kB / 284 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.006422, allocations: 45.62 kB / 284.1 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.968e-05/0.006491, allocations: 59.88 kB / 284.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.006535, allocations: 56.28 kB / 284.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.006566, allocations: 46.59 kB / 284.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-06/0.00657, allocations: 0 / 284.3 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.853e-05/0.006659, allocations: 133.5 kB / 284.4 MB, free: 4.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 6.11e-07/0.006659, allocations: 0 / 284.4 MB, free: 4.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001458/0.006805, allocations: 166.9 kB / 284.5 MB, free: 4.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.006839, allocations: 85.09 kB / 284.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.101e-05/0.00691, allocations: 122.6 kB / 284.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.00692, allocations: 25.7 kB / 284.8 MB, free: 4.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.006944, allocations: 92.12 kB / 284.9 MB, free: 4.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.00697, allocations: 15.89 kB / 284.9 MB, free: 4.055 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.006997, allocations: 17.7 kB / 284.9 MB, free: 4.031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.007075, allocations: 326.8 kB / 285.2 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.007103, allocations: 48.47 kB / 285.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.007128, allocations: 41.62 kB / 285.3 MB, free: 3.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.965e-05/0.007187, allocations: 98.97 kB / 285.4 MB, free: 3.488 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.00719, allocations: 0 / 285.4 MB, free: 3.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.872e-05/0.007278, allocations: 125.1 kB / 285.5 MB, free: 3.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.007302, allocations: 35.52 kB / 285.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007307, allocations: 0 / 285.6 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.007321, allocations: 4 kB / 285.6 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.115e-05/0.007362, allocations: 7.984 kB / 285.6 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.007365, allocations: 4 kB / 285.6 MB, free: 3.293 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.0074, allocations: 15.83 kB / 285.6 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.007406, allocations: 144 / 285.6 MB, free: 3.277 MB / 266.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: 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 7.618e-05/0.007482, allocations: 154.3 kB / 285.7 MB, free: 3.109 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.007495, allocations: 8 kB / 285.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.907e-05/0.007514, allocations: 16.42 kB / 285.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007516, allocations: 0 / 285.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007518, allocations: 0 / 285.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.007522, allocations: 3.938 kB / 285.8 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.676e-05/0.007588, allocations: 77.88 kB / 285.8 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.007589, allocations: 4 kB / 285.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-06/0.007597, allocations: 0 / 285.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.007598, allocations: 4 kB / 285.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.007604, allocations: 0 / 285.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.007605, allocations: 0 / 285.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.007606, allocations: 0 / 285.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.007709, allocations: 182 kB / 286 MB, free: 2.766 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.007717, allocations: 7.938 kB / 286 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.007737, allocations: 4 kB / 286 MB, free: 2.754 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.043e-05/0.007757, allocations: 8 kB / 286 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.775e-05/0.007775, allocations: 0 / 286 MB, free: 2.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.407e-06/0.007784, allocations: 12 kB / 286.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.888e-05/0.007803, allocations: 20.78 kB / 286.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007803, allocations: 4 kB / 286.1 MB, free: 2.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001373/0.007941, allocations: 39.92 kB / 286.1 MB, free: 2.668 MB / 266.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: 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.000533/0.008474, allocations: 272.6 kB / 286.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.008598, allocations: 175.5 kB / 286.6 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.008601, allocations: 0 / 286.6 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.008654, allocations: 117.9 kB / 286.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.505e-05/0.008729, allocations: 4 kB / 286.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/0.008963, allocations: 207.6 kB / 286.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.11e-05/0.008994, allocations: 67.09 kB / 286.9 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.64e-05/0.00901, allocations: 7.984 kB / 287 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.009072, allocations: 71.38 kB / 287 MB, free: 1.723 MB / 266.7 MB Notification: Performance of SimCode: time 4.6e-07/0.009072, allocations: 0 / 287 MB, free: 1.723 MB / 266.7 MB Notification: Performance of Templates: time 0.002826/0.0119, allocations: 1.697 MB / 288.7 MB, free: 36 kB / 266.7 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=240 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5068809180520475]