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/package.mo", uses=false) Using package ExternData with version 3.0.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.005818/0.005818, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001089/0.001089, allocations: 193.2 kB / 16.67 MB, free: 5.938 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/package.mo): time 0.1712/0.1712, allocations: 2.93 MB / 293.5 MB, free: 3.207 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 406.3 MB, free: 172 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3182, allocations: 50.33 MB / 456.6 MB, free: 28.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.CSVTest): time 0.004132/0.3224, allocations: 1.518 MB / 458.1 MB, free: 27.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002257/0.3247, allocations: 1.271 MB / 459.4 MB, free: 26.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3249, allocations: 6.875 kB / 459.4 MB, free: 26.29 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.0.4/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.0005502/0.3254, allocations: 45.48 kB / 459.4 MB, free: 26.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.3256, allocations: 31.67 kB / 459.5 MB, free: 26.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.3261, allocations: 75.97 kB / 459.5 MB, free: 26.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3264, allocations: 72.95 kB / 459.6 MB, free: 26.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.834e-05/0.3264, allocations: 3.375 kB / 459.6 MB, free: 26.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.3266, allocations: 30.95 kB / 459.6 MB, free: 26.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.3269, allocations: 28.75 kB / 459.7 MB, free: 26.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.3269, allocations: 2.969 kB / 459.7 MB, free: 26.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.3272, allocations: 96.44 kB / 459.8 MB, free: 26.13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.3273, allocations: 21.28 kB / 459.8 MB, free: 26.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.943e-05/0.3274, allocations: 22.12 kB / 459.8 MB, free: 26.11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.3277, allocations: 130.5 kB / 459.9 MB, free: 26.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.3277, allocations: 0 / 459.9 MB, free: 26.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3278, allocations: 0 / 459.9 MB, free: 26.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.3278, allocations: 2.969 kB / 459.9 MB, free: 26.06 MB / 366.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.0006416/0.3284, allocations: 404.2 kB / 460.3 MB, free: 25.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.3285, allocations: 13.11 kB / 460.3 MB, free: 25.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.3286, allocations: 11.08 kB / 460.4 MB, free: 25.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.3289, allocations: 189.4 kB / 460.5 MB, free: 25.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.3289, allocations: 3.625 kB / 460.5 MB, free: 25.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3289, allocations: 4.375 kB / 460.5 MB, free: 25.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3291, allocations: 67.94 kB / 460.6 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3291, allocations: 0 / 460.6 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3291, allocations: 3.344 kB / 460.6 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3292, allocations: 0 / 460.6 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.3292, allocations: 30.94 kB / 460.6 MB, free: 25.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.3294, allocations: 176.8 kB / 460.8 MB, free: 25.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.3295, allocations: 45.92 kB / 460.9 MB, free: 25.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.3296, allocations: 43.11 kB / 460.9 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.3296, allocations: 3.469 kB / 460.9 MB, free: 25.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.3298, allocations: 115.6 kB / 461 MB, free: 25.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.3298, allocations: 0 / 461 MB, free: 25.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003636/0.3302, allocations: 187 kB / 461.2 MB, free: 24.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.3302, allocations: 87.7 kB / 461.3 MB, free: 24.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.3303, allocations: 131.3 kB / 461.4 MB, free: 24.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3303, allocations: 32.92 kB / 461.5 MB, free: 24.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.3304, allocations: 84.14 kB / 461.5 MB, free: 24.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.3304, allocations: 18.09 kB / 461.6 MB, free: 24.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.3305, allocations: 23.48 kB / 461.6 MB, free: 24.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.3305, allocations: 321.4 kB / 461.9 MB, free: 24.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.781e-05/0.3306, allocations: 27.06 kB / 461.9 MB, free: 24.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.752e-05/0.3306, allocations: 30.67 kB / 461.9 MB, free: 24.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.3308, allocations: 120.6 kB / 462.1 MB, free: 24.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3308, allocations: 4 kB / 462.1 MB, free: 24.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001882/0.331, allocations: 168.3 kB / 462.2 MB, free: 24.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.331, allocations: 39.14 kB / 462.3 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.331, allocations: 3.938 kB / 462.3 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.331, allocations: 3.281 kB / 462.3 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.3311, allocations: 3.031 kB / 462.3 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3311, allocations: 2.938 kB / 462.3 MB, free: 23.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.023e-05/0.3312, allocations: 6.766 kB / 462.3 MB, free: 23.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.3312, allocations: 3.25 kB / 462.3 MB, free: 23.97 MB / 366.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 9.272e-05/0.3313, allocations: 156.3 kB / 462.4 MB, free: 23.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.3313, allocations: 14.39 kB / 462.5 MB, free: 23.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.3314, allocations: 15.06 kB / 462.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3314, allocations: 0 / 462.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3314, allocations: 4 kB / 462.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3314, allocations: 0 / 462.5 MB, free: 23.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.453e-05/0.3315, allocations: 183 kB / 462.7 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3315, allocations: 0 / 462.7 MB, free: 23.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.283e-05/0.3315, allocations: 11.19 kB / 462.7 MB, free: 23.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3315, allocations: 3.938 kB / 462.7 MB, free: 23.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.3315, allocations: 7.281 kB / 462.7 MB, free: 23.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3315, allocations: 0 / 462.7 MB, free: 23.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3316, allocations: 0 / 462.7 MB, free: 23.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.3318, allocations: 209.5 kB / 462.9 MB, free: 23.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.3318, allocations: 84.05 kB / 463 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3318, allocations: 7.312 kB / 463 MB, free: 23.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.115e-05/0.3319, allocations: 3.031 kB / 463 MB, free: 23.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3319, allocations: 3.188 kB / 463 MB, free: 23.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.332, allocations: 7.062 kB / 463 MB, free: 23.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.925e-05/0.332, allocations: 102.2 kB / 463.1 MB, free: 23.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.332, allocations: 0 / 463.1 MB, free: 23.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3323, allocations: 54.23 kB / 463.1 MB, free: 23.25 MB / 366.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.0005677/0.3328, allocations: 225.8 kB / 463.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002263/0.3331, allocations: 176.4 kB / 463.5 MB, free: 22.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3331, allocations: 0 / 463.5 MB, free: 22.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/0.3332, allocations: 120.7 kB / 463.6 MB, free: 22.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.3334, allocations: 7.312 kB / 463.7 MB, free: 22.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.3339, allocations: 198.6 kB / 463.9 MB, free: 22.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.334, allocations: 0.6946 MB / 464.5 MB, free: 22.05 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.8e-05/0.3341, allocations: 3.156 kB / 464.5 MB, free: 22.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.3341, allocations: 14.53 kB / 464.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.465e-06/0.3341, allocations: 0 / 464.6 MB, free: 22.04 MB / 366.1 MB Notification: Performance of Templates: time 0.005055/0.3392, allocations: 1.487 MB / 466 MB, free: 21.89 MB / 366.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)