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.00103/0.00103, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001007/0.001007, allocations: 196.8 kB / 16.91 MB, free: 6.195 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.346/1.346, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.07022/0.07022, allocations: 8.103 MB / 278.2 MB, free: 13.36 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.001468/0.001468, allocations: 71.89 kB / 337.3 MB, free: 26.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08283/0.08432, allocations: 48.29 MB / 385.6 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001898/0.08625, allocations: 459.9 kB / 386.1 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003216/0.0866, allocations: 73.45 kB / 386.2 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.239e-05/0.08666, allocations: 3.938 kB / 386.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.08668, allocations: 0 / 386.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.635e-06/0.0867, allocations: 0 / 386.2 MB, free: 10 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.08715, allocations: 63.86 kB / 386.2 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.529e-05/0.08722, allocations: 23.97 kB / 386.2 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.08728, allocations: 4 kB / 386.2 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.133e-05/0.08731, allocations: 11.92 kB / 386.3 MB, free: 9.902 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.08739, allocations: 27.97 kB / 386.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.0874, allocations: 0 / 386.3 MB, free: 9.875 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.08753, allocations: 31.97 kB / 386.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.08755, allocations: 0 / 386.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.08758, allocations: 4 kB / 386.3 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.039e-05/0.08766, allocations: 15.97 kB / 386.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.08767, allocations: 3.938 kB / 386.3 MB, free: 9.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.08768, allocations: 4 kB / 386.3 MB, free: 9.816 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.08769, allocations: 0 / 386.3 MB, free: 9.816 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.0003254/0.08802, allocations: 323.6 kB / 386.7 MB, free: 9.449 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.08807, allocations: 8.031 kB / 386.7 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.076e-05/0.08811, allocations: 0.9375 kB / 386.7 MB, free: 9.441 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.013e-05/0.0882, allocations: 164.3 kB / 386.8 MB, free: 9.242 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.08822, allocations: 8.359 kB / 386.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.08825, allocations: 384 / 386.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.08835, allocations: 38.25 kB / 386.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.08837, allocations: 4.188 kB / 386.9 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.08839, allocations: 3.938 kB / 386.9 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.0884, allocations: 4 kB / 386.9 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.458e-05/0.08844, allocations: 7.984 kB / 386.9 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.08858, allocations: 149.6 kB / 387 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.08876, allocations: 42.61 kB / 387.1 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.0888, allocations: 8.859 kB / 387.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.08884, allocations: 4 kB / 387.1 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.08887, allocations: 42.55 kB / 387.1 MB, free: 8.859 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.08887, allocations: 0 / 387.1 MB, free: 8.859 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001435/0.08902, allocations: 49.62 kB / 387.2 MB, free: 8.805 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.08906, allocations: 51.41 kB / 387.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.221e-05/0.08913, allocations: 89.86 kB / 387.3 MB, free: 8.645 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.08915, allocations: 29.7 kB / 387.4 MB, free: 8.609 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.08918, allocations: 84.08 kB / 387.4 MB, free: 8.523 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.08922, allocations: 16.11 kB / 387.4 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.08928, allocations: 21.7 kB / 387.5 MB, free: 8.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.08943, allocations: 310.8 kB / 387.8 MB, free: 8.168 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.08947, allocations: 12.86 kB / 387.8 MB, free: 8.152 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.0895, allocations: 21.64 kB / 387.8 MB, free: 8.125 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.08955, allocations: 25.72 kB / 387.8 MB, free: 8.094 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.08956, allocations: 4 kB / 387.8 MB, free: 8.09 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.191e-05/0.08965, allocations: 53.62 kB / 387.9 MB, free: 8.031 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.08967, allocations: 10.17 kB / 387.9 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.08968, allocations: 0 / 387.9 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.0897, allocations: 7.875 kB / 387.9 MB, free: 8.016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.544e-05/0.08974, allocations: 8 kB / 387.9 MB, free: 8.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.08975, allocations: 0 / 387.9 MB, free: 8.008 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.08977, allocations: 8 kB / 387.9 MB, free: 8 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.08979, allocations: 8 kB / 387.9 MB, free: 7.992 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.0001689/0.08997, allocations: 117.7 kB / 388 MB, free: 7.867 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.08998, allocations: 4.312 kB / 388 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.09012, allocations: 65.11 kB / 388.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.09013, allocations: 0 / 388.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.09014, allocations: 0 / 388.1 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.09015, allocations: 7.984 kB / 388.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.669e-05/0.09025, allocations: 145.7 kB / 388.3 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.09026, allocations: 0 / 388.3 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.0903, allocations: 11.98 kB / 388.3 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.09031, allocations: 0 / 388.3 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.09033, allocations: 3.938 kB / 388.3 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.09033, allocations: 0 / 388.3 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.09034, allocations: 0 / 388.3 MB, free: 7.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.09047, allocations: 85.05 kB / 388.4 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.09052, allocations: 85.2 kB / 388.4 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.09054, allocations: 3.938 kB / 388.4 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.083e-05/0.09056, allocations: 0 / 388.4 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.09058, allocations: 0 / 388.4 MB, free: 7.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.09059, allocations: 4 kB / 388.5 MB, free: 7.359 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.344e-05/0.09063, allocations: 83.28 kB / 388.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.09063, allocations: 0 / 388.5 MB, free: 7.277 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.09084, allocations: 8 kB / 388.5 MB, free: 7.27 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.0001454/0.09099, allocations: 107.2 kB / 388.6 MB, free: 7.156 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 9.09e-05/0.09109, allocations: 23.92 kB / 388.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.0911, allocations: 0 / 388.7 MB, free: 7.133 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.09112, allocations: 4 kB / 388.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.09126, allocations: 4 kB / 388.7 MB, free: 7.125 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.09156, allocations: 143.1 kB / 388.8 MB, free: 6.957 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.09183, allocations: 0.6766 MB / 389.5 MB, free: 6.254 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.09188, allocations: 19.44 kB / 389.5 MB, free: 6.234 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09188, allocations: 3.938 kB / 389.5 MB, free: 6.23 MB / 286.1 MB Notification: Performance of Templates: time 0.002229/0.09412, allocations: 0.5855 MB / 390.1 MB, free: 5.648 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)