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.001108/0.001108, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002071/0.002071, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.0425/0.0425, allocations: 8.109 MB / 277.9 MB, free: 13.17 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.002396/0.002397, allocations: 71.89 kB / 337.3 MB, free: 26.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.102, allocations: 48.3 MB / 385.6 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.002032/0.1041, allocations: 411.1 kB / 386 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 8.431e-05/0.1042, allocations: 35.88 kB / 386 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.484e-05/0.1043, allocations: 0 / 386 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.1044, allocations: 8 kB / 386 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.868e-05/0.1045, allocations: 27.89 kB / 386.1 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.529e-05/0.1046, allocations: 11.98 kB / 386.1 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.926e-05/0.1046, allocations: 11.98 kB / 386.1 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.1047, allocations: 4 kB / 386.1 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.1047, allocations: 15.91 kB / 386.1 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.586e-05/0.1048, allocations: 27.98 kB / 386.1 MB, free: 9.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1048, allocations: 4 kB / 386.1 MB, free: 9.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.978e-05/0.1049, allocations: 7.984 kB / 386.1 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1049, allocations: 7.984 kB / 386.1 MB, free: 9.512 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.1049, allocations: 7.875 kB / 386.2 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.171e-05/0.105, allocations: 19.98 kB / 386.2 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.105, allocations: 0 / 386.2 MB, free: 9.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.105, allocations: 0 / 386.2 MB, free: 9.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.1051, allocations: 0 / 386.2 MB, free: 9.484 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.0002917/0.1053, allocations: 319.6 kB / 386.5 MB, free: 9.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1054, allocations: 12.03 kB / 386.5 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.844e-05/0.1054, allocations: 34.75 kB / 386.5 MB, free: 9.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.1055, allocations: 4.938 kB / 386.5 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.1056, allocations: 168.2 kB / 386.7 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1056, allocations: 4.375 kB / 386.7 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1056, allocations: 4.312 kB / 386.7 MB, free: 8.852 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.1057, allocations: 38.25 kB / 386.7 MB, free: 8.809 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1057, allocations: 3.938 kB / 386.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.1058, allocations: 0 / 386.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1058, allocations: 0 / 386.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.144e-05/0.1058, allocations: 7.938 kB / 386.8 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.106, allocations: 157.7 kB / 386.9 MB, free: 8.594 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1061, allocations: 30.62 kB / 386.9 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.1061, allocations: 12.91 kB / 387 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1062, allocations: 0 / 387 MB, free: 8.539 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.1062, allocations: 34.56 kB / 387 MB, free: 8.496 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1062, allocations: 0 / 387 MB, free: 8.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001292/0.1063, allocations: 57.55 kB / 387 MB, free: 8.434 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1064, allocations: 55.41 kB / 387.1 MB, free: 8.367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/0.1065, allocations: 93.86 kB / 387.2 MB, free: 8.266 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.1065, allocations: 25.7 kB / 387.2 MB, free: 8.234 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.761e-05/0.1065, allocations: 80.14 kB / 387.3 MB, free: 8.152 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.237e-05/0.1065, allocations: 20.09 kB / 387.3 MB, free: 8.133 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.1066, allocations: 17.72 kB / 387.3 MB, free: 8.109 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.1067, allocations: 319 kB / 387.6 MB, free: 7.789 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.853e-05/0.1067, allocations: 12.84 kB / 387.7 MB, free: 7.773 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.1068, allocations: 17.72 kB / 387.7 MB, free: 7.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.876e-05/0.1068, allocations: 25.66 kB / 387.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1068, allocations: 0 / 387.7 MB, free: 7.719 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.849e-05/0.1069, allocations: 57.53 kB / 387.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1069, allocations: 10.28 kB / 387.8 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1069, allocations: 8.031 kB / 387.8 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.107, allocations: 0 / 387.8 MB, free: 7.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.111e-05/0.107, allocations: 4 kB / 387.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.107, allocations: 3.984 kB / 387.8 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.615e-05/0.107, allocations: 4 kB / 387.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.107, allocations: 0 / 387.8 MB, free: 7.629 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.1072, allocations: 113.8 kB / 387.9 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.1072, allocations: 3.938 kB / 387.9 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.1072, allocations: 11.5 kB / 387.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1072, allocations: 0 / 387.9 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1073, allocations: 3.938 kB / 387.9 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1073, allocations: 0 / 387.9 MB, free: 7.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1074, allocations: 149.7 kB / 388.1 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1074, allocations: 3.938 kB / 388.1 MB, free: 7.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.1074, allocations: 4 kB / 388.1 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1074, allocations: 7.938 kB / 388.1 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1074, allocations: 0 / 388.1 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1074, allocations: 4 kB / 388.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1075, allocations: 0 / 388.1 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1076, allocations: 88.95 kB / 388.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.1076, allocations: 77.11 kB / 388.2 MB, free: 7.066 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1077, allocations: 3.938 kB / 388.2 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.341e-05/0.1077, allocations: 0 / 388.2 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.1077, allocations: 4.031 kB / 388.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1077, allocations: 0 / 388.2 MB, free: 7.059 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.1077, allocations: 83.27 kB / 388.3 MB, free: 6.977 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1077, allocations: 4.156 kB / 388.3 MB, free: 6.973 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001825/0.1079, allocations: 4 kB / 388.3 MB, free: 6.969 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 (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.0004374/0.1084, allocations: 0.6282 MB / 389 MB, free: 6.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.595e-05/0.1085, allocations: 19.98 kB / 389 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1085, allocations: 0 / 389 MB, free: 6.297 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/0.1085, allocations: 7.938 kB / 389 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001313/0.1086, allocations: 0 / 389 MB, free: 6.289 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.1095, allocations: 1.1 MB / 390.1 MB, free: 5.102 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1098, allocations: 0.6766 MB / 390.8 MB, free: 4.398 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.997e-05/0.1099, allocations: 15.98 kB / 390.8 MB, free: 4.383 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.1099, allocations: 7.438 kB / 390.8 MB, free: 4.375 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1099, allocations: 0 / 390.8 MB, free: 4.375 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.1277, allocations: 1.276 MB / 392.1 MB, free: 3.191 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.707, allocations: 448 / 392.1 MB, free: 3.191 MB / 286.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)