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.001073/0.001073, allocations: 108 kB / 16.36 MB, free: 6.285 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.001122/0.001122, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4-master/package.mo): time 0.01591/0.01591, allocations: 2.954 MB / 294.1 MB, free: 11.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001349, allocations: 60.31 kB / 356.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2154, allocations: 50.34 MB / 406.4 MB, free: 32.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.00254/0.2179, allocations: 1.506 MB / 408 MB, free: 30.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2193, allocations: 1.268 MB / 409.2 MB, free: 29.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.361e-05/0.2194, allocations: 0 / 409.2 MB, free: 29.71 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.0003616/0.2197, allocations: 39.78 kB / 409.3 MB, free: 29.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.122e-05/0.2198, allocations: 35.78 kB / 409.3 MB, free: 29.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.2201, allocations: 76.53 kB / 409.4 MB, free: 29.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.2202, allocations: 79.77 kB / 409.4 MB, free: 29.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.2203, allocations: 4 kB / 409.5 MB, free: 29.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/0.2203, allocations: 23.92 kB / 409.5 MB, free: 29.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.2206, allocations: 27.84 kB / 409.5 MB, free: 29.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2206, allocations: 4 kB / 409.5 MB, free: 29.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.2208, allocations: 103.9 kB / 409.6 MB, free: 29.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.2208, allocations: 11.98 kB / 409.6 MB, free: 29.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.2209, allocations: 23.81 kB / 409.6 MB, free: 29.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2211, allocations: 139.4 kB / 409.8 MB, free: 29.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2211, allocations: 0 / 409.8 MB, free: 29.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.2211, allocations: 7.938 kB / 409.8 MB, free: 29.15 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2211, allocations: 0 / 409.8 MB, free: 29.15 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.0003479/0.2215, allocations: 398.9 kB / 410.2 MB, free: 28.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.2215, allocations: 8.031 kB / 410.2 MB, free: 28.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.2215, allocations: 12.84 kB / 410.2 MB, free: 28.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2217, allocations: 192.1 kB / 410.4 MB, free: 28.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.2217, allocations: 4.375 kB / 410.4 MB, free: 28.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.2217, allocations: 384 / 410.4 MB, free: 28.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.2218, allocations: 69.98 kB / 410.5 MB, free: 28.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2219, allocations: 0 / 410.5 MB, free: 28.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2219, allocations: 7.922 kB / 410.5 MB, free: 28.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2219, allocations: 0 / 410.5 MB, free: 28.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.222, allocations: 31.98 kB / 410.5 MB, free: 28.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.2221, allocations: 169.6 kB / 410.7 MB, free: 28.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.378e-05/0.2221, allocations: 46.66 kB / 410.7 MB, free: 28.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.2222, allocations: 40.97 kB / 410.7 MB, free: 28.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.2222, allocations: 4 kB / 410.7 MB, free: 28.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001164/0.2223, allocations: 120.9 kB / 410.9 MB, free: 27.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2224, allocations: 3.938 kB / 410.9 MB, free: 27.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000262/0.2226, allocations: 183.3 kB / 411.1 MB, free: 27.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.2227, allocations: 85.11 kB / 411.1 MB, free: 27.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.2227, allocations: 125.8 kB / 411.3 MB, free: 27.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.2228, allocations: 33.7 kB / 411.3 MB, free: 27.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.2228, allocations: 88.14 kB / 411.4 MB, free: 27.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.2228, allocations: 23.64 kB / 411.4 MB, free: 27.31 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.2228, allocations: 21.72 kB / 411.4 MB, free: 27.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.2229, allocations: 318.8 kB / 411.7 MB, free: 26.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.956e-05/0.2229, allocations: 31.98 kB / 411.8 MB, free: 26.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.223, allocations: 31.92 kB / 411.8 MB, free: 26.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.339e-05/0.2231, allocations: 120.3 kB / 411.9 MB, free: 26.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2231, allocations: 0 / 411.9 MB, free: 26.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001547/0.2232, allocations: 163.2 kB / 412.1 MB, free: 26.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.2233, allocations: 45.69 kB / 412.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2233, allocations: 0 / 412.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2233, allocations: 0 / 412.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.36e-05/0.2234, allocations: 4 kB / 412.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2234, allocations: 0 / 412.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.317e-05/0.2234, allocations: 4 kB / 412.1 MB, free: 26.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.2234, allocations: 4 kB / 412.1 MB, free: 26.53 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 6.898e-05/0.2235, allocations: 147.5 kB / 412.3 MB, free: 26.37 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.2235, allocations: 15.84 kB / 412.3 MB, free: 26.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.923e-05/0.2236, allocations: 16.36 kB / 412.3 MB, free: 26.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2236, allocations: 0 / 412.3 MB, free: 26.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.2236, allocations: 0 / 412.3 MB, free: 26.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.2236, allocations: 4 kB / 412.3 MB, free: 26.33 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.837e-05/0.2237, allocations: 189.5 kB / 412.5 MB, free: 26.1 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2237, allocations: 0 / 412.5 MB, free: 26.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.965e-05/0.2237, allocations: 7.938 kB / 412.5 MB, free: 26.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2237, allocations: 0 / 412.5 MB, free: 26.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.2237, allocations: 4 kB / 412.5 MB, free: 26.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2237, allocations: 4 kB / 412.5 MB, free: 26.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2237, allocations: 8 kB / 412.5 MB, free: 26.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.2239, allocations: 206.6 kB / 412.7 MB, free: 25.85 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.224, allocations: 85.03 kB / 412.8 MB, free: 25.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.224, allocations: 4 kB / 412.8 MB, free: 25.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.29e-05/0.2241, allocations: 8 kB / 412.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.2241, allocations: 0 / 412.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.2241, allocations: 4 kB / 412.8 MB, free: 25.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.2242, allocations: 107.2 kB / 412.9 MB, free: 25.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2242, allocations: 4 kB / 412.9 MB, free: 25.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000226/0.2244, allocations: 36 kB / 413 MB, free: 25.59 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.0005913/0.225, allocations: 242.6 kB / 413.2 MB, free: 25.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.2252, allocations: 171.3 kB / 413.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2252, allocations: 0 / 413.4 MB, free: 25.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.038e-05/0.2253, allocations: 123.4 kB / 413.5 MB, free: 25.08 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.2255, allocations: 11.97 kB / 413.5 MB, free: 25.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.2258, allocations: 193.3 kB / 413.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.2259, allocations: 0.6962 MB / 414.4 MB, free: 24.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.164e-05/0.2259, allocations: 7.984 kB / 414.4 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.226, allocations: 11.44 kB / 414.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.226, allocations: 0 / 414.4 MB, free: 24.11 MB / 302.1 MB Notification: Performance of Templates: time 0.003535/0.2295, allocations: 1.493 MB / 415.9 MB, free: 22.63 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 cvode -lv LOG_STATS > ExternData_ExternData.Examples.CSVTest.pipe 2>&1)