Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004291/0.004292, allocations: 175.1 kB / 15.12 MB, free: 5.973 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.037/1.037, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03678/0.03678, allocations: 8.096 MB / 263.6 MB, free: 2.152 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.001562/0.001562, allocations: 120.5 kB / 310.6 MB, free: 27.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002993, allocations: 12 kB / 367.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1723, allocations: 46.2 MB / 413.4 MB, free: 47.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06674/0.2391, allocations: 70.98 MB / 484.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001159/0.2392, allocations: 47.98 kB / 484.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001278/0.2405, allocations: 0.6528 MB / 485.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2406, allocations: 0.625 kB / 485.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.2406, allocations: 2.062 kB / 485.1 MB, free: 14.11 MB / 330.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.0001947/0.2408, allocations: 311.4 kB / 485.4 MB, free: 13.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2408, allocations: 8.031 kB / 485.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.2408, allocations: 4 kB / 485.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.089e-05/0.2409, allocations: 174.9 kB / 485.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.241, allocations: 0.75 kB / 485.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.241, allocations: 4 kB / 485.6 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.648e-05/0.2411, allocations: 30.92 kB / 485.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2411, allocations: 7.984 kB / 485.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.2411, allocations: 1.844 kB / 485.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.2411, allocations: 0 / 485.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.2411, allocations: 8 kB / 485.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001202/0.2413, allocations: 149.7 kB / 485.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.2414, allocations: 38.52 kB / 485.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.2414, allocations: 0 / 485.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.2415, allocations: 34.62 kB / 485.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.2415, allocations: 0 / 485.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000111/0.2416, allocations: 41.78 kB / 485.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.2416, allocations: 59.34 kB / 486 MB, free: 13.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.2417, allocations: 100.9 kB / 486.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.2417, allocations: 29.64 kB / 486.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.2417, allocations: 80.14 kB / 486.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.2418, allocations: 7.906 kB / 486.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.2418, allocations: 0 / 486.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.371e-05/0.2418, allocations: 314.8 kB / 486.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.2419, allocations: 12.84 kB / 486.5 MB, free: 12.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.2419, allocations: 17.72 kB / 486.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.733e-05/0.2419, allocations: 8.125 kB / 486.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2419, allocations: 0 / 486.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.116e-05/0.242, allocations: 57.86 kB / 486.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.242, allocations: 4 kB / 486.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.242, allocations: 0 / 486.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2421, allocations: 4.047 kB / 486.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.233e-05/0.2421, allocations: 15.92 kB / 486.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2421, allocations: 0 / 486.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.2421, allocations: 3.984 kB / 486.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.2421, allocations: 8.031 kB / 486.6 MB, free: 12.39 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.2423, allocations: 114.2 kB / 486.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.787e-06/0.2423, allocations: 3.953 kB / 486.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.2424, allocations: 53.12 kB / 486.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2424, allocations: 0 / 486.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2424, allocations: 0 / 486.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2424, allocations: 0 / 486.8 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.655e-05/0.2425, allocations: 157.6 kB / 487 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2425, allocations: 4 kB / 487 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.2425, allocations: 4 kB / 487 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2425, allocations: 0 / 487 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.2425, allocations: 3.953 kB / 487 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2425, allocations: 4 kB / 487 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2426, allocations: 0 / 487 MB, free: 11.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.558e-05/0.2427, allocations: 77.05 kB / 487 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.2427, allocations: 81.14 kB / 487.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.2427, allocations: 0 / 487.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.321e-05/0.2427, allocations: 8.016 kB / 487.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.236e-05/0.2428, allocations: 4 kB / 487.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.2428, allocations: 0 / 487.1 MB, free: 11.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.558e-05/0.2428, allocations: 79.22 kB / 487.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2428, allocations: 0 / 487.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001809/0.243, allocations: 11.98 kB / 487.2 MB, free: 11.7 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001726/0.2432, allocations: 117 kB / 487.3 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.238e-05/0.2432, allocations: 15.92 kB / 487.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2432, allocations: 3.938 kB / 487.4 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.478e-05/0.2433, allocations: 12.19 kB / 487.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.614e-05/0.2433, allocations: 0 / 487.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004882/0.2438, allocations: 231.5 kB / 487.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001785/0.244, allocations: 0.677 MB / 488.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.2441, allocations: 4 kB / 488.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.2441, allocations: 15.38 kB / 488.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2441, allocations: 0 / 488.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of Templates: time 0.001876/0.246, allocations: 443.7 kB / 488.7 MB, free: 10.17 MB / 330.7 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)