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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00566/0.00566, allocations: 175.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.381/1.381, allocations: 194.5 MB / 210.3 MB, free: 8.605 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0374/0.0374, allocations: 8.092 MB / 263.6 MB, free: 3.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001569/0.001569, allocations: 120.6 kB / 310.6 MB, free: 27.15 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.000322, allocations: 16 kB / 367.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1965, allocations: 46.2 MB / 413.5 MB, free: 47.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07731/0.2739, allocations: 71 MB / 484.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000162/0.2741, allocations: 44.73 kB / 484.6 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001933/0.2761, allocations: 0.6497 MB / 485.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.2761, allocations: 0 / 485.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2761, allocations: 0 / 485.2 MB, free: 14.09 MB / 330.7 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.0002752/0.2764, allocations: 323.4 kB / 485.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.2765, allocations: 11.22 kB / 485.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.2765, allocations: 38.5 kB / 485.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.2765, allocations: 3.938 kB / 485.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.644e-05/0.2766, allocations: 163 kB / 485.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2766, allocations: 0 / 485.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.2767, allocations: 4 kB / 485.8 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.2768, allocations: 41.67 kB / 485.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.2768, allocations: 0 / 485.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2768, allocations: 2.875 kB / 485.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2768, allocations: 0 / 485.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.754e-05/0.2769, allocations: 7.984 kB / 485.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.277, allocations: 153.6 kB / 486 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2772, allocations: 38.55 kB / 486 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.2773, allocations: 8.062 kB / 486 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.2773, allocations: 34.5 kB / 486.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2773, allocations: 0 / 486.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001501/0.2774, allocations: 53.72 kB / 486.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.2775, allocations: 51.41 kB / 486.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.847e-05/0.2775, allocations: 85 kB / 486.2 MB, free: 12.9 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2776, allocations: 25.7 kB / 486.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.2776, allocations: 88.14 kB / 486.4 MB, free: 12.78 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.2776, allocations: 19.73 kB / 486.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.2777, allocations: 0 / 486.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2778, allocations: 310.8 kB / 486.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.2778, allocations: 12.86 kB / 486.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.2778, allocations: 17.7 kB / 486.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.617e-05/0.2779, allocations: 8 kB / 486.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2779, allocations: 0 / 486.7 MB, free: 12.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.141e-05/0.278, allocations: 61.58 kB / 486.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.278, allocations: 4 kB / 486.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.278, allocations: 4 kB / 486.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2781, allocations: 0 / 486.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.697e-05/0.2781, allocations: 8 kB / 486.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2781, allocations: 0 / 486.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.2781, allocations: 0 / 486.8 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2782, allocations: 8 kB / 486.8 MB, free: 12.31 MB / 330.7 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.0001397/0.2783, allocations: 117.9 kB / 486.9 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.29e-05/0.2783, allocations: 7.938 kB / 486.9 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.2785, allocations: 57.12 kB / 487 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2785, allocations: 384 / 487 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2785, allocations: 0 / 487 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2785, allocations: 0 / 487 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.2786, allocations: 161.6 kB / 487.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2786, allocations: 0 / 487.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.2787, allocations: 11.92 kB / 487.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2787, allocations: 0 / 487.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2787, allocations: 7.953 kB / 487.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2787, allocations: 0 / 487.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2787, allocations: 0 / 487.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.2789, allocations: 81.05 kB / 487.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.829e-05/0.2789, allocations: 81.05 kB / 487.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.2789, allocations: 8.094 kB / 487.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.258e-05/0.279, allocations: 3.953 kB / 487.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.193e-05/0.279, allocations: 0 / 487.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.279, allocations: 4 kB / 487.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.688e-05/0.279, allocations: 75.28 kB / 487.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.279, allocations: 0 / 487.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.2792, allocations: 20 kB / 487.4 MB, free: 11.59 MB / 330.7 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.0004268/0.2797, allocations: 0.6228 MB / 488 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.464e-05/0.2798, allocations: 15.98 kB / 488.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2798, allocations: 0 / 488.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.2798, allocations: 12 kB / 488.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.645e-05/0.2799, allocations: 3.953 kB / 488.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.2805, allocations: 498.1 kB / 488.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.2808, allocations: 0.6809 MB / 489.2 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.587e-05/0.2808, allocations: 8.062 kB / 489.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.2809, allocations: 15.44 kB / 489.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2809, allocations: 0 / 489.3 MB, free: 9.637 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.2919, allocations: 1.038 MB / 490.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/0.2921, allocations: 213.4 kB / 490.5 MB, free: 8.492 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.39/1.683, allocations: 0 / 490.5 MB, free: 8.492 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)