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.0008834/0.000883, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008002/0.008002, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.773/1.773, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.07622/0.07622, allocations: 8.106 MB / 278.8 MB, free: 13.12 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.000669/0.0006693, allocations: 16 kB / 338.9 MB, free: 26.7 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1042, allocations: 49.29 MB / 388.2 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0005539/0.1049, allocations: 112.9 kB / 388.3 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003878/0.1053, allocations: 77.42 kB / 388.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.173e-05/0.1053, allocations: 0 / 388.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.1053, allocations: 0 / 388.3 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.091e-06/0.1053, allocations: 4 kB / 388.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.1057, allocations: 59.92 kB / 388.4 MB, free: 9.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.1058, allocations: 11.98 kB / 388.4 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.1059, allocations: 4 kB / 388.4 MB, free: 9.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.1059, allocations: 15.91 kB / 388.4 MB, free: 9.082 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.106, allocations: 27.97 kB / 388.5 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.106, allocations: 0 / 388.5 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1061, allocations: 27.98 kB / 388.5 MB, free: 9.027 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.1061, allocations: 3.938 kB / 388.5 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.059e-05/0.1062, allocations: 33.69 kB / 388.5 MB, free: 8.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1063, allocations: 31.89 kB / 388.6 MB, free: 8.953 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1063, allocations: 4 kB / 388.6 MB, free: 8.949 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1063, allocations: 0 / 388.6 MB, free: 8.949 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1063, allocations: 0 / 388.6 MB, free: 8.949 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.000338/0.1067, allocations: 323.5 kB / 388.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.1067, allocations: 8.031 kB / 388.9 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.1067, allocations: 0.9375 kB / 388.9 MB, free: 8.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.755e-05/0.1068, allocations: 160.4 kB / 389 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1069, allocations: 4.375 kB / 389 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.1069, allocations: 4.375 kB / 389.1 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.107, allocations: 34.25 kB / 389.1 MB, free: 8.332 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.107, allocations: 4.188 kB / 389.1 MB, free: 8.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.107, allocations: 3.938 kB / 389.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1071, allocations: 0 / 389.1 MB, free: 8.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.926e-05/0.1071, allocations: 19.91 kB / 389.1 MB, free: 8.305 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001651/0.1073, allocations: 149.6 kB / 389.3 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1074, allocations: 34.61 kB / 389.3 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.1075, allocations: 16.92 kB / 389.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.1075, allocations: 0 / 389.3 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1076, allocations: 38.55 kB / 389.3 MB, free: 8 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1076, allocations: 0 / 389.3 MB, free: 8 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001449/0.1077, allocations: 53.56 kB / 389.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.1078, allocations: 51.41 kB / 389.4 MB, free: 7.879 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.104e-05/0.1078, allocations: 93.86 kB / 389.5 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1078, allocations: 25.7 kB / 389.6 MB, free: 7.746 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.132e-05/0.1079, allocations: 84.14 kB / 389.6 MB, free: 7.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1079, allocations: 12.12 kB / 389.7 MB, free: 7.648 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1079, allocations: 13.7 kB / 389.7 MB, free: 7.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1081, allocations: 314.8 kB / 390 MB, free: 7.312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.1081, allocations: 12.86 kB / 390 MB, free: 7.297 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.1081, allocations: 17.7 kB / 390 MB, free: 7.273 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.1082, allocations: 37.66 kB / 390 MB, free: 7.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1082, allocations: 0 / 390 MB, free: 7.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.684e-05/0.1083, allocations: 49.69 kB / 390.1 MB, free: 7.176 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1083, allocations: 7.938 kB / 390.1 MB, free: 7.168 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1083, allocations: 4 kB / 390.1 MB, free: 7.164 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1084, allocations: 3.938 kB / 390.1 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.343e-05/0.1084, allocations: 11.98 kB / 390.1 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1084, allocations: 0 / 390.1 MB, free: 7.148 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.1084, allocations: 4.031 kB / 390.1 MB, free: 7.145 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1084, allocations: 8 kB / 390.1 MB, free: 7.137 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.0002093/0.1087, allocations: 109.8 kB / 390.2 MB, free: 7.02 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.1087, allocations: 4 kB / 390.2 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1088, allocations: 69.05 kB / 390.3 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1088, allocations: 0 / 390.3 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1088, allocations: 0 / 390.3 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1088, allocations: 3.938 kB / 390.3 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.109, allocations: 149.7 kB / 390.5 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.109, allocations: 0 / 390.5 MB, free: 6.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.109, allocations: 12 kB / 390.5 MB, free: 6.723 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.109, allocations: 0 / 390.5 MB, free: 6.723 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1091, allocations: 7.922 kB / 390.5 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1091, allocations: 0 / 390.5 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1091, allocations: 384 / 390.5 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1092, allocations: 81.11 kB / 390.6 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.1093, allocations: 77.11 kB / 390.6 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1093, allocations: 11.92 kB / 390.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.1093, allocations: 0 / 390.6 MB, free: 6.512 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.1093, allocations: 4.031 kB / 390.7 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1093, allocations: 7.938 kB / 390.7 MB, free: 6.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.169e-05/0.1094, allocations: 75.28 kB / 390.7 MB, free: 6.426 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1094, allocations: 0 / 390.7 MB, free: 6.426 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.1096, allocations: 12.06 kB / 390.7 MB, free: 6.414 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.000186/0.1098, allocations: 111.2 kB / 390.9 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.933e-05/0.1099, allocations: 16 kB / 390.9 MB, free: 6.281 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1099, allocations: 0 / 390.9 MB, free: 6.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.1099, allocations: 11.92 kB / 390.9 MB, free: 6.27 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.11, allocations: 4 kB / 390.9 MB, free: 6.266 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.1103, allocations: 116.7 kB / 391 MB, free: 6.121 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.1105, allocations: 0.6731 MB / 391.7 MB, free: 5.422 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.206e-05/0.1106, allocations: 7.984 kB / 391.7 MB, free: 5.414 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.1106, allocations: 19.44 kB / 391.7 MB, free: 5.395 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1106, allocations: 0 / 391.7 MB, free: 5.395 MB / 286.1 MB Notification: Performance of Templates: time 0.003442/0.1141, allocations: 424.4 kB / 392.1 MB, free: 4.984 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: