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.004642/0.004642, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001279/0.001279, allocations: 205.6 kB / 16.68 MB, free: 5.969 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.449/1.449, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04909/0.04909, allocations: 8.117 MB / 278 MB, free: 13.08 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.002117/0.002117, allocations: 71.89 kB / 386.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2828, allocations: 48.31 MB / 434.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001433/0.2843, allocations: 383.9 kB / 434.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002918/0.2846, allocations: 72.39 kB / 434.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.2846, allocations: 1.375 kB / 434.9 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.2847, allocations: 7.938 kB / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.2847, allocations: 0 / 434.9 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.2851, allocations: 55.3 kB / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.2852, allocations: 22.25 kB / 435 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.776e-05/0.2852, allocations: 2.062 kB / 435 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.881e-05/0.2853, allocations: 18.38 kB / 435 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.975e-05/0.2854, allocations: 28.33 kB / 435 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2854, allocations: 0 / 435 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.2855, allocations: 33.52 kB / 435.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.03e-05/0.2855, allocations: 4 kB / 435.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.2856, allocations: 2.266 kB / 435.1 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2857, allocations: 32.47 kB / 435.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2857, allocations: 0 / 435.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.946e-06/0.2857, allocations: 0 / 435.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2857, allocations: 1.812 kB / 435.1 MB, free: 7.121 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.0003097/0.286, allocations: 320.2 kB / 435.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.2861, allocations: 10.12 kB / 435.4 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.2861, allocations: 31.45 kB / 435.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2862, allocations: 2.219 kB / 435.5 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/0.2862, allocations: 166.2 kB / 435.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2863, allocations: 1.719 kB / 435.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.2863, allocations: 2.266 kB / 435.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.2864, allocations: 41.84 kB / 435.7 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2864, allocations: 9.391 kB / 435.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.824e-06/0.2864, allocations: 0 / 435.7 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2864, allocations: 4 kB / 435.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.023e-05/0.2865, allocations: 8.266 kB / 435.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.2866, allocations: 150.4 kB / 435.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2868, allocations: 39.14 kB / 435.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.2868, allocations: 14.14 kB / 435.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.2869, allocations: 3.719 kB / 435.9 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.2869, allocations: 35.75 kB / 435.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2869, allocations: 0 / 435.9 MB, free: 6.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001489/0.2871, allocations: 53.67 kB / 436 MB, free: 6.164 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.2871, allocations: 55.41 kB / 436 MB, free: 6.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.339e-05/0.2871, allocations: 90.94 kB / 436.1 MB, free: 6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.2872, allocations: 27.08 kB / 436.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/0.2872, allocations: 80.14 kB / 436.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.2872, allocations: 21.89 kB / 436.3 MB, free: 5.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2873, allocations: 19.16 kB / 436.3 MB, free: 5.848 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.391e-05/0.2873, allocations: 313.6 kB / 436.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.2873, allocations: 16.44 kB / 436.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.2874, allocations: 20.47 kB / 436.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.309e-05/0.2874, allocations: 24.98 kB / 436.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2874, allocations: 1.25 kB / 436.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.35e-05/0.2875, allocations: 52.3 kB / 436.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2875, allocations: 5.5 kB / 436.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2875, allocations: 6 kB / 436.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2875, allocations: 0 / 436.7 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.357e-05/0.2876, allocations: 11.88 kB / 436.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2876, allocations: 1.656 kB / 436.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.2876, allocations: 5.906 kB / 436.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.2876, allocations: 3.969 kB / 436.7 MB, free: 5.43 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.0001163/0.2878, allocations: 120.5 kB / 436.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-06/0.2878, allocations: 2.031 kB / 436.9 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.2879, allocations: 70.88 kB / 436.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2879, allocations: 1.344 kB / 436.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2879, allocations: 384 / 436.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2879, allocations: 0 / 436.9 MB, free: 5.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.764e-05/0.288, allocations: 149 kB / 437.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.288, allocations: 0 / 437.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.288, allocations: 6.781 kB / 437.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.288, allocations: 3.984 kB / 437.1 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.288, allocations: 5.875 kB / 437.1 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2881, allocations: 5.344 kB / 437.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.2881, allocations: 0.6562 kB / 437.1 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.955e-05/0.2882, allocations: 81.56 kB / 437.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.2882, allocations: 77.11 kB / 437.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.2882, allocations: 10.55 kB / 437.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.017e-05/0.2882, allocations: 0 / 437.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.2882, allocations: 2.109 kB / 437.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.2882, allocations: 10.17 kB / 437.3 MB, free: 4.871 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.2e-05/0.2883, allocations: 79.28 kB / 437.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.31e-07/0.2883, allocations: 0 / 437.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002044/0.2885, allocations: 15.75 kB / 437.4 MB, free: 4.785 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.000266/0.2887, allocations: 0.6196 MB / 438 MB, free: 4.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.747e-05/0.2888, allocations: 23.62 kB / 438 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2889, allocations: 0 / 438 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.758e-05/0.2889, allocations: 12.27 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.0001216/0.289, allocations: 1.281 kB / 438 MB, free: 4.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.2896, allocations: 1.097 MB / 439.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.882e-05/0.2897, allocations: 0.6783 MB / 439.8 MB, free: 2.355 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.2898, allocations: 13.67 kB / 439.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.2898, allocations: 10.67 kB / 439.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2898, allocations: 0 / 439.8 MB, free: 2.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02209/0.3119, allocations: 1.257 MB / 441.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/7.739, allocations: 13.17 kB / 441.1 MB, free: 1.895 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 & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1)