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: "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",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.004751/0.004751, allocations: 96.7 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.001238/0.001238, allocations: 193.8 kB / 16.67 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.447/1.447, allocations: 205.1 MB / 222.6 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04927/0.04927, allocations: 8.117 MB / 278 MB, free: 13.06 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.002133/0.002133, allocations: 72.52 kB / 386.2 MB, free: 9.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2816, allocations: 48.3 MB / 434.5 MB, free: 7.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001679/0.2834, allocations: 422.7 kB / 434.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 8.809e-05/0.2835, allocations: 40.19 kB / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.2835, allocations: 0 / 434.9 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001471/0.2837, allocations: 6.188 kB / 434.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.685e-05/0.2838, allocations: 21.7 kB / 434.9 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.462e-05/0.2838, allocations: 14.62 kB / 435 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.488e-05/0.2839, allocations: 18.72 kB / 435 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.284, allocations: 3.391 kB / 435 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.284, allocations: 15.09 kB / 435 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.2841, allocations: 27.25 kB / 435 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2841, allocations: 1.344 kB / 435 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.6e-05/0.2842, allocations: 10.12 kB / 435 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.2842, allocations: 4.891 kB / 435 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.2842, allocations: 5.25 kB / 435 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.2843, allocations: 18.69 kB / 435.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2843, allocations: 1.594 kB / 435.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2843, allocations: 0 / 435.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2843, allocations: 0 / 435.1 MB, free: 7.152 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.0002699/0.2846, allocations: 315.8 kB / 435.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2847, allocations: 10.66 kB / 435.4 MB, free: 6.805 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.206e-05/0.2847, allocations: 35.5 kB / 435.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.2847, allocations: 2.25 kB / 435.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.506e-05/0.2848, allocations: 167.6 kB / 435.6 MB, free: 6.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2848, allocations: 4.312 kB / 435.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.2848, allocations: 1.594 kB / 435.6 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.2849, allocations: 41.7 kB / 435.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.285, allocations: 7.875 kB / 435.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.285, allocations: 5.5 kB / 435.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.285, allocations: 0 / 435.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.529e-05/0.285, allocations: 4.453 kB / 435.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.796e-05/0.2851, allocations: 154.5 kB / 435.8 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.2853, allocations: 41.16 kB / 435.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.2853, allocations: 10.03 kB / 435.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.2854, allocations: 1.094 kB / 435.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.25e-05/0.2854, allocations: 32.22 kB / 435.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2854, allocations: 0 / 435.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.000157/0.2855, allocations: 53 kB / 435.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.2856, allocations: 56.78 kB / 436 MB, free: 6.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.2856, allocations: 94.09 kB / 436.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.2857, allocations: 29.7 kB / 436.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.541e-05/0.2857, allocations: 80.14 kB / 436.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.2857, allocations: 12.12 kB / 436.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2857, allocations: 17.06 kB / 436.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.2858, allocations: 311.5 kB / 436.5 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.668e-05/0.2858, allocations: 14.39 kB / 436.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.2859, allocations: 19.56 kB / 436.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.866e-05/0.2859, allocations: 23.39 kB / 436.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2859, allocations: 0 / 436.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.145e-05/0.286, allocations: 59.5 kB / 436.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.286, allocations: 9.312 kB / 436.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.286, allocations: 0.8906 kB / 436.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.286, allocations: 5.125 kB / 436.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.425e-05/0.2861, allocations: 6.781 kB / 436.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.2861, allocations: 1.062 kB / 436.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.534e-05/0.2861, allocations: 1.312 kB / 436.6 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.2861, allocations: 1.156 kB / 436.7 MB, free: 5.461 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.0001323/0.2863, allocations: 121.8 kB / 436.8 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.2863, allocations: 5.812 kB / 436.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.2863, allocations: 3.5 kB / 436.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2863, allocations: 5.922 kB / 436.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2863, allocations: 0 / 436.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2863, allocations: 5.062 kB / 436.8 MB, free: 5.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.814e-05/0.2864, allocations: 151.1 kB / 436.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2864, allocations: 1.062 kB / 436.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.417e-05/0.2864, allocations: 5.406 kB / 436.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.2864, allocations: 3.938 kB / 436.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.2865, allocations: 1.094 kB / 436.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2865, allocations: 4.641 kB / 437 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2865, allocations: 0 / 437 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.2866, allocations: 81.27 kB / 437 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.2866, allocations: 78.89 kB / 437.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.2866, allocations: 9.672 kB / 437.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.167e-05/0.2866, allocations: 0 / 437.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.2867, allocations: 6.578 kB / 437.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.2867, allocations: 1.281 kB / 437.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.934e-05/0.2867, allocations: 78.67 kB / 437.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2867, allocations: 160 / 437.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.2869, allocations: 15.34 kB / 437.2 MB, free: 4.852 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.0003708/0.2873, allocations: 0.619 MB / 437.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.2874, allocations: 20.5 kB / 437.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2874, allocations: 0 / 437.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.509e-05/0.2874, allocations: 10.98 kB / 437.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.2876, allocations: 1.844 kB / 437.9 MB, free: 4.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.2882, allocations: 1.093 MB / 439 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.944e-05/0.2883, allocations: 0.6744 MB / 439.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.656e-05/0.2884, allocations: 10.91 kB / 439.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.2884, allocations: 11.47 kB / 439.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2884, allocations: 0 / 439.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.313, allocations: 1.298 MB / 441 MB, free: 1.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.87, allocations: 5.812 kB / 441 MB, free: 1.977 MB / 318.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector_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_IntegrateInterpolatedExternalVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1)