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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001228/0.001228, allocations: 195.8 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04252/0.04252, allocations: 8.102 MB / 278.6 MB, free: 3.977 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 67.91 kB / 338.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3661, allocations: 48.29 MB / 386.9 MB, free: 51.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.002396/0.3685, allocations: 425.1 kB / 387.3 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.3687, allocations: 36.92 kB / 387.4 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.204e-05/0.3687, allocations: 0 / 387.4 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.3689, allocations: 9.844 kB / 387.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.3691, allocations: 23.34 kB / 387.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.841e-05/0.3692, allocations: 11.48 kB / 387.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.3693, allocations: 16.59 kB / 387.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.018e-05/0.3694, allocations: 1.781 kB / 387.4 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.767e-05/0.3694, allocations: 17.31 kB / 387.4 MB, free: 51.26 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.3695, allocations: 28.58 kB / 387.5 MB, free: 51.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.3695, allocations: 2.906 kB / 387.5 MB, free: 51.26 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.175e-05/0.3696, allocations: 4.719 kB / 387.5 MB, free: 51.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.3697, allocations: 1.984 kB / 387.5 MB, free: 51.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.3697, allocations: 17.62 kB / 387.5 MB, free: 51.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.3698, allocations: 13.44 kB / 387.5 MB, free: 51.24 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.3698, allocations: 1.875 kB / 387.5 MB, free: 51.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3698, allocations: 0 / 387.5 MB, free: 51.24 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3698, allocations: 0.7812 kB / 387.5 MB, free: 51.24 MB / 318.1 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.000338/0.3702, allocations: 326.4 kB / 387.8 MB, free: 50.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3702, allocations: 12.95 kB / 387.8 MB, free: 50.88 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.3703, allocations: 5.5 kB / 387.8 MB, free: 50.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.134e-05/0.3704, allocations: 163.2 kB / 388 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3704, allocations: 0.9375 kB / 388 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.3704, allocations: 3.25 kB / 388 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3706, allocations: 36.55 kB / 388 MB, free: 50.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.3706, allocations: 2.297 kB / 388 MB, free: 50.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3706, allocations: 4.562 kB / 388.1 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3706, allocations: 0 / 388.1 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.273e-05/0.3707, allocations: 9.531 kB / 388.1 MB, free: 50.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001344/0.3708, allocations: 152.5 kB / 388.2 MB, free: 50.45 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.371, allocations: 35.16 kB / 388.2 MB, free: 50.42 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.3711, allocations: 12.59 kB / 388.3 MB, free: 50.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3711, allocations: 1.125 kB / 388.3 MB, free: 50.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.3711, allocations: 32.67 kB / 388.3 MB, free: 50.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3711, allocations: 1.375 kB / 388.3 MB, free: 50.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001876/0.3713, allocations: 56.36 kB / 388.3 MB, free: 50.33 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.3714, allocations: 52.28 kB / 388.4 MB, free: 50.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.3715, allocations: 94.73 kB / 388.5 MB, free: 50.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3715, allocations: 29.7 kB / 388.5 MB, free: 50.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.3715, allocations: 81.45 kB / 388.6 MB, free: 50.05 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3715, allocations: 10.02 kB / 388.6 MB, free: 50.05 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.3716, allocations: 17.83 kB / 388.6 MB, free: 50.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.3717, allocations: 313.9 kB / 388.9 MB, free: 49.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.3717, allocations: 8.469 kB / 388.9 MB, free: 49.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.3717, allocations: 24.61 kB / 389 MB, free: 49.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.689e-05/0.3718, allocations: 26.97 kB / 389 MB, free: 49.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3718, allocations: 0 / 389 MB, free: 49.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.098e-05/0.3719, allocations: 49.44 kB / 389 MB, free: 49.63 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3719, allocations: 6.125 kB / 389 MB, free: 49.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3719, allocations: 11.86 kB / 389.1 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.372, allocations: 1.375 kB / 389.1 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.753e-05/0.372, allocations: 5.828 kB / 389.1 MB, free: 49.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.372, allocations: 7.391 kB / 389.1 MB, free: 49.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.372, allocations: 9.469 kB / 389.1 MB, free: 49.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.3721, allocations: 3.562 kB / 389.1 MB, free: 49.61 MB / 318.1 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.0001631/0.3722, allocations: 116.3 kB / 389.2 MB, free: 49.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/0.3722, allocations: 0 / 389.2 MB, free: 49.49 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.3723, allocations: 10.52 kB / 389.2 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3723, allocations: 1.188 kB / 389.2 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.3723, allocations: 2.344 kB / 389.2 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.954e-06/0.3723, allocations: 1.031 kB / 389.2 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.3724, allocations: 151 kB / 389.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3724, allocations: 0.7188 kB / 389.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.3725, allocations: 6.156 kB / 389.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3725, allocations: 2.469 kB / 389.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.3725, allocations: 3.938 kB / 389.4 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3725, allocations: 2.344 kB / 389.4 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.3725, allocations: 0.6094 kB / 389.4 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.3727, allocations: 79.3 kB / 389.5 MB, free: 49.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.3727, allocations: 81.86 kB / 389.5 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.3728, allocations: 4.688 kB / 389.5 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.3728, allocations: 3.594 kB / 389.5 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.3728, allocations: 2.094 kB / 389.5 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3728, allocations: 1.938 kB / 389.5 MB, free: 49.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.453e-05/0.3728, allocations: 77.73 kB / 389.6 MB, free: 49.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3728, allocations: 4.438 kB / 389.6 MB, free: 49.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.373, allocations: 6.75 kB / 389.6 MB, free: 49.03 MB / 318.1 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.0002644/0.3733, allocations: 122.1 kB / 389.8 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3734, allocations: 22.14 kB / 389.8 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3734, allocations: 0 / 389.8 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.667e-05/0.3735, allocations: 10.05 kB / 389.8 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.3737, allocations: 2.031 kB / 389.8 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.374, allocations: 105.2 kB / 389.9 MB, free: 48.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.3741, allocations: 0.6832 MB / 390.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.399e-05/0.3742, allocations: 7.078 kB / 390.6 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.605e-05/0.3742, allocations: 13.84 kB / 390.6 MB, free: 48.11 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3742, allocations: 0 / 390.6 MB, free: 48.11 MB / 318.1 MB Notification: Performance of Templates: time 0.002988/0.3772, allocations: 461.8 kB / 391 MB, free: 48.06 MB / 318.1 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 -s cvode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)