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.0009731/0.0009731, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.000973/0.000973, allocations: 192.2 kB / 16.13 MB, free: 6.707 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.247/1.247, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03663/0.03663, allocations: 8.11 MB / 277.4 MB, free: 13.39 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.001189/0.001189, allocations: 59.91 kB / 336.5 MB, free: 26.97 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08593/0.08713, allocations: 48.29 MB / 384.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001725/0.08889, allocations: 459.9 kB / 385.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003774/0.08928, allocations: 73.44 kB / 385.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.041e-05/0.08931, allocations: 4 kB / 385.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.08934, allocations: 0 / 385.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.08935, allocations: 0 / 385.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.0897, allocations: 59.78 kB / 385.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.698e-05/0.08975, allocations: 19.97 kB / 385.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.0898, allocations: 4 kB / 385.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.077e-05/0.08983, allocations: 11.94 kB / 385.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.08989, allocations: 23.97 kB / 385.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.08991, allocations: 0 / 385.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.35e-05/0.09001, allocations: 39.84 kB / 385.5 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.09003, allocations: 11.98 kB / 385.5 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.09005, allocations: 0 / 385.5 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.581e-05/0.09015, allocations: 27.91 kB / 385.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.09016, allocations: 0 / 385.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.09016, allocations: 0 / 385.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.09017, allocations: 0 / 385.5 MB, free: 9.902 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.0003091/0.09048, allocations: 319.6 kB / 385.8 MB, free: 9.539 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.09053, allocations: 8.031 kB / 385.8 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.09056, allocations: 0.9375 kB / 385.8 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.956e-05/0.09066, allocations: 176.4 kB / 386 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.09067, allocations: 384 / 386 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.0907, allocations: 384 / 386 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.09081, allocations: 34.25 kB / 386 MB, free: 9.281 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.09083, allocations: 4.125 kB / 386 MB, free: 9.277 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.09084, allocations: 3.938 kB / 386 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.09085, allocations: 4 kB / 386 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.09089, allocations: 8 kB / 386.1 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.09105, allocations: 153.6 kB / 386.2 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.09124, allocations: 38.61 kB / 386.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.09127, allocations: 12.92 kB / 386.3 MB, free: 9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.09132, allocations: 7.984 kB / 386.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.09136, allocations: 30.56 kB / 386.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.09137, allocations: 3.938 kB / 386.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001569/0.09153, allocations: 53.61 kB / 386.4 MB, free: 8.891 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.09158, allocations: 55.41 kB / 386.4 MB, free: 8.824 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.236e-05/0.09163, allocations: 93.86 kB / 386.5 MB, free: 8.723 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.09165, allocations: 25.7 kB / 386.5 MB, free: 8.691 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/0.09168, allocations: 80.14 kB / 386.6 MB, free: 8.609 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.09172, allocations: 12.12 kB / 386.6 MB, free: 8.598 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/0.09175, allocations: 13.72 kB / 386.6 MB, free: 8.578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.09185, allocations: 318.8 kB / 386.9 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.09189, allocations: 12.86 kB / 386.9 MB, free: 8.242 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.949e-05/0.09193, allocations: 17.72 kB / 387 MB, free: 8.219 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.759e-05/0.09198, allocations: 37.64 kB / 387 MB, free: 8.176 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.09199, allocations: 4 kB / 387 MB, free: 8.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.413e-05/0.09207, allocations: 53.62 kB / 387.1 MB, free: 8.113 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.09209, allocations: 6.188 kB / 387.1 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.0921, allocations: 0 / 387.1 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.09211, allocations: 3.938 kB / 387.1 MB, free: 8.105 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.349e-05/0.09215, allocations: 16.02 kB / 387.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.09217, allocations: 0 / 387.1 MB, free: 8.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.35e-05/0.09218, allocations: 3.938 kB / 387.1 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.09221, allocations: 8 kB / 387.1 MB, free: 8.078 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.0001378/0.09235, allocations: 109.8 kB / 387.2 MB, free: 7.961 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-06/0.09236, allocations: 4 kB / 387.2 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.09249, allocations: 69.05 kB / 387.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.0925, allocations: 0 / 387.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.09251, allocations: 0 / 387.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.09252, allocations: 0 / 387.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.09262, allocations: 157.7 kB / 387.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.09263, allocations: 0 / 387.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.09267, allocations: 8 kB / 387.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.09268, allocations: 0 / 387.4 MB, free: 7.664 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.09269, allocations: 3.938 kB / 387.4 MB, free: 7.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.0927, allocations: 4 kB / 387.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.0927, allocations: 0 / 387.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.09282, allocations: 81.5 kB / 387.5 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.778e-05/0.09286, allocations: 77.11 kB / 387.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.09288, allocations: 7.938 kB / 387.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.0929, allocations: 0 / 387.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.505e-05/0.09292, allocations: 7.984 kB / 387.6 MB, free: 7.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.09293, allocations: 7.984 kB / 387.6 MB, free: 7.441 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.347e-05/0.09296, allocations: 79.34 kB / 387.7 MB, free: 7.363 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09296, allocations: 0 / 387.7 MB, free: 7.363 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001874/0.09315, allocations: 8 kB / 387.7 MB, free: 7.355 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.0001269/0.09329, allocations: 107.2 kB / 387.8 MB, free: 7.242 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.379e-05/0.09338, allocations: 16 kB / 387.8 MB, free: 7.227 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.09339, allocations: 4 kB / 387.8 MB, free: 7.223 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.579e-05/0.09341, allocations: 11.92 kB / 387.8 MB, free: 7.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.09354, allocations: 12 kB / 387.9 MB, free: 7.199 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.09377, allocations: 111.2 kB / 388 MB, free: 7.062 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.09399, allocations: 0.677 MB / 388.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.423e-05/0.09403, allocations: 8 kB / 388.6 MB, free: 6.352 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.09406, allocations: 11.44 kB / 388.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09406, allocations: 0 / 388.7 MB, free: 6.34 MB / 286.1 MB Notification: Performance of Templates: time 0.002143/0.09621, allocations: 448 kB / 389.1 MB, free: 5.91 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)