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.001285/0.001285, 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.001446/0.001446, allocations: 177 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.9793/0.9793, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.02453/0.02453, allocations: 2.266 MB / 262.5 MB, free: 10.66 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.432e-06/1.432e-06, allocations: 0 / 280 MB, free: 9.16 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.633e-05, allocations: 2.312 kB / 280 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002765/0.002791, allocations: 1.603 MB / 281.6 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001506/0.004298, allocations: 1.43 MB / 283.1 MB, free: 6.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.004354, allocations: 0 / 283.1 MB, free: 6.102 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.0003542/0.004708, allocations: 51.7 kB / 283.1 MB, free: 6.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.146e-05/0.004789, allocations: 35.78 kB / 283.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.004985, allocations: 75.67 kB / 283.2 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.005088, allocations: 55.84 kB / 283.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.00513, allocations: 11.98 kB / 283.3 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.005209, allocations: 31.92 kB / 283.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.005325, allocations: 19.91 kB / 283.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.005339, allocations: 4 kB / 283.3 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.005501, allocations: 107.9 kB / 283.4 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.745e-05/0.005549, allocations: 11.94 kB / 283.5 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.005583, allocations: 19.92 kB / 283.5 MB, free: 5.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.005775, allocations: 131.6 kB / 283.6 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.514e-06/0.005778, allocations: 4 kB / 283.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.005779, allocations: 0 / 283.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005783, allocations: 4 kB / 283.6 MB, free: 5.547 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.0003529/0.006136, allocations: 306.2 kB / 283.9 MB, free: 5.219 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.00617, allocations: 12.03 kB / 283.9 MB, free: 5.207 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.006204, allocations: 4.938 kB / 283.9 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.006387, allocations: 125.7 kB / 284 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.006402, allocations: 4.375 kB / 284.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.006414, allocations: 384 / 284.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.006532, allocations: 82.69 kB / 284.1 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.006539, allocations: 4.188 kB / 284.1 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.006549, allocations: 4.375 kB / 284.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.006554, allocations: 3.938 kB / 284.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.771e-05/0.006592, allocations: 41.69 kB / 284.2 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.975e-05/0.006682, allocations: 67.81 kB / 284.3 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.584e-05/0.006728, allocations: 56.27 kB / 284.3 MB, free: 4.746 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.376e-05/0.006762, allocations: 42.56 kB / 284.3 MB, free: 4.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-06/0.006767, allocations: 3.938 kB / 284.4 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.00692, allocations: 129.6 kB / 284.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.006921, allocations: 0 / 284.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001592/0.00708, allocations: 170.9 kB / 284.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.007115, allocations: 85.11 kB / 284.7 MB, free: 4.246 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.007186, allocations: 126.6 kB / 284.9 MB, free: 4.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.007196, allocations: 25.7 kB / 284.9 MB, free: 4.078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.586e-05/0.007222, allocations: 92.11 kB / 285 MB, free: 3.984 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.007249, allocations: 11.91 kB / 285 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.00728, allocations: 25.69 kB / 285 MB, free: 3.941 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.007354, allocations: 318.8 kB / 285.3 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.007381, allocations: 40.52 kB / 285.4 MB, free: 3.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.007405, allocations: 41.7 kB / 285.4 MB, free: 3.527 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.237e-05/0.007467, allocations: 98.97 kB / 285.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.007469, allocations: 4 kB / 285.5 MB, free: 3.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.88e-05/0.007558, allocations: 121 kB / 285.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.007591, allocations: 41.69 kB / 285.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007596, allocations: 0 / 285.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.007606, allocations: 0 / 285.7 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.007657, allocations: 4 kB / 285.7 MB, free: 3.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.007661, allocations: 4 kB / 285.7 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.007705, allocations: 11.83 kB / 285.7 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.007713, allocations: 4 kB / 285.7 MB, free: 3.203 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 8.558e-05/0.007799, allocations: 154.4 kB / 285.8 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/0.007813, allocations: 12.12 kB / 285.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.101e-05/0.007834, allocations: 12.42 kB / 285.9 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.007837, allocations: 3.938 kB / 285.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.007838, allocations: 7.938 kB / 285.9 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.007842, allocations: 3.938 kB / 285.9 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.996e-05/0.007912, allocations: 73.88 kB / 285.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.007913, allocations: 4 kB / 285.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.007928, allocations: 0 / 285.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.00793, allocations: 0 / 285.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.007937, allocations: 8 kB / 286 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.007939, allocations: 7.984 kB / 286 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007939, allocations: 0 / 286 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.008064, allocations: 174.1 kB / 286.1 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.008074, allocations: 3.953 kB / 286.1 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.008091, allocations: 8 kB / 286.1 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.008119, allocations: 4 kB / 286.1 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.492e-05/0.008144, allocations: 3.984 kB / 286.1 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.008156, allocations: 4 kB / 286.2 MB, free: 2.656 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.867e-05/0.008174, allocations: 17.28 kB / 286.2 MB, free: 2.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008174, allocations: 3.938 kB / 286.2 MB, free: 2.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001478/0.008322, allocations: 43.94 kB / 286.2 MB, free: 2.59 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.0005871/0.008909, allocations: 281.1 kB / 286.5 MB, free: 2.375 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.009045, allocations: 163.6 kB / 286.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.009048, allocations: 0 / 286.7 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.8e-05/0.009106, allocations: 117.9 kB / 286.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001046/0.009211, allocations: 12 kB / 286.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.009546, allocations: 219.5 kB / 287 MB, free: 1.789 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.994e-05/0.009585, allocations: 63.34 kB / 287.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.279e-05/0.009608, allocations: 0 / 287.1 MB, free: 1.707 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.532e-05/0.009694, allocations: 75.36 kB / 287.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.009695, allocations: 0 / 287.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of Templates: time 0.1092/0.1189, allocations: 1.693 MB / 288.8 MB, free: 24.05 MB / 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.564229822717607]