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.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.001332/0.001332, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001432/0.001432, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.516/1.516, allocations: 207.6 MB / 233 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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.05222/0.05222, allocations: 8.201 MB / 293.5 MB, free: 13.66 MB / 238.1 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.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002399/0.002399, allocations: 78.42 kB / 410.4 MB, free: 46.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.085, allocations: 50.94 MB / 461.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001541/0.08654, allocations: 397.2 kB / 461.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003118/0.08685, allocations: 63.77 kB / 461.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.319e-05/0.08687, allocations: 0 / 461.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.08688, allocations: 0 / 461.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.722e-06/0.08689, allocations: 0 / 461.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.08734, allocations: 71.84 kB / 461.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.08741, allocations: 15.98 kB / 461.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.08745, allocations: 0 / 461.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.08749, allocations: 23.91 kB / 461.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.711e-05/0.08756, allocations: 27.97 kB / 461.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.08757, allocations: 0 / 461.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.0877, allocations: 31.97 kB / 462 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.08771, allocations: 3.984 kB / 462 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.878e-05/0.08773, allocations: 4 kB / 462 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.08785, allocations: 32.12 kB / 462 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.08785, allocations: 4 kB / 462 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.08786, allocations: 0 / 462 MB, free: 12.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.08786, allocations: 0 / 462 MB, free: 12.86 MB / 334.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.0003345/0.08819, allocations: 250.3 kB / 462.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.08824, allocations: 11.98 kB / 462.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.08828, allocations: 30.75 kB / 462.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.08831, allocations: 0.9375 kB / 462.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.08841, allocations: 110.5 kB / 462.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.08843, allocations: 384 / 462.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.08845, allocations: 4.375 kB / 462.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.08856, allocations: 42.25 kB / 462.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.08857, allocations: 7.922 kB / 462.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.08858, allocations: 0 / 462.5 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.0886, allocations: 3.938 kB / 462.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.08864, allocations: 7.938 kB / 462.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.08881, allocations: 124.8 kB / 462.6 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.089, allocations: 34.61 kB / 462.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.08902, allocations: 12.92 kB / 462.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/0.08906, allocations: 4 kB / 462.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.08909, allocations: 34.56 kB / 462.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.08909, allocations: 0 / 462.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001568/0.08925, allocations: 57.55 kB / 462.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.0893, allocations: 51.41 kB / 462.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.08939, allocations: 93.86 kB / 462.9 MB, free: 11.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.0894, allocations: 29.7 kB / 462.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.08944, allocations: 80.14 kB / 463 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.08948, allocations: 11.89 kB / 463 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.08953, allocations: 21.7 kB / 463 MB, free: 11.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.08968, allocations: 310.8 kB / 463.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.222e-05/0.08971, allocations: 16.8 kB / 463.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.859e-05/0.08974, allocations: 17.7 kB / 463.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/0.0898, allocations: 34.06 kB / 463.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.0898, allocations: 0 / 463.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.461e-05/0.08989, allocations: 53.69 kB / 463.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.08991, allocations: 4 kB / 463.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.08991, allocations: 3.938 kB / 463.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.08993, allocations: 0 / 463.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.037e-05/0.08997, allocations: 15.92 kB / 463.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.08997, allocations: 0 / 463.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.547e-05/0.08999, allocations: 4 kB / 463.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.09, allocations: 12.03 kB / 463.5 MB, free: 11.18 MB / 334.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.0001581/0.09016, allocations: 109.8 kB / 463.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-06/0.09017, allocations: 0 / 463.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.0903, allocations: 65.14 kB / 463.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.0903, allocations: 4.375 kB / 463.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.0903, allocations: 0 / 463.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.09031, allocations: 0 / 463.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.09041, allocations: 124.7 kB / 463.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.09041, allocations: 3.938 kB / 463.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.09045, allocations: 11.98 kB / 463.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.09045, allocations: 0 / 463.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.09046, allocations: 3.938 kB / 463.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.09046, allocations: 3.984 kB / 463.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.09047, allocations: 0 / 463.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.0906, allocations: 81.12 kB / 463.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.0906, allocations: 3.938 kB / 463.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.09062, allocations: 3.938 kB / 463.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.09063, allocations: 3.984 kB / 463.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.09064, allocations: 4.031 kB / 463.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.09065, allocations: 8 kB / 463.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.774e-05/0.09069, allocations: 79.28 kB / 464 MB, free: 10.6 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.09069, allocations: 0 / 464 MB, free: 10.6 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002025/0.09089, allocations: 12.06 kB / 464 MB, free: 10.59 MB / 334.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.0004913/0.09139, allocations: 0.6163 MB / 464.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.575e-05/0.09148, allocations: 27.86 kB / 464.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.09148, allocations: 0 / 464.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.835e-05/0.0915, allocations: 12.11 kB / 464.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.09163, allocations: 4 kB / 464.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.09275, allocations: 1.104 MB / 465.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.09312, allocations: 0.6729 MB / 466.4 MB, free: 8.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.579e-05/0.09316, allocations: 11.98 kB / 466.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.0932, allocations: 15.42 kB / 466.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.0932, allocations: 0 / 466.4 MB, free: 7.977 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.1219, allocations: 1.357 MB / 467.8 MB, free: 6.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.39, allocations: 0 / 467.8 MB, free: 6.68 MB / 334.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.154770806002489] Failed to read output from testmodel.py, exit status != 0: 11.500595497003815 11.531171243 11.438035262 Calling exit ...