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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008742/0.0008742, allocations: 166.3 kB / 22.46 MB, free: 2.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8776/0.8776, allocations: 158.6 MB / 184.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.02436/0.02436, allocations: 6.417 MB / 242.9 MB, free: 8.98 MB / 234.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 359.8 MB, free: 4.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.974e-05, allocations: 2.281 kB / 359.8 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.00102/0.00104, allocations: 421 kB / 360.2 MB, free: 4.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 6.572e-05/0.001106, allocations: 32.95 kB / 360.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.00113, allocations: 0 / 360.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.001248, allocations: 3.984 kB / 360.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.001334, allocations: 27.97 kB / 360.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.859e-05/0.001383, allocations: 15.86 kB / 360.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.001431, allocations: 19.97 kB / 360.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.918e-05/0.00147, allocations: 0 / 360.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.001504, allocations: 15.92 kB / 360.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.123e-05/0.001565, allocations: 35.95 kB / 360.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.001584, allocations: 0 / 360.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.474e-05/0.001629, allocations: 8 kB / 360.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.001642, allocations: 0 / 360.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.521e-05/0.001657, allocations: 0 / 360.3 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.628e-05/0.001743, allocations: 19.97 kB / 360.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.001745, allocations: 4 kB / 360.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.001746, allocations: 0 / 360.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.001751, allocations: 0 / 360.4 MB, free: 3.844 MB / 282.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.0002246/0.001976, allocations: 254.1 kB / 360.6 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.002016, allocations: 11.98 kB / 360.6 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.389e-05/0.00204, allocations: 38.75 kB / 360.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.002062, allocations: 4.938 kB / 360.7 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.148e-05/0.002114, allocations: 105.8 kB / 360.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.002125, allocations: 384 / 360.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.002146, allocations: 4.375 kB / 360.8 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.576e-05/0.002232, allocations: 38.2 kB / 360.8 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.002242, allocations: 4.188 kB / 360.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.002249, allocations: 384 / 360.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.002254, allocations: 8.109 kB / 360.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.002289, allocations: 4 kB / 360.8 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.299e-05/0.002382, allocations: 120.8 kB / 360.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.002538, allocations: 34.67 kB / 361 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.002558, allocations: 8.859 kB / 361 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.002583, allocations: 0 / 361 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.002597, allocations: 34.5 kB / 361 MB, free: 3.055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 5.92e-07/0.002598, allocations: 4 kB / 361 MB, free: 3.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001433/0.002741, allocations: 53.58 kB / 361.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.002767, allocations: 55.34 kB / 361.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.002999, allocations: 97.84 kB / 361.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-06/0.003005, allocations: 29.7 kB / 361.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.997e-06/0.003014, allocations: 80.14 kB / 361.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.003039, allocations: 3.953 kB / 361.3 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-05/0.003058, allocations: 17.72 kB / 361.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.053e-05/0.003089, allocations: 318.8 kB / 361.7 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.00311, allocations: 4.859 kB / 361.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.003128, allocations: 33.97 kB / 361.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.86e-05/0.003156, allocations: 29.78 kB / 361.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.003158, allocations: 0 / 361.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.25e-05/0.0032, allocations: 49.59 kB / 361.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.003214, allocations: 11.98 kB / 361.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.00322, allocations: 0 / 361.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.003232, allocations: 0 / 361.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.432e-05/0.003257, allocations: 7.938 kB / 361.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.003262, allocations: 7.938 kB / 361.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.003273, allocations: 0 / 361.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.003277, allocations: 4.031 kB / 361.8 MB, free: 2.188 MB / 282.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.685e-05/0.003364, allocations: 117.8 kB / 361.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-06/0.003368, allocations: 0 / 361.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.003393, allocations: 3.531 kB / 361.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.003394, allocations: 7.984 kB / 361.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.003399, allocations: 3.938 kB / 361.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.003401, allocations: 0 / 361.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.791e-05/0.003439, allocations: 120.8 kB / 362.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.00344, allocations: 0 / 362.1 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.00346, allocations: 7.938 kB / 362.1 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.52e-07/0.003461, allocations: 4 kB / 362.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.003467, allocations: 4 kB / 362.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.003468, allocations: 3.984 kB / 362.1 MB, free: 1.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.003469, allocations: 3.938 kB / 362.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.801e-05/0.003537, allocations: 73.12 kB / 362.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-06/0.003542, allocations: 7.984 kB / 362.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-06/0.00355, allocations: 0 / 362.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-06/0.003555, allocations: 0 / 362.2 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.003566, allocations: 7.922 kB / 362.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.003567, allocations: 4 kB / 362.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.034e-05/0.003578, allocations: 79.34 kB / 362.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003578, allocations: 0 / 362.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001155/0.003693, allocations: 7.938 kB / 362.3 MB, free: 1.668 MB / 282.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 (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.0002794/0.003973, allocations: 0.6224 MB / 362.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.606e-05/0.004039, allocations: 23.94 kB / 362.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.004041, allocations: 224 / 362.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-06/0.004048, allocations: 11.98 kB / 362.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.469e-05/0.004143, allocations: 3.938 kB / 362.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.004605, allocations: 1.1 MB / 364 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.004637, allocations: 59.34 kB / 364.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.843e-05/0.004656, allocations: 4 kB / 364.1 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.004697, allocations: 16.56 kB / 364.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.004697, allocations: 0 / 364.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.01915, allocations: 1.934 MB / 366 MB, free: 13.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.971/6.99, allocations: 8 kB / 366 MB, free: 13.84 MB / 298.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.803171766921878] Failed to read output from testmodel.py, exit status != 0: 7.070878829807043 7.085050926 7.080641085 Calling exit ...