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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 104.1 kB / 16.41 MB, free: 6.488 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.00104/0.00104, allocations: 187 kB / 17.34 MB, free: 5.73 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.313/1.313, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04553/0.04553, allocations: 8.107 MB / 278.7 MB, free: 3.941 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.001539/0.001539, allocations: 67.83 kB / 387.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06716/0.06871, allocations: 48.31 MB / 435.6 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001299/0.07004, allocations: 415.6 kB / 436 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002561/0.07032, allocations: 63.84 kB / 436.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.134e-05/0.07034, allocations: 0 / 436.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.092e-05/0.07036, allocations: 3.938 kB / 436.1 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.07037, allocations: 0 / 436.1 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.07071, allocations: 59.91 kB / 436.1 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.07076, allocations: 15.98 kB / 436.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.562e-05/0.0708, allocations: 7.984 kB / 436.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.869e-05/0.07083, allocations: 7.984 kB / 436.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.07092, allocations: 27.97 kB / 436.2 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.256e-06/0.07093, allocations: 3.938 kB / 436.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.07103, allocations: 39.91 kB / 436.2 MB, free: 7.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.07105, allocations: 3.984 kB / 436.3 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.07108, allocations: 4 kB / 436.3 MB, free: 7.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.502e-05/0.07119, allocations: 23.97 kB / 436.3 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.0712, allocations: 4 kB / 436.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.07121, allocations: 0 / 436.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.07121, allocations: 0 / 436.3 MB, free: 7.93 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.0002008/0.07142, allocations: 323.6 kB / 436.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.07145, allocations: 8.031 kB / 436.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.07148, allocations: 4.875 kB / 436.6 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.172e-05/0.07153, allocations: 164.4 kB / 436.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.07154, allocations: 384 / 436.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.07157, allocations: 4.375 kB / 436.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.76e-05/0.07165, allocations: 46.19 kB / 436.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.07167, allocations: 192 / 436.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.07168, allocations: 3.938 kB / 436.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.07169, allocations: 0 / 436.8 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.07172, allocations: 4 kB / 436.8 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.07183, allocations: 153.7 kB / 437 MB, free: 7.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.07204, allocations: 34.61 kB / 437 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.102e-05/0.07207, allocations: 16.92 kB / 437 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.0721, allocations: 0 / 437 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.039e-05/0.07211, allocations: 38.5 kB / 437.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.07212, allocations: 4 kB / 437.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001115/0.07223, allocations: 53.61 kB / 437.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.556e-05/0.07226, allocations: 51.41 kB / 437.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.532e-05/0.07228, allocations: 89.86 kB / 437.3 MB, free: 6.758 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-06/0.07229, allocations: 29.64 kB / 437.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-06/0.0723, allocations: 84.14 kB / 437.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.07233, allocations: 15.75 kB / 437.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.07236, allocations: 21.7 kB / 437.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.0724, allocations: 310.8 kB / 437.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.07243, allocations: 12.86 kB / 437.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.07245, allocations: 21.64 kB / 437.7 MB, free: 6.238 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.07249, allocations: 29.98 kB / 437.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0725, allocations: 0 / 437.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.176e-05/0.07256, allocations: 57.62 kB / 437.8 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.07258, allocations: 8 kB / 437.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.07259, allocations: 0 / 437.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.0726, allocations: 3.938 kB / 437.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.139e-05/0.07264, allocations: 11.98 kB / 437.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.07265, allocations: 0 / 437.9 MB, free: 6.117 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.392e-05/0.07267, allocations: 4 kB / 437.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.07268, allocations: 4 kB / 437.9 MB, free: 6.109 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.000169/0.07286, allocations: 121.8 kB / 438 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/0.07287, allocations: 3.938 kB / 438 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.773e-05/0.07297, allocations: 69.05 kB / 438.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.07298, allocations: 0 / 438.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.07299, allocations: 0 / 438.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.073, allocations: 4 kB / 438.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.645e-05/0.07305, allocations: 153.7 kB / 438.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.07306, allocations: 0 / 438.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.07309, allocations: 4 kB / 438.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.0731, allocations: 0 / 438.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.07311, allocations: 11.92 kB / 438.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.07312, allocations: 0 / 438.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.07312, allocations: 0 / 438.2 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.35e-05/0.07321, allocations: 84.97 kB / 438.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.07323, allocations: 77.11 kB / 438.4 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.07325, allocations: 11.95 kB / 438.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.07326, allocations: 0 / 438.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.54e-05/0.07328, allocations: 0 / 438.4 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.07329, allocations: 4 kB / 438.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.038e-05/0.07331, allocations: 79.28 kB / 438.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07331, allocations: 0 / 438.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001929/0.07351, allocations: 8 kB / 438.5 MB, free: 5.387 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.0001409/0.07366, allocations: 111.3 kB / 438.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.061e-05/0.07375, allocations: 19.98 kB / 438.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.07376, allocations: 0 / 438.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.248e-05/0.07378, allocations: 11.88 kB / 438.6 MB, free: 5.234 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.07391, allocations: 4 kB / 438.6 MB, free: 5.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.07408, allocations: 131.9 kB / 438.8 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.07416, allocations: 0.6729 MB / 439.4 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.07419, allocations: 15.5 kB / 439.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.0742, allocations: 0 / 439.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of Templates: time 0.001732/0.07594, allocations: 0.5851 MB / 440 MB, free: 3.773 MB / 318.1 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)