Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.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.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007747/0.007747, allocations: 102.9 kB / 15.73 MB, free: 6.488 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.001399/0.001399, allocations: 195.2 kB / 16.68 MB, free: 6.375 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.661/1.661, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04286/0.04286, allocations: 8.113 MB / 278 MB, free: 13.07 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.002283/0.002285, allocations: 67.91 kB / 386.7 MB, free: 9.066 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3404, allocations: 48.31 MB / 435 MB, free: 7.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001639/0.3421, allocations: 382.5 kB / 435.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000324/0.3425, allocations: 75.22 kB / 435.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.879e-05/0.3425, allocations: 0 / 435.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.3426, allocations: 1.156 kB / 435.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.155e-06/0.3426, allocations: 3.938 kB / 435.4 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004428/0.343, allocations: 60.48 kB / 435.5 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.3431, allocations: 21.52 kB / 435.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.3431, allocations: 1.797 kB / 435.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.403e-05/0.3432, allocations: 15.16 kB / 435.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.488e-05/0.3433, allocations: 27.02 kB / 435.5 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.3433, allocations: 5.156 kB / 435.5 MB, free: 7.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.3434, allocations: 36.33 kB / 435.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.3434, allocations: 1.844 kB / 435.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.3435, allocations: 1.172 kB / 435.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.3436, allocations: 27.98 kB / 435.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3436, allocations: 0.5156 kB / 435.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.3436, allocations: 0 / 435.6 MB, free: 7.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.3436, allocations: 1.156 kB / 435.6 MB, free: 7.48 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.000276/0.3439, allocations: 322 kB / 435.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3439, allocations: 13.47 kB / 435.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.344, allocations: 4.875 kB / 435.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.859e-05/0.344, allocations: 162.7 kB / 436.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3441, allocations: 1.469 kB / 436.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.3441, allocations: 1.438 kB / 436.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.3442, allocations: 38.55 kB / 436.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3442, allocations: 1.5 kB / 436.1 MB, free: 6.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.3442, allocations: 4.641 kB / 436.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3443, allocations: 3.938 kB / 436.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.3443, allocations: 10.59 kB / 436.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.3444, allocations: 160 kB / 436.3 MB, free: 6.676 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.3446, allocations: 38.28 kB / 436.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.915e-05/0.3447, allocations: 11.34 kB / 436.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.3447, allocations: 2.75 kB / 436.4 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.3447, allocations: 32.45 kB / 436.4 MB, free: 6.598 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/0.3448, allocations: 4 kB / 436.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001682/0.3449, allocations: 56.47 kB / 436.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.345, allocations: 52.81 kB / 436.5 MB, free: 6.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.316e-05/0.345, allocations: 90.47 kB / 436.6 MB, free: 6.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.345, allocations: 29.7 kB / 436.6 MB, free: 6.355 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.294e-05/0.345, allocations: 80.14 kB / 436.7 MB, free: 6.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.3451, allocations: 14.25 kB / 436.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.3451, allocations: 19.45 kB / 436.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.3452, allocations: 312.8 kB / 437 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.086e-05/0.3452, allocations: 13.62 kB / 437.1 MB, free: 5.922 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.3452, allocations: 24.7 kB / 437.1 MB, free: 5.898 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.934e-05/0.3453, allocations: 28.75 kB / 437.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3453, allocations: 0 / 437.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.982e-05/0.3454, allocations: 53.88 kB / 437.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3454, allocations: 5.547 kB / 437.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3454, allocations: 1.031 kB / 437.2 MB, free: 5.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3454, allocations: 9 kB / 437.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.3455, allocations: 8.219 kB / 437.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3455, allocations: 0.5625 kB / 437.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.536e-05/0.3455, allocations: 1.156 kB / 437.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.971e-05/0.3455, allocations: 6.781 kB / 437.2 MB, free: 5.828 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.0001497/0.3457, allocations: 115.6 kB / 437.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.3457, allocations: 1.438 kB / 437.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.3459, allocations: 67.42 kB / 437.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3459, allocations: 0 / 437.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3459, allocations: 1.344 kB / 437.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3459, allocations: 0.6094 kB / 437.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.106e-05/0.346, allocations: 151.1 kB / 437.5 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.346, allocations: 5.312 kB / 437.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.346, allocations: 6.469 kB / 437.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.346, allocations: 4.703 kB / 437.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3461, allocations: 5.406 kB / 437.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3461, allocations: 0.7031 kB / 437.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3461, allocations: 1.562 kB / 437.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.3462, allocations: 83.7 kB / 437.6 MB, free: 5.375 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.3462, allocations: 79.17 kB / 437.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3462, allocations: 10.02 kB / 437.7 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.221e-05/0.3463, allocations: 4 kB / 437.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.622e-05/0.3463, allocations: 6.891 kB / 437.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.3463, allocations: 4.156 kB / 437.7 MB, free: 5.266 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.392e-05/0.3463, allocations: 75.28 kB / 437.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3463, allocations: 1.5 kB / 437.8 MB, free: 5.191 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.3466, allocations: 11.83 kB / 437.8 MB, free: 5.188 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.0001235/0.3467, allocations: 101.9 kB / 437.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.3468, allocations: 15.09 kB / 437.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3468, allocations: 8 kB / 437.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.3468, allocations: 16.58 kB / 438 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.347, allocations: 1.312 kB / 438 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/0.3472, allocations: 104.2 kB / 438.1 MB, free: 4.977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.3474, allocations: 0.6739 MB / 438.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.776e-05/0.3474, allocations: 9.594 kB / 438.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.3475, allocations: 10.16 kB / 438.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3475, allocations: 0 / 438.7 MB, free: 4.27 MB / 318.1 MB Notification: Performance of Templates: time 0.002718/0.3502, allocations: 448.6 kB / 439.2 MB, free: 4.195 MB / 318.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.makefile (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)