Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00189/0.00189, allocations: 185.6 kB / 15.98 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.3/1.3, allocations: 194.2 MB / 210.9 MB, free: 2.359 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03894/0.03894, allocations: 8.114 MB / 263.3 MB, free: 12.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001972/0.001972, allocations: 132 kB / 309.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 365.4 MB, free: 6.324 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2468, allocations: 45.26 MB / 410.7 MB, free: 66.83 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001567/0.2484, allocations: 469.3 kB / 411.1 MB, free: 66.37 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.2488, allocations: 79.22 kB / 411.2 MB, free: 66.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.062e-05/0.2488, allocations: 0 / 411.2 MB, free: 66.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.2488, allocations: 4 kB / 411.2 MB, free: 66.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.2488, allocations: 0 / 411.2 MB, free: 66.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.2492, allocations: 51.86 kB / 411.2 MB, free: 66.24 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.989e-05/0.2493, allocations: 19.98 kB / 411.3 MB, free: 66.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.526e-05/0.2494, allocations: 0 / 411.3 MB, free: 66.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.144e-05/0.2494, allocations: 15.98 kB / 411.3 MB, free: 66.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.2495, allocations: 27.91 kB / 411.3 MB, free: 66.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.2495, allocations: 0 / 411.3 MB, free: 66.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.2497, allocations: 27.97 kB / 411.3 MB, free: 66.15 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.2497, allocations: 0 / 411.3 MB, free: 66.15 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.968e-05/0.2497, allocations: 12 kB / 411.3 MB, free: 66.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2498, allocations: 31.89 kB / 411.4 MB, free: 66.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2498, allocations: 0 / 411.4 MB, free: 66.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2498, allocations: 0 / 411.4 MB, free: 66.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2499, allocations: 4 kB / 411.4 MB, free: 66.1 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003677/0.2502, allocations: 322.7 kB / 411.7 MB, free: 65.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.2503, allocations: 8.031 kB / 411.7 MB, free: 65.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.2503, allocations: 0.9375 kB / 411.7 MB, free: 65.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2504, allocations: 172.2 kB / 411.9 MB, free: 65.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2505, allocations: 4.375 kB / 411.9 MB, free: 65.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.2505, allocations: 4.375 kB / 411.9 MB, free: 65.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.2506, allocations: 34.25 kB / 411.9 MB, free: 65.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2507, allocations: 4.188 kB / 411.9 MB, free: 65.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.2507, allocations: 3.938 kB / 411.9 MB, free: 65.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.2507, allocations: 0 / 411.9 MB, free: 65.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.486e-05/0.2507, allocations: 15.98 kB / 411.9 MB, free: 65.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.2509, allocations: 141.7 kB / 412.1 MB, free: 65.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.2511, allocations: 38.55 kB / 412.1 MB, free: 65.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.067e-05/0.2512, allocations: 16.92 kB / 412.1 MB, free: 65.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.974e-05/0.2512, allocations: 4 kB / 412.1 MB, free: 65.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.2513, allocations: 38.55 kB / 412.2 MB, free: 65.15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2513, allocations: 0 / 412.2 MB, free: 65.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001673/0.2514, allocations: 49.62 kB / 412.2 MB, free: 65.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.2515, allocations: 51.41 kB / 412.3 MB, free: 65.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.736e-05/0.2515, allocations: 89.86 kB / 412.4 MB, free: 64.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.2515, allocations: 29.64 kB / 412.4 MB, free: 64.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.575e-05/0.2516, allocations: 80.14 kB / 412.5 MB, free: 64.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.2516, allocations: 21.92 kB / 412.5 MB, free: 64.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.2516, allocations: 17.7 kB / 412.5 MB, free: 64.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.971e-05/0.2517, allocations: 310.8 kB / 412.8 MB, free: 64.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.2518, allocations: 12.86 kB / 412.8 MB, free: 64.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.2518, allocations: 17.7 kB / 412.8 MB, free: 64.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.2518, allocations: 21.72 kB / 412.9 MB, free: 64.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.2519, allocations: 8 kB / 412.9 MB, free: 64.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.126e-05/0.2519, allocations: 53.95 kB / 412.9 MB, free: 64.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.252, allocations: 11.98 kB / 412.9 MB, free: 64.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.252, allocations: 3.938 kB / 412.9 MB, free: 64.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.252, allocations: 3.938 kB / 412.9 MB, free: 64.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.376e-05/0.252, allocations: 8 kB / 412.9 MB, free: 64.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.252, allocations: 0 / 412.9 MB, free: 64.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.461e-05/0.2521, allocations: 4 kB / 413 MB, free: 64.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.2521, allocations: 4 kB / 413 MB, free: 64.29 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE(fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001802/0.2523, allocations: 121.8 kB / 413.1 MB, free: 64.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.2523, allocations: 3.984 kB / 413.1 MB, free: 64.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.2524, allocations: 61.12 kB / 413.1 MB, free: 64.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2524, allocations: 0 / 413.1 MB, free: 64.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2524, allocations: 0 / 413.1 MB, free: 64.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.2525, allocations: 7.984 kB / 413.1 MB, free: 64.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.665e-05/0.2525, allocations: 149.6 kB / 413.3 MB, free: 63.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2526, allocations: 0 / 413.3 MB, free: 63.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.2526, allocations: 11.92 kB / 413.3 MB, free: 63.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.2526, allocations: 4 kB / 413.3 MB, free: 63.87 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2526, allocations: 7.938 kB / 413.3 MB, free: 63.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2526, allocations: 0 / 413.3 MB, free: 63.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2526, allocations: 0 / 413.3 MB, free: 63.86 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2538, allocations: 1.092 MB / 414.4 MB, free: 62.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.2539, allocations: 77.11 kB / 414.5 MB, free: 62.52 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-06/0.2539, allocations: 0 / 414.5 MB, free: 62.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.004e-05/0.2539, allocations: 0 / 414.5 MB, free: 62.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.2539, allocations: 4.141 kB / 414.5 MB, free: 62.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2539, allocations: 11.97 kB / 414.5 MB, free: 62.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.372e-05/0.2539, allocations: 75.28 kB / 414.6 MB, free: 62.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.254, allocations: 0 / 414.6 MB, free: 62.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.2542, allocations: 8 kB / 414.6 MB, free: 62.42 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001231/0.2544, allocations: 103.3 kB / 414.7 MB, free: 62.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.61e-05/0.2544, allocations: 19.98 kB / 414.7 MB, free: 62.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2544, allocations: 0 / 414.7 MB, free: 62.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.2545, allocations: 11.94 kB / 414.7 MB, free: 62.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.2546, allocations: 11.92 kB / 414.7 MB, free: 62.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003489/0.255, allocations: 210.1 kB / 414.9 MB, free: 62.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.2551, allocations: 0.6809 MB / 415.6 MB, free: 61.31 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.596e-05/0.2552, allocations: 8.062 kB / 415.6 MB, free: 61.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.2552, allocations: 11.44 kB / 415.6 MB, free: 61.29 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2552, allocations: 4 kB / 415.6 MB, free: 61.29 MB / 314.7 MB Notification: Performance of Templates: time 0.002851/0.2581, allocations: 452.6 kB / 416.1 MB, free: 60.85 MB / 314.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.makefile (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)