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.001504/0.001504, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001386/0.001386, allocations: 191 kB / 17.29 MB, free: 5.516 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.02189/0.02189, allocations: 2.959 MB / 294.1 MB, free: 11.77 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 356.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2297, allocations: 50.34 MB / 406.4 MB, free: 32.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.002764/0.2325, allocations: 1.508 MB / 407.9 MB, free: 30.96 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.234, allocations: 1.266 MB / 409.2 MB, free: 29.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.631e-05/0.234, allocations: 4 kB / 409.2 MB, free: 29.68 MB / 302.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.0003764/0.2344, allocations: 47.75 kB / 409.3 MB, free: 29.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.4e-05/0.2345, allocations: 31.86 kB / 409.3 MB, free: 29.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.2348, allocations: 79.78 kB / 409.4 MB, free: 29.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.2349, allocations: 67.78 kB / 409.4 MB, free: 29.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.235, allocations: 4 kB / 409.4 MB, free: 29.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.948e-05/0.235, allocations: 23.86 kB / 409.5 MB, free: 29.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.2352, allocations: 35.84 kB / 409.5 MB, free: 29.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.2353, allocations: 8 kB / 409.5 MB, free: 29.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00017/0.2354, allocations: 99.84 kB / 409.6 MB, free: 29.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.2355, allocations: 15.98 kB / 409.6 MB, free: 29.28 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.2356, allocations: 27.8 kB / 409.6 MB, free: 29.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.2358, allocations: 119.6 kB / 409.8 MB, free: 29.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2358, allocations: 3.938 kB / 409.8 MB, free: 29.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2358, allocations: 0 / 409.8 MB, free: 29.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2358, allocations: 0 / 409.8 MB, free: 29.13 MB / 302.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.0004134/0.2362, allocations: 402.9 kB / 410.2 MB, free: 28.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.2363, allocations: 19.89 kB / 410.2 MB, free: 28.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.2363, allocations: 8.844 kB / 410.2 MB, free: 28.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/0.2365, allocations: 196.1 kB / 410.4 MB, free: 28.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2365, allocations: 4.359 kB / 410.4 MB, free: 28.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.2366, allocations: 384 / 410.4 MB, free: 28.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.2367, allocations: 65.98 kB / 410.5 MB, free: 28.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2367, allocations: 0 / 410.5 MB, free: 28.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2367, allocations: 4 kB / 410.5 MB, free: 28.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.2368, allocations: 0 / 410.5 MB, free: 28.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.2368, allocations: 31.98 kB / 410.5 MB, free: 28.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.237, allocations: 173.6 kB / 410.7 MB, free: 28.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.175e-05/0.237, allocations: 54.5 kB / 410.7 MB, free: 28.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.2371, allocations: 40.89 kB / 410.7 MB, free: 28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.2371, allocations: 0 / 410.7 MB, free: 28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.2373, allocations: 113 kB / 410.9 MB, free: 27.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.2373, allocations: 4 kB / 410.9 MB, free: 27.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002915/0.2376, allocations: 191.2 kB / 411.1 MB, free: 27.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.2376, allocations: 89.05 kB / 411.1 MB, free: 27.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.2377, allocations: 129.8 kB / 411.3 MB, free: 27.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.2377, allocations: 29.69 kB / 411.3 MB, free: 27.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.287e-05/0.2378, allocations: 88.3 kB / 411.4 MB, free: 27.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.2378, allocations: 23.64 kB / 411.4 MB, free: 27.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.2378, allocations: 25.7 kB / 411.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.053e-05/0.2379, allocations: 318.8 kB / 411.7 MB, free: 26.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.2379, allocations: 27.98 kB / 411.8 MB, free: 26.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.235e-05/0.238, allocations: 27.98 kB / 411.8 MB, free: 26.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.238, allocations: 116.2 kB / 411.9 MB, free: 26.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2381, allocations: 0 / 411.9 MB, free: 26.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001721/0.2382, allocations: 163.2 kB / 412.1 MB, free: 26.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.116e-05/0.2383, allocations: 41.69 kB / 412.1 MB, free: 26.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2383, allocations: 0 / 412.1 MB, free: 26.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2383, allocations: 0 / 412.1 MB, free: 26.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.221e-05/0.2384, allocations: 4 kB / 412.1 MB, free: 26.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2384, allocations: 4 kB / 412.1 MB, free: 26.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.2384, allocations: 7.984 kB / 412.1 MB, free: 26.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.2385, allocations: 4 kB / 412.1 MB, free: 26.5 MB / 302.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 7.431e-05/0.2385, allocations: 154 kB / 412.3 MB, free: 26.34 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.965e-05/0.2386, allocations: 11.84 kB / 412.3 MB, free: 26.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.2386, allocations: 12.38 kB / 412.3 MB, free: 26.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2386, allocations: 3.938 kB / 412.3 MB, free: 26.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2386, allocations: 96 / 412.3 MB, free: 26.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2386, allocations: 7.938 kB / 412.3 MB, free: 26.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.7e-05/0.2387, allocations: 189.5 kB / 412.5 MB, free: 26.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2387, allocations: 0 / 412.5 MB, free: 26.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.2387, allocations: 7.938 kB / 412.5 MB, free: 26.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2387, allocations: 0 / 412.5 MB, free: 26.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2388, allocations: 7.984 kB / 412.5 MB, free: 26.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2388, allocations: 0 / 412.5 MB, free: 26.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2388, allocations: 4 kB / 412.5 MB, free: 26.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.239, allocations: 202.7 kB / 412.7 MB, free: 25.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.239, allocations: 89.05 kB / 412.8 MB, free: 25.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.239, allocations: 4 kB / 412.8 MB, free: 25.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.214e-05/0.2391, allocations: 4 kB / 412.8 MB, free: 25.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.2391, allocations: 8.172 kB / 412.8 MB, free: 25.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2391, allocations: 0 / 412.8 MB, free: 25.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.412e-05/0.2392, allocations: 103.3 kB / 412.9 MB, free: 25.6 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2392, allocations: 3.938 kB / 412.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.2394, allocations: 40 kB / 413 MB, free: 25.55 MB / 302.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.0004635/0.2399, allocations: 239.6 kB / 413.2 MB, free: 25.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.2401, allocations: 159.4 kB / 413.4 MB, free: 25.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2401, allocations: 0 / 413.4 MB, free: 25.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.2402, allocations: 123.4 kB / 413.5 MB, free: 25.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.2404, allocations: 15.52 kB / 413.5 MB, free: 25.04 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003143/0.2407, allocations: 209.2 kB / 413.7 MB, free: 24.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2408, allocations: 0.6923 MB / 414.4 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.302e-05/0.2408, allocations: 4 kB / 414.4 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.015e-05/0.2409, allocations: 11.44 kB / 414.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2409, allocations: 0 / 414.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of Templates: time 0.003819/0.2447, allocations: 1.493 MB / 415.9 MB, free: 22.6 MB / 302.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 -s gbode -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1)