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.001078/0.001078, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001191/0.001191, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.42/1.42, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05834/0.05834, allocations: 8.112 MB / 278.6 MB, free: 3.949 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.0015/0.0015, allocations: 67.91 kB / 338.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2221, allocations: 48.28 MB / 386.9 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.002041/0.2242, allocations: 402 kB / 387.3 MB, free: 51.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003032/0.2246, allocations: 71.61 kB / 387.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.811e-05/0.2246, allocations: 1.562 kB / 387.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.2246, allocations: 0 / 387.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.015e-06/0.2247, allocations: 0 / 387.4 MB, free: 51.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.2251, allocations: 70.08 kB / 387.4 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.657e-05/0.2252, allocations: 19.09 kB / 387.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.2252, allocations: 1.719 kB / 387.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.2253, allocations: 12.77 kB / 387.5 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.176e-05/0.2254, allocations: 30.69 kB / 387.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2254, allocations: 1.125 kB / 387.5 MB, free: 51.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2255, allocations: 36.61 kB / 387.5 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.2255, allocations: 2.234 kB / 387.5 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.2255, allocations: 1.688 kB / 387.5 MB, free: 51.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.2257, allocations: 28.56 kB / 387.6 MB, free: 51.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2257, allocations: 1.406 kB / 387.6 MB, free: 51.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2257, allocations: 1.188 kB / 387.6 MB, free: 51.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2257, allocations: 0 / 387.6 MB, free: 51.27 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.0002469/0.2259, allocations: 322.8 kB / 387.9 MB, free: 50.92 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.226, allocations: 9.938 kB / 387.9 MB, free: 50.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.226, allocations: 2.75 kB / 387.9 MB, free: 50.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.71e-05/0.2261, allocations: 165.5 kB / 388.1 MB, free: 50.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.2261, allocations: 2.625 kB / 388.1 MB, free: 50.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.2261, allocations: 1.812 kB / 388.1 MB, free: 50.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.475e-05/0.2262, allocations: 35.3 kB / 388.1 MB, free: 50.69 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2262, allocations: 0.7031 kB / 388.1 MB, free: 50.69 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.2263, allocations: 9.688 kB / 388.1 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2263, allocations: 3.578 kB / 388.1 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/0.2263, allocations: 5.75 kB / 388.1 MB, free: 50.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.2264, allocations: 153.4 kB / 388.3 MB, free: 50.49 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.2266, allocations: 34.08 kB / 388.3 MB, free: 50.46 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.2266, allocations: 16.33 kB / 388.3 MB, free: 50.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.2267, allocations: 5.312 kB / 388.3 MB, free: 50.45 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.2267, allocations: 32.67 kB / 388.4 MB, free: 50.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.2267, allocations: 0 / 388.4 MB, free: 50.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000145/0.2269, allocations: 52.64 kB / 388.4 MB, free: 50.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.2269, allocations: 57.34 kB / 388.5 MB, free: 50.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.946e-05/0.2269, allocations: 89.86 kB / 388.5 MB, free: 50.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.2269, allocations: 26.55 kB / 388.6 MB, free: 50.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.404e-05/0.2269, allocations: 85.42 kB / 388.7 MB, free: 50.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.227, allocations: 20.38 kB / 388.7 MB, free: 50.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.227, allocations: 16.19 kB / 388.7 MB, free: 50.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.457e-05/0.2271, allocations: 317.9 kB / 389 MB, free: 49.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.2271, allocations: 10.66 kB / 389 MB, free: 49.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.232e-05/0.2271, allocations: 20.48 kB / 389 MB, free: 49.71 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.217e-05/0.2272, allocations: 24.27 kB / 389.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2272, allocations: 3.156 kB / 389.1 MB, free: 49.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.092e-05/0.2273, allocations: 60.08 kB / 389.1 MB, free: 49.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2273, allocations: 6.234 kB / 389.1 MB, free: 49.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2273, allocations: 1.375 kB / 389.1 MB, free: 49.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2273, allocations: 5.438 kB / 389.1 MB, free: 49.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.641e-05/0.2274, allocations: 9.609 kB / 389.1 MB, free: 49.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.2274, allocations: 1.844 kB / 389.1 MB, free: 49.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.2274, allocations: 5.188 kB / 389.1 MB, free: 49.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.2274, allocations: 4.531 kB / 389.2 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.0001187/0.2275, allocations: 118.5 kB / 389.3 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.2276, allocations: 1.734 kB / 389.3 MB, free: 49.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.2277, allocations: 62.67 kB / 389.3 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.2277, allocations: 3.578 kB / 389.3 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2277, allocations: 0 / 389.3 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2277, allocations: 0.6562 kB / 389.3 MB, free: 49.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.957e-05/0.2278, allocations: 154.9 kB / 389.5 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2278, allocations: 2.578 kB / 389.5 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.2278, allocations: 7.094 kB / 389.5 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2278, allocations: 0 / 389.5 MB, free: 49.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2279, allocations: 6.078 kB / 389.5 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2279, allocations: 4.688 kB / 389.5 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2279, allocations: 1.312 kB / 389.5 MB, free: 49.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.228, allocations: 78.52 kB / 389.6 MB, free: 49.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.228, allocations: 79.33 kB / 389.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.228, allocations: 3.938 kB / 389.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.228, allocations: 5.797 kB / 389.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.2281, allocations: 2.312 kB / 389.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.2281, allocations: 4.594 kB / 389.7 MB, free: 49.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.283e-05/0.2281, allocations: 76.38 kB / 389.8 MB, free: 49.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2281, allocations: 0 / 389.8 MB, free: 49.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002068/0.2283, allocations: 7.875 kB / 389.8 MB, free: 49.04 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.0001326/0.2285, allocations: 105.8 kB / 389.9 MB, free: 48.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.2286, allocations: 26.19 kB / 389.9 MB, free: 48.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2286, allocations: 0 / 389.9 MB, free: 48.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.802e-05/0.2286, allocations: 7.297 kB / 389.9 MB, free: 48.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2287, allocations: 9.922 kB / 389.9 MB, free: 48.93 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.229, allocations: 107.4 kB / 390 MB, free: 48.82 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.043e-05/0.2291, allocations: 0.6789 MB / 390.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.947e-05/0.2291, allocations: 8.219 kB / 390.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.472e-05/0.2291, allocations: 15.69 kB / 390.7 MB, free: 48.12 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2291, allocations: 4.156 kB / 390.7 MB, free: 48.11 MB / 318.1 MB Notification: Performance of Templates: time 0.002589/0.2317, allocations: 446.2 kB / 391.2 MB, free: 48.08 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 gbode -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)