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.001838/0.001838, allocations: 113 kB / 18.94 MB, free: 2.934 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.002209/0.002209, allocations: 208.2 kB / 22.25 MB, free: 5.082 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.502/1.502, allocations: 207.6 MB / 233 MB, free: 10 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.05225/0.05225, allocations: 8.207 MB / 293.5 MB, free: 13.76 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.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: 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.002294/0.002294, allocations: 82.17 kB / 410.4 MB, free: 46.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07926/0.08155, allocations: 50.94 MB / 461.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.002077/0.08363, allocations: 409.1 kB / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001214/0.08375, allocations: 39.88 kB / 461.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.08379, allocations: 0 / 461.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.08393, allocations: 11.92 kB / 461.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.08404, allocations: 19.97 kB / 461.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.929e-05/0.0841, allocations: 11.98 kB / 461.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.861e-05/0.08418, allocations: 23.91 kB / 461.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.08423, allocations: 4 kB / 461.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.08426, allocations: 11.92 kB / 461.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.08434, allocations: 31.95 kB / 461.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.08436, allocations: 0 / 461.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.701e-05/0.0844, allocations: 12 kB / 461.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.08442, allocations: 4 kB / 461.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.08444, allocations: 7.922 kB / 461.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.08454, allocations: 16.2 kB / 461.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.08454, allocations: 0 / 461.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.08455, allocations: 0 / 461.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.08455, allocations: 0 / 461.9 MB, free: 12.93 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.0003204/0.08487, allocations: 246.4 kB / 462.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.08491, allocations: 11.98 kB / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/0.08496, allocations: 34.73 kB / 462.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/0.08498, allocations: 8.938 kB / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.0851, allocations: 106.5 kB / 462.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.08512, allocations: 384 / 462.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.08513, allocations: 4.375 kB / 462.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.08524, allocations: 38.19 kB / 462.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.08525, allocations: 3.938 kB / 462.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-06/0.08526, allocations: 7.875 kB / 462.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.08526, allocations: 0 / 462.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.0853, allocations: 8 kB / 462.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.08547, allocations: 128.8 kB / 462.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.08564, allocations: 22.58 kB / 462.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.08567, allocations: 12.92 kB / 462.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.08569, allocations: 7.922 kB / 462.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.08572, allocations: 34.56 kB / 462.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.08572, allocations: 0 / 462.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001514/0.08587, allocations: 57.58 kB / 462.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.08591, allocations: 51.41 kB / 462.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.85e-05/0.08599, allocations: 89.86 kB / 462.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.08601, allocations: 25.7 kB / 462.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.08604, allocations: 84.14 kB / 462.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.08607, allocations: 7.953 kB / 462.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.0861, allocations: 17.7 kB / 462.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.08624, allocations: 319 kB / 463.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.08627, allocations: 12.8 kB / 463.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.257e-05/0.0863, allocations: 21.7 kB / 463.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.536e-05/0.08635, allocations: 26.12 kB / 463.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.08635, allocations: 0 / 463.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.508e-05/0.08643, allocations: 53.91 kB / 463.4 MB, free: 11.31 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.08645, allocations: 11.94 kB / 463.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.08646, allocations: 8.016 kB / 463.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.08647, allocations: 0 / 463.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.662e-05/0.08651, allocations: 8 kB / 463.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.08652, allocations: 0 / 463.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.08653, allocations: 3.938 kB / 463.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.08654, allocations: 0 / 463.4 MB, free: 11.28 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.0001866/0.08672, allocations: 117.8 kB / 463.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.08674, allocations: 3.938 kB / 463.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.268e-05/0.08677, allocations: 3.531 kB / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.08677, allocations: 8 kB / 463.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.08678, allocations: 0 / 463.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.08678, allocations: 3.938 kB / 463.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.08689, allocations: 124.8 kB / 463.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.08689, allocations: 3.938 kB / 463.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.08693, allocations: 4 kB / 463.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.08693, allocations: 3.938 kB / 463.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.08694, allocations: 0 / 463.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.08694, allocations: 0 / 463.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.08694, allocations: 3.938 kB / 463.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001247/0.08706, allocations: 81.08 kB / 463.7 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.08707, allocations: 8.016 kB / 463.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.08709, allocations: 3.938 kB / 463.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.0871, allocations: 0 / 463.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.174e-05/0.08711, allocations: 0 / 463.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.08711, allocations: 0 / 463.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.08716, allocations: 79.28 kB / 463.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08716, allocations: 8.094 kB / 463.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002145/0.08737, allocations: 4 kB / 463.8 MB, free: 10.75 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.0005293/0.0879, allocations: 0.6263 MB / 464.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.079e-05/0.08799, allocations: 28 kB / 464.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.08799, allocations: 0 / 464.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.08801, allocations: 4 kB / 464.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.08814, allocations: 8 kB / 464.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000996/0.08914, allocations: 1.096 MB / 465.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.08944, allocations: 0.6729 MB / 466.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.033e-05/0.08947, allocations: 8.062 kB / 466.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.08951, allocations: 19.36 kB / 466.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of SimCode: time 4.5e-07/0.08951, allocations: 0 / 466.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02745/0.117, allocations: 1.374 MB / 467.7 MB, free: 6.832 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.44, allocations: 13.81 kB / 467.7 MB, free: 6.82 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.278435701002309] Failed to read output from testmodel.py, exit status != 0: 11.550815564005461 11.568724084 11.480998567 Calling exit ...