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.001048/0.001049, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.572/1.572, allocations: 205.1 MB / 222.4 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04376/0.04376, allocations: 8.107 MB / 277.9 MB, free: 13.17 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.001439/0.001439, allocations: 63.91 kB / 337.2 MB, free: 26.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1061, allocations: 48.29 MB / 385.5 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.002176/0.1083, allocations: 397.6 kB / 385.9 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00032/0.1087, allocations: 73.41 kB / 385.9 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.302e-05/0.1087, allocations: 0 / 385.9 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.1088, allocations: 0 / 385.9 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.1088, allocations: 4 kB / 385.9 MB, free: 9.719 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1092, allocations: 71.84 kB / 386 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.512e-05/0.1092, allocations: 11.98 kB / 386 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.699e-05/0.1093, allocations: 4 kB / 386 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.515e-05/0.1093, allocations: 11.92 kB / 386 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.1094, allocations: 31.95 kB / 386.1 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1094, allocations: 0 / 386.1 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1095, allocations: 27.98 kB / 386.1 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.1096, allocations: 0 / 386.1 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.1096, allocations: 0 / 386.1 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.1097, allocations: 35.88 kB / 386.1 MB, free: 9.527 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1097, allocations: 4 kB / 386.1 MB, free: 9.523 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1097, allocations: 0 / 386.1 MB, free: 9.523 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1097, allocations: 0 / 386.1 MB, free: 9.523 MB / 286.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.0003493/0.1101, allocations: 323.6 kB / 386.4 MB, free: 9.156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1101, allocations: 11.97 kB / 386.5 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1102, allocations: 4.938 kB / 386.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.883e-05/0.1103, allocations: 164.3 kB / 386.6 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1103, allocations: 384 / 386.6 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.1103, allocations: 384 / 386.6 MB, free: 8.941 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.1104, allocations: 42.25 kB / 386.7 MB, free: 8.895 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1105, allocations: 4.188 kB / 386.7 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1105, allocations: 3.938 kB / 386.7 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1105, allocations: 0 / 386.7 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.1105, allocations: 4 kB / 386.7 MB, free: 8.883 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1107, allocations: 157.6 kB / 386.8 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002078/0.1109, allocations: 38.55 kB / 386.9 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.023e-05/0.111, allocations: 12.92 kB / 386.9 MB, free: 8.617 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.111, allocations: 4 kB / 386.9 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.111, allocations: 34.55 kB / 386.9 MB, free: 8.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1111, allocations: 0 / 386.9 MB, free: 8.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001707/0.1112, allocations: 53.61 kB / 387 MB, free: 8.512 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.1113, allocations: 55.41 kB / 387 MB, free: 8.445 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.224e-05/0.1113, allocations: 93.86 kB / 387.1 MB, free: 8.344 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1113, allocations: 25.7 kB / 387.1 MB, free: 8.312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.1114, allocations: 88.08 kB / 387.2 MB, free: 8.223 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.1114, allocations: 8.125 kB / 387.2 MB, free: 8.215 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1115, allocations: 21.7 kB / 387.3 MB, free: 8.188 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1116, allocations: 318.8 kB / 387.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.644e-05/0.1116, allocations: 8.797 kB / 387.6 MB, free: 7.855 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.1116, allocations: 25.7 kB / 387.6 MB, free: 7.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.584e-05/0.1117, allocations: 25.72 kB / 387.6 MB, free: 7.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1117, allocations: 0 / 387.6 MB, free: 7.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.328e-05/0.1118, allocations: 53.62 kB / 387.7 MB, free: 7.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1118, allocations: 10.33 kB / 387.7 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1118, allocations: 0 / 387.7 MB, free: 7.727 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1118, allocations: 7.938 kB / 387.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.1119, allocations: 4 kB / 387.7 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1119, allocations: 0 / 387.7 MB, free: 7.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.1119, allocations: 8 kB / 387.7 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1119, allocations: 8 kB / 387.7 MB, free: 7.699 MB / 286.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.0001552/0.1121, allocations: 121.7 kB / 387.8 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.1121, allocations: 7.984 kB / 387.8 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.1123, allocations: 57.12 kB / 387.9 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1123, allocations: 0 / 387.9 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1123, allocations: 8 kB / 387.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1123, allocations: 0 / 387.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.199e-05/0.1124, allocations: 149.6 kB / 388.1 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.1124, allocations: 4 kB / 388.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.1124, allocations: 7.984 kB / 388.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1125, allocations: 0 / 388.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.1125, allocations: 3.938 kB / 388.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1125, allocations: 0 / 388.1 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1125, allocations: 4 kB / 388.1 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.1126, allocations: 85.05 kB / 388.2 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.1126, allocations: 77.11 kB / 388.2 MB, free: 7.074 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.1127, allocations: 3.938 kB / 388.2 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.1127, allocations: 0 / 388.2 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.1127, allocations: 4.453 kB / 388.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.1127, allocations: 4 kB / 388.2 MB, free: 7.062 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.306e-05/0.1127, allocations: 75.28 kB / 388.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1127, allocations: 0 / 388.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.1129, allocations: 12 kB / 388.3 MB, free: 6.977 MB / 286.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.0001368/0.1131, allocations: 107.3 kB / 388.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.238e-05/0.1132, allocations: 31.84 kB / 388.5 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1132, allocations: 0 / 388.5 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.1132, allocations: 8 kB / 388.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.1134, allocations: 0 / 388.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.1136, allocations: 105.5 kB / 388.6 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1139, allocations: 0.6845 MB / 389.3 MB, free: 5.984 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.515e-05/0.1139, allocations: 4 kB / 389.3 MB, free: 5.98 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.114, allocations: 15.44 kB / 389.3 MB, free: 5.965 MB / 286.1 MB Notification: Performance of SimCode: time 2.71e-07/0.114, allocations: 0 / 389.3 MB, free: 5.965 MB / 286.1 MB Notification: Performance of Templates: time 0.002404/0.1164, allocations: 452.1 kB / 389.7 MB, free: 5.531 MB / 286.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)