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.001023/0.001023, allocations: 99.62 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.000968/0.0009681, allocations: 177.3 kB / 15.95 MB, free: 216 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.419/1.419, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03929/0.03929, allocations: 8.101 MB / 278.5 MB, free: 13.22 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.0005601/0.0005601, allocations: 19.12 kB / 338.2 MB, free: 27.06 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09749, allocations: 49.27 MB / 387.5 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.0006863/0.09822, allocations: 128.8 kB / 387.6 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 8.652e-05/0.09832, allocations: 35.91 kB / 387.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.06e-05/0.09836, allocations: 4 kB / 387.7 MB, free: 9.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.09852, allocations: 7.938 kB / 387.7 MB, free: 9.562 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.09864, allocations: 19.97 kB / 387.7 MB, free: 9.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.874e-05/0.09868, allocations: 4 kB / 387.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 5.854e-05/0.09875, allocations: 15.97 kB / 387.7 MB, free: 9.523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/0.09881, allocations: 3.984 kB / 387.7 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.027e-05/0.09885, allocations: 15.94 kB / 387.7 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.834e-05/0.09889, allocations: 7.984 kB / 387.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.09892, allocations: 0 / 387.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.147e-05/0.09897, allocations: 8 kB / 387.7 MB, free: 9.488 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.09898, allocations: 3.984 kB / 387.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.09902, allocations: 29.7 kB / 387.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.545e-05/0.0991, allocations: 19.91 kB / 387.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.09912, allocations: 0 / 387.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09912, allocations: 3.938 kB / 387.8 MB, free: 9.426 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.09913, allocations: 0 / 387.8 MB, free: 9.426 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.0003264/0.09946, allocations: 315.4 kB / 388.1 MB, free: 9.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.09951, allocations: 8.031 kB / 388.1 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.09956, allocations: 0 / 388.1 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.09975, allocations: 183 kB / 388.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.09977, allocations: 0 / 388.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.0998, allocations: 0 / 388.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.09992, allocations: 41.64 kB / 388.3 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.09994, allocations: 3.906 kB / 388.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.09996, allocations: 0 / 388.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.09997, allocations: 0 / 388.3 MB, free: 8.793 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.1, allocations: 7.984 kB / 388.4 MB, free: 8.785 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.1002, allocations: 149.7 kB / 388.5 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.1004, allocations: 42.55 kB / 388.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1004, allocations: 0 / 388.5 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.1005, allocations: 30.56 kB / 388.6 MB, free: 8.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1005, allocations: 0 / 388.6 MB, free: 8.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.1006, allocations: 53.78 kB / 388.6 MB, free: 8.441 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.1007, allocations: 55.34 kB / 388.7 MB, free: 8.375 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/0.1008, allocations: 97.86 kB / 388.8 MB, free: 8.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1008, allocations: 25.7 kB / 388.8 MB, free: 8.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.1008, allocations: 84.14 kB / 388.9 MB, free: 8.152 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.1009, allocations: 16.09 kB / 388.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.1009, allocations: 0 / 388.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.101, allocations: 314.8 kB / 389.2 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.28e-05/0.1011, allocations: 8.859 kB / 389.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.1011, allocations: 23.36 kB / 389.2 MB, free: 7.781 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.029e-05/0.1011, allocations: 12.12 kB / 389.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1011, allocations: 0 / 389.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.694e-05/0.1012, allocations: 53.53 kB / 389.3 MB, free: 7.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1012, allocations: 4 kB / 389.3 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1012, allocations: 7.938 kB / 389.3 MB, free: 7.699 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1013, allocations: 3.953 kB / 389.3 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-05/0.1013, allocations: 4 kB / 389.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.1013, allocations: 0 / 389.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1013, allocations: 4 kB / 389.3 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.1013, allocations: 4.031 kB / 389.3 MB, free: 7.684 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.0001674/0.1015, allocations: 113.8 kB / 389.4 MB, free: 7.562 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.1015, allocations: 3.984 kB / 389.4 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.1016, allocations: 53.06 kB / 389.5 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1017, allocations: 3.953 kB / 389.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1017, allocations: 0 / 389.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1017, allocations: 0 / 389.5 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.1018, allocations: 153.7 kB / 389.6 MB, free: 7.289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1018, allocations: 4 kB / 389.7 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1018, allocations: 4 kB / 389.7 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1019, allocations: 4 kB / 389.7 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1019, allocations: 0 / 389.7 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.1019, allocations: 4 kB / 389.7 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1019, allocations: 7.938 kB / 389.7 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.102, allocations: 76.97 kB / 389.7 MB, free: 7.172 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.1021, allocations: 85.09 kB / 389.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1021, allocations: 64 / 389.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.21e-05/0.1021, allocations: 4 kB / 389.8 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.73e-05/0.1021, allocations: 4.031 kB / 389.8 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1021, allocations: 3.953 kB / 389.8 MB, free: 7.059 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.33e-05/0.1022, allocations: 75.28 kB / 389.9 MB, free: 6.984 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1022, allocations: 0 / 389.9 MB, free: 6.984 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001844/0.1024, allocations: 4 kB / 389.9 MB, free: 6.98 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.0002182/0.1026, allocations: 123.5 kB / 390 MB, free: 6.859 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.704e-05/0.1027, allocations: 19.94 kB / 390.1 MB, free: 6.84 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1027, allocations: 0 / 390.1 MB, free: 6.84 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.1027, allocations: 7.984 kB / 390.1 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.153e-05/0.1028, allocations: 4 kB / 390.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000279/0.1031, allocations: 128.9 kB / 390.2 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.1034, allocations: 0.6809 MB / 390.9 MB, free: 5.965 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.43e-05/0.1035, allocations: 4 kB / 390.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.1035, allocations: 7.438 kB / 390.9 MB, free: 5.953 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1035, allocations: 0 / 390.9 MB, free: 5.953 MB / 286.1 MB Notification: Performance of Templates: time 0.002639/0.1061, allocations: 447.2 kB / 391.3 MB, free: 5.523 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: