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.001546/0.001546, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001188/0.001188, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.587/1.587, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04334/0.04334, allocations: 8.106 MB / 278.6 MB, free: 3.957 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.001938/0.001938, allocations: 67.91 kB / 338.6 MB, free: 7.84 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3408, allocations: 48.28 MB / 386.9 MB, free: 51.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.002255/0.3431, allocations: 402.2 kB / 387.3 MB, free: 51.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003351/0.3435, allocations: 71.5 kB / 387.4 MB, free: 51.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.3435, allocations: 0 / 387.4 MB, free: 51.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.3435, allocations: 0.6562 kB / 387.4 MB, free: 51.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.653e-06/0.3436, allocations: 0 / 387.4 MB, free: 51.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.344, allocations: 71.98 kB / 387.4 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.663e-05/0.3441, allocations: 13.94 kB / 387.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.538e-05/0.3442, allocations: 2.781 kB / 387.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.632e-05/0.3442, allocations: 11.28 kB / 387.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.3443, allocations: 31.08 kB / 387.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3443, allocations: 1.875 kB / 387.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.3445, allocations: 32.86 kB / 387.5 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.3445, allocations: 0.875 kB / 387.5 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.3446, allocations: 6.422 kB / 387.5 MB, free: 51.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.3447, allocations: 36.73 kB / 387.6 MB, free: 51.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3447, allocations: 0 / 387.6 MB, free: 51.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3447, allocations: 2.562 kB / 387.6 MB, free: 51.26 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.3447, allocations: 0 / 387.6 MB, free: 51.26 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.0003451/0.3451, allocations: 318.8 kB / 387.9 MB, free: 50.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.3451, allocations: 8.906 kB / 387.9 MB, free: 50.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3452, allocations: 1.938 kB / 387.9 MB, free: 50.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.113e-05/0.3453, allocations: 163.9 kB / 388.1 MB, free: 50.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3453, allocations: 4.375 kB / 388.1 MB, free: 50.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.3453, allocations: 2.875 kB / 388.1 MB, free: 50.71 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.3454, allocations: 38.03 kB / 388.1 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3455, allocations: 192 / 388.1 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3455, allocations: 4.531 kB / 388.1 MB, free: 50.67 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.3455, allocations: 2.156 kB / 388.1 MB, free: 50.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.3455, allocations: 14.61 kB / 388.1 MB, free: 50.66 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001432/0.3457, allocations: 149.1 kB / 388.3 MB, free: 50.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.3459, allocations: 34.55 kB / 388.3 MB, free: 50.45 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.059e-05/0.3459, allocations: 20.11 kB / 388.3 MB, free: 50.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.683e-05/0.346, allocations: 4.203 kB / 388.3 MB, free: 50.43 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.346, allocations: 32.3 kB / 388.4 MB, free: 50.39 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.346, allocations: 1.406 kB / 388.4 MB, free: 50.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001453/0.3461, allocations: 56.98 kB / 388.4 MB, free: 50.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.3462, allocations: 52.16 kB / 388.5 MB, free: 50.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.75e-05/0.3462, allocations: 91.3 kB / 388.6 MB, free: 50.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.168e-06/0.3462, allocations: 27.33 kB / 388.6 MB, free: 50.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.543e-05/0.3462, allocations: 80.14 kB / 388.7 MB, free: 50.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.3463, allocations: 17.39 kB / 388.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.3463, allocations: 14.16 kB / 388.7 MB, free: 50.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.3464, allocations: 315.8 kB / 389 MB, free: 49.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.3464, allocations: 13.27 kB / 389 MB, free: 49.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.3464, allocations: 18.59 kB / 389 MB, free: 49.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.066e-05/0.3465, allocations: 29.2 kB / 389.1 MB, free: 49.69 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3465, allocations: 3.938 kB / 389.1 MB, free: 49.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/0.3466, allocations: 54.67 kB / 389.1 MB, free: 49.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3466, allocations: 7.219 kB / 389.1 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3466, allocations: 0.5156 kB / 389.1 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3466, allocations: 10.94 kB / 389.1 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.324e-05/0.3467, allocations: 7.547 kB / 389.1 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3467, allocations: 1.375 kB / 389.1 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.3467, allocations: 1.562 kB / 389.1 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.3467, allocations: 5.281 kB / 389.1 MB, free: 49.64 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.0001293/0.3469, allocations: 109.8 kB / 389.3 MB, free: 49.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.3469, allocations: 2.938 kB / 389.3 MB, free: 49.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.347, allocations: 72.3 kB / 389.3 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3471, allocations: 1.125 kB / 389.3 MB, free: 49.47 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3471, allocations: 3.938 kB / 389.3 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3471, allocations: 0.6562 kB / 389.3 MB, free: 49.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.373e-05/0.3471, allocations: 151.8 kB / 389.5 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.3472, allocations: 5.953 kB / 389.5 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.3472, allocations: 6.859 kB / 389.5 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3472, allocations: 0 / 389.5 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3472, allocations: 9.703 kB / 389.5 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3472, allocations: 1.703 kB / 389.5 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3472, allocations: 0 / 389.5 MB, free: 49.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.3474, allocations: 76.58 kB / 389.6 MB, free: 49.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.3474, allocations: 79.41 kB / 389.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.3474, allocations: 4.5 kB / 389.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.12e-05/0.3474, allocations: 4 kB / 389.7 MB, free: 49.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.032e-05/0.3475, allocations: 3.672 kB / 389.7 MB, free: 49.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3475, allocations: 8.297 kB / 389.7 MB, free: 49.1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.823e-05/0.3475, allocations: 79.22 kB / 389.8 MB, free: 49.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3475, allocations: 1.531 kB / 389.8 MB, free: 49.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002/0.3477, allocations: 8.297 kB / 389.8 MB, free: 49.02 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.000135/0.3478, allocations: 105.5 kB / 389.9 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.348, allocations: 19.94 kB / 389.9 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.348, allocations: 0 / 389.9 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.028e-05/0.348, allocations: 12.36 kB / 389.9 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.3481, allocations: 7.578 kB / 389.9 MB, free: 48.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000239/0.3484, allocations: 104.3 kB / 390 MB, free: 48.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.3485, allocations: 0.6784 MB / 390.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.053e-05/0.3486, allocations: 9.469 kB / 390.7 MB, free: 48.11 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.3486, allocations: 14.44 kB / 390.7 MB, free: 48.11 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3486, allocations: 5.094 kB / 390.7 MB, free: 48.1 MB / 318.1 MB Notification: Performance of Templates: time 0.002905/0.3515, allocations: 443 kB / 391.1 MB, free: 48.07 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 -s cvode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)