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.001201/0.001201, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001483/0.001483, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 222.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.039/0.039, allocations: 8.109 MB / 278.5 MB, free: 13.1 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.0005584/0.0005585, allocations: 23.92 kB / 338.2 MB, free: 27.04 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1068, allocations: 49.27 MB / 387.5 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0005046/0.1073, allocations: 116.9 kB / 387.6 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002819/0.1076, allocations: 63.83 kB / 387.7 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.149e-05/0.1077, allocations: 4 kB / 387.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.176e-05/0.1077, allocations: 0 / 387.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.641e-06/0.1077, allocations: 0 / 387.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004254/0.1081, allocations: 55.8 kB / 387.7 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.1082, allocations: 15.98 kB / 387.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.1082, allocations: 0 / 387.7 MB, free: 9.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.443e-05/0.1083, allocations: 11.97 kB / 387.8 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.1083, allocations: 23.98 kB / 387.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1084, allocations: 0 / 387.8 MB, free: 9.438 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.1085, allocations: 27.91 kB / 387.8 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.1085, allocations: 4 kB / 387.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.46e-05/0.1085, allocations: 25.7 kB / 387.8 MB, free: 9.375 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.414e-05/0.1086, allocations: 15.97 kB / 387.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1086, allocations: 0 / 387.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.1086, allocations: 3.984 kB / 387.9 MB, free: 9.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1086, allocations: 4 kB / 387.9 MB, free: 9.352 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.0003576/0.109, allocations: 315.4 kB / 388.2 MB, free: 8.996 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.109, allocations: 8.031 kB / 388.2 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.1091, allocations: 4 kB / 388.2 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.1092, allocations: 163.1 kB / 388.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1092, allocations: 0 / 388.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.1093, allocations: 0 / 388.3 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1094, allocations: 41.64 kB / 388.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1094, allocations: 3.938 kB / 388.4 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1094, allocations: 11.94 kB / 388.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1095, allocations: 0 / 388.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/0.1095, allocations: 4 kB / 388.4 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.1097, allocations: 157.6 kB / 388.6 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1099, allocations: 34.61 kB / 388.6 MB, free: 8.473 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.594e-05/0.1099, allocations: 3.984 kB / 388.6 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.11, allocations: 38.62 kB / 388.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 2.675e-06/0.11, allocations: 3.938 kB / 388.6 MB, free: 8.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001553/0.1101, allocations: 53.67 kB / 388.7 MB, free: 8.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.1102, allocations: 51.41 kB / 388.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.1102, allocations: 89.86 kB / 388.8 MB, free: 8.199 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1102, allocations: 25.7 kB / 388.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.477e-05/0.1103, allocations: 80.14 kB / 388.9 MB, free: 8.086 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.1103, allocations: 20.11 kB / 388.9 MB, free: 8.066 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.1103, allocations: 0 / 388.9 MB, free: 8.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1104, allocations: 314.8 kB / 389.3 MB, free: 7.75 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.1105, allocations: 8.859 kB / 389.3 MB, free: 7.738 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.1105, allocations: 21.7 kB / 389.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.1105, allocations: 7.938 kB / 389.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1105, allocations: 0 / 389.3 MB, free: 7.703 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.08e-05/0.1106, allocations: 53.69 kB / 389.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1107, allocations: 4 kB / 389.3 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1107, allocations: 4 kB / 389.3 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1107, allocations: 7.984 kB / 389.4 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.685e-05/0.1107, allocations: 11.92 kB / 389.4 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1107, allocations: 4 kB / 389.4 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.1108, allocations: 0 / 389.4 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.1108, allocations: 7.984 kB / 389.4 MB, free: 7.605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.111, allocations: 113.8 kB / 389.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.812e-06/0.111, allocations: 0 / 389.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.1111, allocations: 61.17 kB / 389.6 MB, free: 7.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1111, allocations: 4 kB / 389.6 MB, free: 7.406 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1112, allocations: 3.953 kB / 389.6 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1112, allocations: 0 / 389.6 MB, free: 7.402 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.666e-05/0.1113, allocations: 149.7 kB / 389.7 MB, free: 7.207 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1113, allocations: 4 kB / 389.7 MB, free: 7.203 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.726e-05/0.1113, allocations: 7.938 kB / 389.7 MB, free: 7.195 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1113, allocations: 4 kB / 389.7 MB, free: 7.191 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1113, allocations: 8 kB / 389.7 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1114, allocations: 0 / 389.7 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.1114, allocations: 3.984 kB / 389.7 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.1115, allocations: 74.73 kB / 389.8 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.1115, allocations: 81.05 kB / 389.9 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1115, allocations: 432 / 389.9 MB, free: 6.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.037e-05/0.1116, allocations: 3.938 kB / 389.9 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.1116, allocations: 16.08 kB / 389.9 MB, free: 6.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1116, allocations: 4 kB / 389.9 MB, free: 6.969 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.1116, allocations: 79.23 kB / 390 MB, free: 6.891 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1116, allocations: 0 / 390 MB, free: 6.891 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001918/0.1118, allocations: 8 kB / 390 MB, free: 6.883 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001935/0.112, allocations: 111.2 kB / 390.1 MB, free: 6.766 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.1122, allocations: 19.98 kB / 390.1 MB, free: 6.746 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1122, allocations: 0 / 390.1 MB, free: 6.746 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.1122, allocations: 16.05 kB / 390.1 MB, free: 6.73 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001004/0.1123, allocations: 0 / 390.1 MB, free: 6.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.1126, allocations: 116.4 kB / 390.3 MB, free: 6.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1128, allocations: 0.6809 MB / 390.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.1129, allocations: 8 kB / 390.9 MB, free: 5.875 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.1129, allocations: 11.44 kB / 391 MB, free: 5.863 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1129, allocations: 0 / 391 MB, free: 5.863 MB / 286.1 MB Notification: Performance of Templates: time 0.002919/0.1158, allocations: 423.6 kB / 391.4 MB, free: 5.457 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: