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.0008685/0.0008685, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.001109/0.001109, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03944/0.03944, allocations: 8.103 MB / 278.5 MB, free: 13.21 MB / 238.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.0005208/0.0005208, allocations: 15.98 kB / 338.3 MB, free: 27.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07793/0.07846, allocations: 49.28 MB / 387.5 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0005188/0.07902, allocations: 132.8 kB / 387.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 7.995e-05/0.07912, allocations: 37.58 kB / 387.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.07916, allocations: 0 / 387.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.07928, allocations: 7.938 kB / 387.7 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.858e-05/0.07936, allocations: 23.95 kB / 387.7 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.897e-05/0.07941, allocations: 7.984 kB / 387.7 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.07946, allocations: 15.98 kB / 387.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.07952, allocations: 0 / 387.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.07954, allocations: 7.984 kB / 387.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.07962, allocations: 27.91 kB / 387.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.07964, allocations: 0 / 387.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.07968, allocations: 8 kB / 387.8 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.0797, allocations: 11.98 kB / 387.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.07972, allocations: 29.7 kB / 387.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.121e-05/0.07979, allocations: 15.91 kB / 387.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.0798, allocations: 0 / 387.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.07981, allocations: 0 / 387.9 MB, free: 9.379 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.07982, allocations: 0 / 387.9 MB, free: 9.379 MB / 286.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.000271/0.0801, allocations: 311.4 kB / 388.2 MB, free: 9.027 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.08014, allocations: 8.031 kB / 388.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.08018, allocations: 8 kB / 388.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.08029, allocations: 167.1 kB / 388.3 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.08031, allocations: 4 kB / 388.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.08035, allocations: 4 kB / 388.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.796e-05/0.08045, allocations: 41.53 kB / 388.4 MB, free: 8.754 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.08047, allocations: 3.906 kB / 388.4 MB, free: 8.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.08049, allocations: 3.984 kB / 388.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.0805, allocations: 0 / 388.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.08054, allocations: 8 kB / 388.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.0807, allocations: 145.7 kB / 388.6 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.08086, allocations: 34.58 kB / 388.6 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.0809, allocations: 20.84 kB / 388.6 MB, free: 8.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.08093, allocations: 7.984 kB / 388.6 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.08095, allocations: 34.52 kB / 388.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.08096, allocations: 0 / 388.6 MB, free: 8.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001544/0.08112, allocations: 45.69 kB / 388.7 MB, free: 8.379 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.08116, allocations: 55.41 kB / 388.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.475e-05/0.08123, allocations: 89.86 kB / 388.8 MB, free: 8.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.08125, allocations: 25.7 kB / 388.9 MB, free: 8.184 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.08129, allocations: 84.14 kB / 388.9 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.08132, allocations: 12.12 kB / 389 MB, free: 8.086 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.08133, allocations: 0 / 389 MB, free: 8.086 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.08144, allocations: 314.8 kB / 389.3 MB, free: 7.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.08147, allocations: 16.8 kB / 389.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.08151, allocations: 17.84 kB / 389.3 MB, free: 7.727 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.166e-05/0.08153, allocations: 8 kB / 389.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.08154, allocations: 0 / 389.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.09e-05/0.08163, allocations: 57.53 kB / 389.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.08165, allocations: 6.656 kB / 389.4 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.08166, allocations: 3.953 kB / 389.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.08168, allocations: 0 / 389.4 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.08172, allocations: 11.98 kB / 389.4 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.08173, allocations: 0 / 389.4 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.08175, allocations: 4.031 kB / 389.4 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.08176, allocations: 4 kB / 389.4 MB, free: 7.629 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.08189, allocations: 109.8 kB / 389.5 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.0819, allocations: 3.938 kB / 389.5 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.08201, allocations: 53.12 kB / 389.6 MB, free: 7.441 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.08203, allocations: 3.953 kB / 389.6 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.08204, allocations: 0 / 389.6 MB, free: 7.438 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.08205, allocations: 7.922 kB / 389.6 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.073e-05/0.08214, allocations: 149.7 kB / 389.7 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.08215, allocations: 0 / 389.7 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.08219, allocations: 8 kB / 389.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.0822, allocations: 0 / 389.7 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.08222, allocations: 3.984 kB / 389.7 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.08222, allocations: 0 / 389.7 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.08223, allocations: 7.953 kB / 389.7 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.08234, allocations: 69.45 kB / 389.8 MB, free: 7.129 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.08238, allocations: 85.2 kB / 389.9 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.08241, allocations: 11.94 kB / 389.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.103e-05/0.08242, allocations: 0 / 389.9 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.08244, allocations: 7.938 kB / 389.9 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.08245, allocations: 7.984 kB / 389.9 MB, free: 7 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.684e-05/0.08249, allocations: 75.28 kB / 390 MB, free: 6.926 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08249, allocations: 0 / 390 MB, free: 6.926 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001849/0.08268, allocations: 4 kB / 390 MB, free: 6.922 MB / 286.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 (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.0001869/0.08287, allocations: 114.7 kB / 390.1 MB, free: 6.809 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.464e-05/0.08296, allocations: 15.98 kB / 390.1 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.08297, allocations: 0 / 390.1 MB, free: 6.793 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.08299, allocations: 11.94 kB / 390.1 MB, free: 6.781 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.08312, allocations: 4 kB / 390.1 MB, free: 6.777 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.08341, allocations: 132.9 kB / 390.3 MB, free: 6.617 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.08366, allocations: 0.6731 MB / 390.9 MB, free: 5.918 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.508e-05/0.08369, allocations: 7.984 kB / 390.9 MB, free: 5.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.08372, allocations: 7.438 kB / 390.9 MB, free: 5.902 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08373, allocations: 0 / 390.9 MB, free: 5.902 MB / 286.1 MB Notification: Performance of Templates: time 0.002249/0.08598, allocations: 447.8 kB / 391.4 MB, free: 5.473 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: