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.001383/0.001383, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001186/0.001186, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.363/1.363, 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.04223/0.04223, allocations: 8.103 MB / 278.7 MB, free: 3.934 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.001472/0.001473, allocations: 68.53 kB / 387.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08346, allocations: 48.31 MB / 435.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001713/0.08521, allocations: 413.1 kB / 436 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 9.533e-05/0.08533, allocations: 43.86 kB / 436.1 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.08537, allocations: 0 / 436.1 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.08553, allocations: 7.938 kB / 436.1 MB, free: 8.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.654e-05/0.08563, allocations: 23.97 kB / 436.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.512e-05/0.0857, allocations: 4 kB / 436.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.407e-05/0.08577, allocations: 19.97 kB / 436.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.08583, allocations: 7.984 kB / 436.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.677e-05/0.08587, allocations: 4 kB / 436.1 MB, free: 8.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.08594, allocations: 35.89 kB / 436.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.08596, allocations: 0 / 436.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.554e-05/0.08601, allocations: 8 kB / 436.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.08604, allocations: 4 kB / 436.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.08607, allocations: 7.938 kB / 436.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.858e-05/0.08617, allocations: 23.91 kB / 436.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.08618, allocations: 0 / 436.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.08619, allocations: 0 / 436.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.0862, allocations: 0 / 436.2 MB, free: 7.996 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.0002457/0.08645, allocations: 319.6 kB / 436.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.0865, allocations: 15.89 kB / 436.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.08654, allocations: 0.9375 kB / 436.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.985e-05/0.08662, allocations: 164.4 kB / 436.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.08664, allocations: 384 / 436.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.08667, allocations: 4.375 kB / 436.7 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.275e-05/0.08677, allocations: 42.25 kB / 436.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.08678, allocations: 192 / 436.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.0868, allocations: 3.938 kB / 436.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.08681, allocations: 0 / 436.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.633e-05/0.08685, allocations: 11.92 kB / 436.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.08697, allocations: 153.7 kB / 436.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.08714, allocations: 34.67 kB / 436.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.08717, allocations: 12.86 kB / 437 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.0872, allocations: 7.875 kB / 437 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.08722, allocations: 34.56 kB / 437 MB, free: 7.043 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.08723, allocations: 0 / 437 MB, free: 7.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001371/0.08737, allocations: 53.56 kB / 437.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.0874, allocations: 55.39 kB / 437.1 MB, free: 6.918 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.054e-05/0.08746, allocations: 93.86 kB / 437.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.08747, allocations: 29.83 kB / 437.2 MB, free: 6.781 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.28e-05/0.08749, allocations: 80.14 kB / 437.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.08752, allocations: 15.75 kB / 437.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.08755, allocations: 13.72 kB / 437.3 MB, free: 6.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.002e-05/0.08759, allocations: 314.8 kB / 437.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.238e-05/0.08762, allocations: 12.86 kB / 437.7 MB, free: 6.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.08764, allocations: 13.72 kB / 437.7 MB, free: 6.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.08768, allocations: 33.64 kB / 437.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.08769, allocations: 0 / 437.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.083e-05/0.08777, allocations: 53.69 kB / 437.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.08779, allocations: 4 kB / 437.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.0878, allocations: 7.875 kB / 437.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.08782, allocations: 4 kB / 437.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.087e-05/0.08786, allocations: 4 kB / 437.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.08787, allocations: 0 / 437.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.08789, allocations: 4 kB / 437.8 MB, free: 6.191 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.0879, allocations: 4.031 kB / 437.8 MB, free: 6.188 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.0001266/0.08803, allocations: 112.5 kB / 437.9 MB, free: 6.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.08805, allocations: 7.906 kB / 437.9 MB, free: 6.062 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.08808, allocations: 15.42 kB / 437.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.08809, allocations: 336 / 437.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.0881, allocations: 0 / 437.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.0881, allocations: 0 / 437.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.095e-05/0.08817, allocations: 145.7 kB / 438.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.08818, allocations: 7.984 kB / 438.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.08822, allocations: 7.984 kB / 438.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.08823, allocations: 0 / 438.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.08825, allocations: 3.938 kB / 438.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.08825, allocations: 4 kB / 438.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.08826, allocations: 0 / 438.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.08836, allocations: 77 kB / 438.2 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.08839, allocations: 81.14 kB / 438.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.08841, allocations: 11.98 kB / 438.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.161e-05/0.08842, allocations: 4 kB / 438.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.08844, allocations: 4 kB / 438.3 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.08845, allocations: 7.938 kB / 438.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.729e-05/0.08847, allocations: 75.28 kB / 438.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08848, allocations: 0 / 438.3 MB, free: 5.539 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000184/0.08867, allocations: 4 kB / 438.3 MB, free: 5.535 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.0002084/0.08888, allocations: 123.5 kB / 438.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.248e-05/0.08898, allocations: 19.94 kB / 438.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.08899, allocations: 0 / 438.5 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.056e-05/0.08901, allocations: 4 kB / 438.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.08915, allocations: 7.922 kB / 438.5 MB, free: 5.379 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002444/0.0894, allocations: 147.5 kB / 438.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001006/0.08952, allocations: 0.6768 MB / 439.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.08956, allocations: 7.438 kB / 439.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.08957, allocations: 0 / 439.3 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Templates: time 0.001983/0.09156, allocations: 0.6558 MB / 440 MB, free: 3.836 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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)