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.001247/0.001247, allocations: 107.4 kB / 16.41 MB, free: 6.5 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.00124/0.00124, allocations: 181.6 kB / 17.34 MB, free: 5.762 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04265/0.04265, allocations: 8.114 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.001517/0.001516, allocations: 73.59 kB / 387.3 MB, free: 47.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08141/0.08294, allocations: 48.32 MB / 435.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001507/0.08449, allocations: 415.5 kB / 436 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 7.573e-05/0.08458, allocations: 43.81 kB / 436.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.544e-05/0.08462, allocations: 0 / 436.1 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.08476, allocations: 4 kB / 436.1 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.08485, allocations: 19.97 kB / 436.1 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.923e-05/0.08491, allocations: 15.91 kB / 436.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.062e-05/0.08497, allocations: 15.98 kB / 436.1 MB, free: 8.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.08502, allocations: 4 kB / 436.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.129e-05/0.08505, allocations: 7.984 kB / 436.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.08511, allocations: 39.89 kB / 436.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.08513, allocations: 0 / 436.2 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.699e-05/0.08517, allocations: 12 kB / 436.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.08519, allocations: 7.938 kB / 436.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.08522, allocations: 0 / 436.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.456e-05/0.08531, allocations: 23.91 kB / 436.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.08532, allocations: 0 / 436.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08532, allocations: 0 / 436.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.08533, 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.0002238/0.08556, allocations: 319.6 kB / 436.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.0856, allocations: 15.89 kB / 436.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.08563, allocations: 0.9375 kB / 436.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.587e-05/0.0857, allocations: 164.4 kB / 436.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.08572, allocations: 384 / 436.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.08575, allocations: 8.312 kB / 436.7 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.622e-05/0.08584, allocations: 38.25 kB / 436.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.08585, allocations: 192 / 436.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.08587, allocations: 3.938 kB / 436.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.08588, allocations: 0 / 436.8 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.061e-05/0.08591, allocations: 4 kB / 436.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.08602, allocations: 153.7 kB / 436.9 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.08619, allocations: 38.61 kB / 437 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.08622, allocations: 12.86 kB / 437 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.08625, allocations: 0 / 437 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.08627, allocations: 30.56 kB / 437 MB, free: 7.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.08627, allocations: 3.938 kB / 437 MB, free: 7.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001318/0.08641, allocations: 49.62 kB / 437 MB, free: 7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.08644, allocations: 55.41 kB / 437.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.828e-05/0.08649, allocations: 93.86 kB / 437.2 MB, free: 6.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.0865, allocations: 29.7 kB / 437.2 MB, free: 6.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.08652, allocations: 84.12 kB / 437.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.08655, allocations: 11.75 kB / 437.3 MB, free: 6.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.08658, allocations: 21.66 kB / 437.3 MB, free: 6.672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.862e-05/0.08663, allocations: 310.8 kB / 437.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.176e-05/0.08666, allocations: 12.97 kB / 437.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.864e-05/0.08668, allocations: 21.72 kB / 437.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.482e-05/0.08672, allocations: 22 kB / 437.7 MB, free: 6.289 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.08673, allocations: 4 kB / 437.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.158e-05/0.0868, allocations: 57.61 kB / 437.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.08681, allocations: 4 kB / 437.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.08682, allocations: 3.938 kB / 437.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.08684, allocations: 4 kB / 437.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-05/0.08688, allocations: 12.02 kB / 437.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.08689, allocations: 0 / 437.8 MB, free: 6.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.394e-05/0.08691, allocations: 3.938 kB / 437.8 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.08692, allocations: 4 kB / 437.8 MB, free: 6.191 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.0001043/0.08703, allocations: 117.7 kB / 437.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.08704, allocations: 7.906 kB / 437.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.452e-05/0.08707, allocations: 7.438 kB / 437.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.08708, allocations: 0 / 437.9 MB, free: 6.051 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.08709, allocations: 4 kB / 437.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.08709, allocations: 0 / 437.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.368e-05/0.08716, allocations: 153.7 kB / 438.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.08717, allocations: 0 / 438.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.0872, allocations: 4 kB / 438.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.08721, allocations: 0 / 438.1 MB, free: 5.844 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.08722, allocations: 3.938 kB / 438.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.08723, allocations: 4 kB / 438.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.08723, allocations: 3.984 kB / 438.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.818e-05/0.08733, allocations: 73.12 kB / 438.2 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.08735, allocations: 81.14 kB / 438.2 MB, free: 5.645 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.08736, allocations: 7.875 kB / 438.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.018e-05/0.08738, allocations: 0 / 438.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.0874, allocations: 3.938 kB / 438.2 MB, free: 5.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.08741, allocations: 4 kB / 438.3 MB, free: 5.629 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.637e-05/0.08743, allocations: 79.27 kB / 438.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08744, allocations: 0 / 438.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.08762, allocations: 8.156 kB / 438.3 MB, free: 5.543 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.0001643/0.08779, allocations: 113.2 kB / 438.4 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.09e-05/0.08788, allocations: 11.98 kB / 438.5 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.08789, allocations: 4 kB / 438.5 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.08791, allocations: 12.12 kB / 438.5 MB, free: 5.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.08805, allocations: 8 kB / 438.5 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.08828, allocations: 143.5 kB / 438.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.687e-05/0.08839, allocations: 0.6806 MB / 439.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.08842, allocations: 7.438 kB / 439.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.08843, allocations: 0 / 439.3 MB, free: 4.5 MB / 318.1 MB Notification: Performance of Templates: time 0.00175/0.09018, allocations: 0.6478 MB / 440 MB, free: 3.855 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)