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.001293/0.001293, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001124/0.001124, allocations: 195.6 kB / 16.25 MB, free: 6.621 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.427/1.427, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03943/0.03943, allocations: 8.098 MB / 277.6 MB, free: 13.34 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.001361/0.001361, allocations: 63.91 kB / 336.7 MB, free: 26.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 48.31 MB / 385 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001559/0.1051, allocations: 459.8 kB / 385.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.1054, allocations: 73.47 kB / 385.5 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.15e-05/0.1055, allocations: 0 / 385.5 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.1055, allocations: 0 / 385.5 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.991e-06/0.1055, allocations: 3.938 kB / 385.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.1059, allocations: 55.94 kB / 385.6 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.647e-05/0.106, allocations: 19.97 kB / 385.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.106, allocations: 0 / 385.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.379e-05/0.106, allocations: 15.92 kB / 385.6 MB, free: 9.895 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.1061, allocations: 31.95 kB / 385.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.996e-06/0.1061, allocations: 0 / 385.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.1062, allocations: 31.98 kB / 385.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.666e-06/0.1062, allocations: 0 / 385.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.1063, allocations: 4 kB / 385.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.175e-05/0.1064, allocations: 31.89 kB / 385.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1064, allocations: 0 / 385.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1064, allocations: 0 / 385.7 MB, free: 9.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.1064, allocations: 0 / 385.7 MB, free: 9.797 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.0002766/0.1067, allocations: 319.6 kB / 386 MB, free: 9.434 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1067, allocations: 12.03 kB / 386 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.1067, allocations: 0.9375 kB / 386 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.942e-05/0.1068, allocations: 168.3 kB / 386.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1068, allocations: 384 / 386.2 MB, free: 9.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1069, allocations: 4.375 kB / 386.2 MB, free: 9.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.077e-05/0.107, allocations: 38.25 kB / 386.2 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.107, allocations: 4.125 kB / 386.2 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.107, allocations: 3.938 kB / 386.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.107, allocations: 0 / 386.2 MB, free: 9.164 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.107, allocations: 7.984 kB / 386.2 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.1072, allocations: 157.6 kB / 386.4 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1074, allocations: 46.53 kB / 386.4 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.1074, allocations: 16.91 kB / 386.5 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1074, allocations: 0 / 386.5 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1075, allocations: 34.56 kB / 386.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.1075, allocations: 0 / 386.5 MB, free: 8.836 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001369/0.1076, allocations: 53.62 kB / 386.5 MB, free: 8.777 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1076, allocations: 59.34 kB / 386.6 MB, free: 8.707 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.297e-05/0.1077, allocations: 89.86 kB / 386.7 MB, free: 8.609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1077, allocations: 25.7 kB / 386.7 MB, free: 8.578 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.1078, allocations: 84.14 kB / 386.8 MB, free: 8.492 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1078, allocations: 20.05 kB / 386.8 MB, free: 8.473 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.1078, allocations: 13.72 kB / 386.8 MB, free: 8.453 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1079, allocations: 314.8 kB / 387.1 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.108, allocations: 12.84 kB / 387.1 MB, free: 8.121 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.108, allocations: 21.72 kB / 387.2 MB, free: 8.094 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.353e-05/0.108, allocations: 21.72 kB / 387.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.108, allocations: 0 / 387.2 MB, free: 8.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.286e-05/0.1081, allocations: 57.61 kB / 387.2 MB, free: 8.004 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1081, allocations: 10.19 kB / 387.3 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1082, allocations: 0 / 387.3 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1082, allocations: 3.938 kB / 387.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.153e-05/0.1082, allocations: 12.03 kB / 387.3 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.1082, allocations: 0 / 387.3 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.1082, allocations: 3.938 kB / 387.3 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1083, allocations: 4 kB / 387.3 MB, free: 7.973 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.0001115/0.1084, allocations: 121.7 kB / 387.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.1084, allocations: 0 / 387.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1085, allocations: 61.12 kB / 387.5 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1085, allocations: 3.984 kB / 387.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1085, allocations: 0 / 387.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1085, allocations: 0 / 387.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.045e-05/0.1086, allocations: 149.7 kB / 387.6 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1086, allocations: 0 / 387.6 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.1087, allocations: 7.984 kB / 387.6 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1087, allocations: 0 / 387.6 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1087, allocations: 7.938 kB / 387.6 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1087, allocations: 11.92 kB / 387.6 MB, free: 7.543 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1087, allocations: 3.938 kB / 387.6 MB, free: 7.539 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.1088, allocations: 77.48 kB / 387.7 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.1089, allocations: 81.14 kB / 387.8 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.1089, allocations: 7.969 kB / 387.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.1089, allocations: 0 / 387.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.1089, allocations: 0 / 387.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.1089, allocations: 8 kB / 387.8 MB, free: 7.332 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.221e-05/0.109, allocations: 79.34 kB / 387.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.343e-06/0.109, allocations: 0 / 387.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000191/0.1092, allocations: 15.92 kB / 387.9 MB, free: 7.238 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.0001262/0.1093, allocations: 107.2 kB / 388 MB, free: 7.125 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.195e-05/0.1094, allocations: 19.92 kB / 388 MB, free: 7.105 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1094, allocations: 0 / 388 MB, free: 7.105 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.1094, allocations: 8 kB / 388 MB, free: 7.098 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/0.1096, allocations: 12.06 kB / 388 MB, free: 7.086 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.1098, allocations: 113.5 kB / 388.2 MB, free: 6.949 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.11, allocations: 0.6766 MB / 388.8 MB, free: 6.246 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.696e-05/0.1101, allocations: 12 kB / 388.8 MB, free: 6.234 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.1101, allocations: 7.438 kB / 388.9 MB, free: 6.227 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1101, allocations: 0 / 388.9 MB, free: 6.227 MB / 286.1 MB Notification: Performance of Templates: time 0.002091/0.1122, allocations: 444.1 kB / 389.3 MB, free: 5.801 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)