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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01137/0.01137, allocations: 102.7 kB / 15.73 MB, free: 6.492 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.002296/0.002297, allocations: 192.6 kB / 16.67 MB, free: 6.379 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.658/1.658, allocations: 205.1 MB / 222.6 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.06098/0.06098, allocations: 8.119 MB / 278 MB, free: 13.12 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.001545/0.001545, allocations: 75.89 kB / 386.2 MB, free: 9.566 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3279, allocations: 48.3 MB / 434.5 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.002056/0.33, allocations: 390.5 kB / 434.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003697/0.3304, allocations: 67.06 kB / 434.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.841e-05/0.3305, allocations: 0 / 434.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.3305, allocations: 0 / 434.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.514e-06/0.3305, allocations: 0 / 434.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.3311, allocations: 64.53 kB / 435 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.3312, allocations: 24.98 kB / 435 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.3313, allocations: 2.359 kB / 435 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.518e-05/0.3313, allocations: 14.38 kB / 435 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.338e-05/0.3314, allocations: 24.53 kB / 435 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.3314, allocations: 0 / 435 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3316, allocations: 36.94 kB / 435.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.3316, allocations: 1.188 kB / 435.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.3317, allocations: 1.938 kB / 435.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.3318, allocations: 31.38 kB / 435.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3318, allocations: 2.141 kB / 435.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3318, allocations: 4 kB / 435.1 MB, free: 7.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.3318, allocations: 0 / 435.1 MB, free: 7.129 MB / 318.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.000344/0.3322, allocations: 322.2 kB / 435.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.3322, allocations: 9.219 kB / 435.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.3323, allocations: 31.27 kB / 435.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.3323, allocations: 2.656 kB / 435.5 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.647e-05/0.3324, allocations: 169.8 kB / 435.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3324, allocations: 1.438 kB / 435.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.3325, allocations: 6.375 kB / 435.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.3326, allocations: 37.72 kB / 435.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.3327, allocations: 5.062 kB / 435.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3327, allocations: 0.6094 kB / 435.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.3327, allocations: 0.8438 kB / 435.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.06e-05/0.3328, allocations: 5.656 kB / 435.7 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.3329, allocations: 156.1 kB / 435.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.3332, allocations: 38.81 kB / 435.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.3332, allocations: 16.48 kB / 435.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/0.3333, allocations: 6.281 kB / 435.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.3333, allocations: 31.56 kB / 435.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 2.555e-06/0.3333, allocations: 0 / 435.9 MB, free: 6.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002069/0.3335, allocations: 51.58 kB / 436 MB, free: 6.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3336, allocations: 53.03 kB / 436 MB, free: 6.105 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.752e-05/0.3336, allocations: 90.94 kB / 436.1 MB, free: 6.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3337, allocations: 30.8 kB / 436.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/0.3337, allocations: 88.12 kB / 436.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.592e-05/0.3337, allocations: 12 kB / 436.3 MB, free: 5.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.3338, allocations: 20.98 kB / 436.3 MB, free: 5.855 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.39e-05/0.3339, allocations: 314.8 kB / 436.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.3339, allocations: 14.27 kB / 436.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.579e-05/0.334, allocations: 16.8 kB / 436.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.881e-05/0.3341, allocations: 29.53 kB / 436.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3341, allocations: 0 / 436.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.3342, allocations: 57.09 kB / 436.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.3342, allocations: 6.469 kB / 436.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.3342, allocations: 3.938 kB / 436.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.3343, allocations: 1.406 kB / 436.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.575e-05/0.3343, allocations: 7.141 kB / 436.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3344, allocations: 1.094 kB / 436.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.3344, allocations: 1.125 kB / 436.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.3344, allocations: 6.016 kB / 436.7 MB, free: 5.441 MB / 318.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.0002629/0.3347, allocations: 128.7 kB / 436.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.3347, allocations: 1.156 kB / 436.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.3349, allocations: 66.64 kB / 436.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3349, allocations: 0.7969 kB / 436.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3349, allocations: 5.406 kB / 436.9 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.3349, allocations: 0 / 436.9 MB, free: 5.254 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.3351, allocations: 151.7 kB / 437.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3351, allocations: 1.438 kB / 437.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.3351, allocations: 6.734 kB / 437.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/0.3352, allocations: 0 / 437.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.3352, allocations: 9.188 kB / 437.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.3352, allocations: 0.8438 kB / 437.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3352, allocations: 5.359 kB / 437.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.3354, allocations: 83.5 kB / 437.2 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.3354, allocations: 79.08 kB / 437.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.3355, allocations: 6.141 kB / 437.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.3355, allocations: 4 kB / 437.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.3355, allocations: 6.703 kB / 437.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.3356, allocations: 5.016 kB / 437.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.233e-05/0.3356, allocations: 75.28 kB / 437.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3356, allocations: 1.188 kB / 437.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000285/0.3359, allocations: 7.906 kB / 437.4 MB, free: 4.793 MB / 318.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.0004054/0.3363, allocations: 0.6315 MB / 438 MB, free: 4.176 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001122/0.3364, allocations: 18.77 kB / 438 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3364, allocations: 0 / 438 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.42e-05/0.3365, allocations: 12.5 kB / 438 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.3367, allocations: 5.438 kB / 438 MB, free: 4.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000852/0.3375, allocations: 1.094 MB / 439.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.3376, allocations: 0.6741 MB / 439.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.3377, allocations: 9.078 kB / 439.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.3377, allocations: 11.73 kB / 439.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3377, allocations: 0 / 439.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.3599, allocations: 1.26 MB / 441.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.755, allocations: 10.25 kB / 441.1 MB, free: 1.902 MB / 318.1 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/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)