Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009526/0.0009525, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001008/0.001008, allocations: 195.1 kB / 16.14 MB, free: 6.711 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.245/1.245, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0373/0.0373, allocations: 8.108 MB / 277.4 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.001251/0.001251, allocations: 59.92 kB / 336.5 MB, free: 26.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09741, allocations: 48.3 MB / 384.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001727/0.09918, allocations: 475.4 kB / 385.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 8.233e-05/0.09928, allocations: 37.53 kB / 385.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.09931, allocations: 0 / 385.3 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001371/0.09946, allocations: 7.984 kB / 385.3 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.856e-05/0.09956, allocations: 23.91 kB / 385.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.231e-05/0.09961, allocations: 7.984 kB / 385.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.09966, allocations: 23.91 kB / 385.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.843e-05/0.09972, allocations: 0 / 385.4 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.296e-05/0.09975, allocations: 15.98 kB / 385.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.09982, allocations: 27.92 kB / 385.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.09984, allocations: 0 / 385.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.49e-05/0.09989, allocations: 15.98 kB / 385.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.09991, allocations: 3.984 kB / 385.4 MB, free: 10 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.923e-05/0.09994, allocations: 7.938 kB / 385.4 MB, free: 9.996 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.559e-05/0.1, allocations: 15.98 kB / 385.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1, allocations: 0 / 385.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1, allocations: 0 / 385.4 MB, free: 9.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1001, allocations: 0 / 385.4 MB, free: 9.98 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.0003223/0.1004, allocations: 323.5 kB / 385.8 MB, free: 9.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1004, allocations: 8.031 kB / 385.8 MB, free: 9.605 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.1005, allocations: 8.938 kB / 385.8 MB, free: 9.598 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1006, allocations: 160.4 kB / 385.9 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.1006, allocations: 4.375 kB / 385.9 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.1006, allocations: 384 / 385.9 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.911e-05/0.1007, allocations: 34.25 kB / 386 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.1007, allocations: 12.03 kB / 386 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1008, allocations: 7.938 kB / 386 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1008, allocations: 0 / 386 MB, free: 9.34 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.1008, allocations: 8 kB / 386 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001533/0.101, allocations: 149.7 kB / 386.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.1012, allocations: 30.56 kB / 386.2 MB, free: 9.098 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.1012, allocations: 16.91 kB / 386.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1012, allocations: 7.984 kB / 386.2 MB, free: 9.07 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1013, allocations: 34.56 kB / 386.2 MB, free: 9.027 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1013, allocations: 3.938 kB / 386.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001452/0.1014, allocations: 49.62 kB / 386.3 MB, free: 8.969 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.1014, allocations: 51.41 kB / 386.3 MB, free: 8.906 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.74e-05/0.1015, allocations: 89.86 kB / 386.4 MB, free: 8.809 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.1015, allocations: 29.7 kB / 386.5 MB, free: 8.773 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.1016, allocations: 84.14 kB / 386.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.1016, allocations: 12.11 kB / 386.5 MB, free: 8.676 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.1016, allocations: 17.84 kB / 386.6 MB, free: 8.652 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.1018, allocations: 314.8 kB / 386.9 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.1018, allocations: 8.859 kB / 386.9 MB, free: 8.324 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.1018, allocations: 25.64 kB / 386.9 MB, free: 8.293 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.75e-05/0.1019, allocations: 21.72 kB / 386.9 MB, free: 8.266 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1019, allocations: 3.938 kB / 386.9 MB, free: 8.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.579e-05/0.102, allocations: 61.53 kB / 387 MB, free: 8.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.102, allocations: 6.656 kB / 387 MB, free: 8.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.102, allocations: 3.938 kB / 387 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.102, allocations: 0 / 387 MB, free: 8.188 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.048e-05/0.1021, allocations: 11.94 kB / 387 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1021, allocations: 0 / 387 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.1021, allocations: 0 / 387 MB, free: 8.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.1021, allocations: 7.984 kB / 387 MB, free: 8.168 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.0001346/0.1022, allocations: 113.8 kB / 387.1 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.1023, allocations: 4.031 kB / 387.1 MB, free: 8.043 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.1024, allocations: 57.06 kB / 387.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1024, allocations: 0 / 387.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1024, allocations: 0 / 387.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1024, allocations: 0 / 387.2 MB, free: 7.973 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.1025, allocations: 153.7 kB / 387.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1025, allocations: 0 / 387.3 MB, free: 7.773 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.1026, allocations: 4 kB / 387.3 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1026, allocations: 0 / 387.3 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.1026, allocations: 3.938 kB / 387.3 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1026, allocations: 4 kB / 387.4 MB, free: 7.762 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1026, allocations: 8 kB / 387.4 MB, free: 7.754 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.1027, allocations: 81.41 kB / 387.4 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.1028, allocations: 85.05 kB / 387.5 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1028, allocations: 3.938 kB / 387.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.076e-05/0.1028, allocations: 0 / 387.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.1028, allocations: 0 / 387.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.1028, allocations: 0 / 387.5 MB, free: 7.551 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.1029, allocations: 83.34 kB / 387.6 MB, free: 7.469 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1029, allocations: 0 / 387.6 MB, free: 7.469 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.1031, allocations: 4 kB / 387.6 MB, free: 7.465 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.0001932/0.1033, allocations: 111 kB / 387.7 MB, free: 7.352 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.59e-05/0.1033, allocations: 16.14 kB / 387.7 MB, free: 7.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1034, allocations: 4 kB / 387.7 MB, free: 7.332 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.304e-05/0.1034, allocations: 11.94 kB / 387.8 MB, free: 7.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1035, allocations: 7.938 kB / 387.8 MB, free: 7.312 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.1038, allocations: 127.2 kB / 387.9 MB, free: 7.16 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.1041, allocations: 0.6692 MB / 388.6 MB, free: 6.465 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.1041, allocations: 12 kB / 388.6 MB, free: 6.453 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.1042, allocations: 11.44 kB / 388.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1042, allocations: 0 / 388.6 MB, free: 6.441 MB / 286.1 MB Notification: Performance of Templates: time 0.002183/0.1064, allocations: 456.3 kB / 389 MB, free: 6.004 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)