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.001869/0.001869, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.211/2.211, allocations: 194.3 MB / 202.4 MB, free: 8.48 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03865/0.03865, allocations: 7.923 MB / 255.2 MB, free: 1.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001807/0.001806, allocations: 116.3 kB / 301.9 MB, free: 3.203 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.394e-05, allocations: 3.984 kB / 354.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3717, allocations: 46.18 MB / 400.5 MB, free: 69.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1058/0.4776, allocations: 70.23 MB / 470.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4779, allocations: 43.98 kB / 470.7 MB, free: 1.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001648/0.4796, allocations: 0.6645 MB / 471.4 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4796, allocations: 0 / 471.4 MB, free: 392 kB / 314.7 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.4796, allocations: 4 kB / 471.4 MB, free: 388 kB / 314.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.0002754/0.4799, allocations: 314.6 kB / 471.7 MB, free: 28 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.48, allocations: 8.031 kB / 471.7 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.48, allocations: 1.312 kB / 471.7 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.4803, allocations: 182.9 kB / 471.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4803, allocations: 0 / 471.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.4803, allocations: 0 / 471.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.241e-05/0.4804, allocations: 4 kB / 471.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/0.4805, allocations: 33.7 kB / 471.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4806, allocations: 0 / 471.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.4806, allocations: 0 / 471.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4806, allocations: 0 / 471.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002107/0.4808, allocations: 130.2 kB / 472.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.481, allocations: 38.47 kB / 472.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.4811, allocations: 8.922 kB / 472.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.4811, allocations: 7.938 kB / 472.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.4812, allocations: 34.69 kB / 472.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.4812, allocations: 0 / 472.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000182/0.4814, allocations: 41.61 kB / 472.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.4814, allocations: 51.41 kB / 472.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.4816, allocations: 96.98 kB / 472.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.4816, allocations: 25.7 kB / 472.4 MB, free: 15.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.4816, allocations: 80.14 kB / 472.5 MB, free: 15.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.4817, allocations: 7.906 kB / 472.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.4817, allocations: 3.938 kB / 472.5 MB, free: 15.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4818, allocations: 310.8 kB / 472.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.718e-05/0.4819, allocations: 12.8 kB / 472.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.209e-05/0.4819, allocations: 25.83 kB / 472.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.4819, allocations: 4 kB / 472.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4819, allocations: 0 / 472.8 MB, free: 14.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.298e-05/0.482, allocations: 45.83 kB / 472.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.4821, allocations: 11.95 kB / 472.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4821, allocations: 0 / 472.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.4821, allocations: 4.031 kB / 472.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.418e-05/0.4822, allocations: 7.938 kB / 472.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4822, allocations: 4 kB / 472.9 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.141e-05/0.4822, allocations: 7.938 kB / 472.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.4822, allocations: 0 / 472.9 MB, free: 14.7 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.0001264/0.4824, allocations: 108.8 kB / 473 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.4824, allocations: 0 / 473 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.4825, allocations: 49.77 kB / 473 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.4825, allocations: 3.984 kB / 473 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4826, allocations: 0 / 473 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4826, allocations: 0 / 473 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.4827, allocations: 130.2 kB / 473.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4827, allocations: 4 kB / 473.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.394e-05/0.4828, allocations: 7.938 kB / 473.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4828, allocations: 3.984 kB / 473.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.4828, allocations: 4 kB / 473.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4828, allocations: 0 / 473.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.4828, allocations: 3.953 kB / 473.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.483, allocations: 73.06 kB / 473.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.483, allocations: 85.08 kB / 473.4 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.4831, allocations: 4.062 kB / 473.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/0.4831, allocations: 2.562 kB / 473.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.4831, allocations: 3.953 kB / 473.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.4831, allocations: 7.984 kB / 473.4 MB, free: 14.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.7e-05/0.4832, allocations: 75.28 kB / 473.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4832, allocations: 0 / 473.4 MB, free: 14.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.4834, allocations: 4 kB / 473.4 MB, free: 14.05 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.000368/0.4837, allocations: 128.2 kB / 473.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.4839, allocations: 15.98 kB / 473.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4839, allocations: 0 / 473.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.4839, allocations: 4 kB / 473.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.484, allocations: 4 kB / 473.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/0.4847, allocations: 186.1 kB / 473.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.485, allocations: 0.6768 MB / 474.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.267e-05/0.4851, allocations: 4 kB / 474.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.4851, allocations: 11.44 kB / 474.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.4851, allocations: 0 / 474.5 MB, free: 12.98 MB / 330.7 MB Notification: Performance of Templates: time 0.002909/0.488, allocations: 432.5 kB / 474.9 MB, free: 12.57 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)