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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") translateModel(ExternData.Examples.CSVTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ExternData_ExternData.Examples.CSVTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 116.2 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009986/0.0009986, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01351/0.01351, allocations: 2.952 MB / 294.2 MB, free: 11.81 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 406.9 MB, free: 28.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07206/0.07326, allocations: 50.33 MB / 457.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002458/0.07575, allocations: 1.508 MB / 458.8 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.07732, allocations: 1.276 MB / 460.1 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.07738, allocations: 0 / 460.1 MB, free: 7.609 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/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.0002964/0.07768, allocations: 51.66 kB / 460.1 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.946e-05/0.07777, allocations: 31.84 kB / 460.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.07802, allocations: 83.78 kB / 460.2 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.07814, allocations: 67.83 kB / 460.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.456e-05/0.07818, allocations: 3.938 kB / 460.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.07825, allocations: 31.84 kB / 460.3 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.07841, allocations: 27.86 kB / 460.3 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.07843, allocations: 4 kB / 460.4 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.07861, allocations: 107.8 kB / 460.5 MB, free: 7.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.07866, allocations: 11.92 kB / 460.5 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.692e-05/0.07872, allocations: 27.88 kB / 460.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.07892, allocations: 127.7 kB / 460.6 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.07893, allocations: 4 kB / 460.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07894, allocations: 0 / 460.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.07894, allocations: 0 / 460.6 MB, free: 7.039 MB / 334.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.0004259/0.07938, allocations: 397 kB / 461 MB, free: 6.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.07942, allocations: 11.89 kB / 461 MB, free: 6.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.07946, allocations: 8.844 kB / 461 MB, free: 6.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.07968, allocations: 192.1 kB / 461.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.0797, allocations: 8.375 kB / 461.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.07972, allocations: 384 / 461.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.07987, allocations: 65.98 kB / 461.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.07989, allocations: 0 / 461.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.07991, allocations: 0 / 461.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.07992, allocations: 4 kB / 461.3 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.722e-05/0.07999, allocations: 27.98 kB / 461.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.08017, allocations: 185.5 kB / 461.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.08025, allocations: 46.52 kB / 461.6 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/0.08032, allocations: 44.89 kB / 461.6 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.316e-06/0.08033, allocations: 4 kB / 461.6 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.08048, allocations: 112.9 kB / 461.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.08049, allocations: 0 / 461.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003217/0.08081, allocations: 191.4 kB / 461.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.08086, allocations: 77.11 kB / 462 MB, free: 5.484 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.08098, allocations: 141.7 kB / 462.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.081, allocations: 25.7 kB / 462.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.08104, allocations: 88.14 kB / 462.2 MB, free: 5.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.08108, allocations: 15.8 kB / 462.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.08112, allocations: 21.72 kB / 462.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.08123, allocations: 322.8 kB / 462.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.08128, allocations: 27.98 kB / 462.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.255e-05/0.08133, allocations: 31.92 kB / 462.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.08145, allocations: 120.2 kB / 462.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.08146, allocations: 0 / 462.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002022/0.08167, allocations: 159.4 kB / 462.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.08171, allocations: 41.62 kB / 462.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.08172, allocations: 0 / 462.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.08174, allocations: 3.984 kB / 462.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.435e-05/0.0818, allocations: 4 kB / 463 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.08181, allocations: 0 / 463 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.08188, allocations: 15.84 kB / 463 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.0819, allocations: 4 kB / 463 MB, free: 4.414 MB / 334.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.0001082/0.08201, allocations: 156.2 kB / 463.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.294e-05/0.08204, allocations: 15.78 kB / 463.1 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.981e-05/0.08207, allocations: 8.359 kB / 463.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.08207, allocations: 3.938 kB / 463.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.08208, allocations: 0 / 463.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.08212, allocations: 85.11 kB / 463.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.08215, allocations: 4 kB / 463.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.335e-05/0.0822, allocations: 0 / 463.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.08224, allocations: 4 kB / 463.2 MB, free: 4.109 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002809/0.08252, allocations: 318 kB / 463.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002938/0.08283, allocations: 356.3 kB / 463.9 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.696e-05/0.08292, allocations: 59.98 kB / 464 MB, free: 3.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.498e-05/0.08299, allocations: 107.2 kB / 464.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of Backend: time 3.2e-07/0.083, allocations: 0 / 464.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008463/0.08385, allocations: 336.5 kB / 464.4 MB, free: 2.938 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004899/0.08435, allocations: 0.6696 MB / 465.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of Templates: time 0.003917/0.08828, allocations: 1.536 MB / 466.6 MB, free: 0.6797 MB / 334.1 MB make -j1 -f ExternData_ExternData.Examples.CSVTest.makefile (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)