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.001523/0.001523, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.11/2.11, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03772/0.03772, allocations: 7.91 MB / 260.4 MB, free: 13.79 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.002209/0.002209, allocations: 112.4 kB / 307.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.961e-05, allocations: 0 / 361.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.334, allocations: 46.2 MB / 407.4 MB, free: 67.05 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4667, allocations: 70.9 MB / 478.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.4671, allocations: 47.98 kB / 478.4 MB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001998/0.4691, allocations: 0.6471 MB / 479 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4692, allocations: 3.938 kB / 479 MB, free: 11.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4692, allocations: 0 / 479 MB, free: 11.36 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.0003625/0.4695, allocations: 314.5 kB / 479.3 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.018e-05/0.4696, allocations: 12.03 kB / 479.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.4697, allocations: 0 / 479.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.4699, allocations: 167 kB / 479.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.4699, allocations: 4 kB / 479.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.4699, allocations: 4 kB / 479.5 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.4701, allocations: 41.62 kB / 479.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4701, allocations: 0 / 479.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4701, allocations: 0 / 479.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4702, allocations: 0 / 479.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.688e-05/0.4702, allocations: 4 kB / 479.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000227/0.4704, allocations: 157.7 kB / 479.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002325/0.4707, allocations: 30.58 kB / 479.7 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.4707, allocations: 16.86 kB / 479.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.4708, allocations: 0 / 479.8 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.4708, allocations: 38.56 kB / 479.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.4708, allocations: 0 / 479.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000172/0.471, allocations: 41.69 kB / 479.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.4711, allocations: 51.41 kB / 479.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.4712, allocations: 101 kB / 480 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.4712, allocations: 25.7 kB / 480 MB, free: 10.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.4713, allocations: 80.14 kB / 480.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.4713, allocations: 3.906 kB / 480.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.4713, allocations: 0 / 480.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4715, allocations: 318.8 kB / 480.4 MB, free: 9.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.909e-05/0.4715, allocations: 8.797 kB / 480.4 MB, free: 9.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.4716, allocations: 17.72 kB / 480.4 MB, free: 9.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/0.4716, allocations: 16.11 kB / 480.5 MB, free: 9.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4716, allocations: 0 / 480.5 MB, free: 9.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.153e-05/0.4717, allocations: 49.78 kB / 480.5 MB, free: 9.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4718, allocations: 11.94 kB / 480.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4718, allocations: 48 / 480.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.4718, allocations: 3.984 kB / 480.5 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.965e-05/0.4718, allocations: 4 kB / 480.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.4719, allocations: 7.938 kB / 480.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.4719, allocations: 3.906 kB / 480.5 MB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.4719, allocations: 0 / 480.5 MB, free: 9.633 MB / 330.7 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE() 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 () * 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.0001349/0.472, allocations: 109 kB / 480.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.4721, allocations: 3.953 kB / 480.6 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.4722, allocations: 57.05 kB / 480.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4722, allocations: 4 kB / 480.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.4722, allocations: 0 / 480.7 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4723, allocations: 4 kB / 480.7 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.4724, allocations: 149.7 kB / 480.8 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4724, allocations: 0 / 480.8 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.4725, allocations: 7.984 kB / 480.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4725, allocations: 7.953 kB / 480.9 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4725, allocations: 0 / 480.9 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4725, allocations: 0 / 480.9 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4725, allocations: 0 / 480.9 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.4727, allocations: 73.12 kB / 480.9 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.4728, allocations: 85.08 kB / 481 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.4728, allocations: 3.953 kB / 481 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.4728, allocations: 64 / 481 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.4728, allocations: 7.984 kB / 481 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.4729, allocations: 7.938 kB / 481 MB, free: 9.023 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.402e-05/0.4729, allocations: 75.28 kB / 481.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4729, allocations: 0 / 481.1 MB, free: 8.949 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.4731, allocations: 8 kB / 481.1 MB, free: 8.941 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 () * 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.0003779/0.4735, allocations: 126.1 kB / 481.2 MB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001073/0.4736, allocations: 12.08 kB / 481.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4736, allocations: 4 kB / 481.3 MB, free: 8.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.4737, allocations: 12.03 kB / 481.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001238/0.4738, allocations: 3.406 kB / 481.3 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/0.4745, allocations: 190.8 kB / 481.5 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.475, allocations: 0.681 MB / 482.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.418e-05/0.4751, allocations: 4 kB / 482.1 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.603e-05/0.4751, allocations: 15.42 kB / 482.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4751, allocations: 0 / 482.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of Templates: time 0.003298/0.4784, allocations: 448.4 kB / 482.6 MB, free: 7.422 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)