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.00169/0.00169, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001447/0.001447, allocations: 208.7 kB / 22.24 MB, free: 5.262 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.377/1.377, allocations: 207.7 MB / 233.1 MB, free: 9.777 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.04888/0.04888, allocations: 8.191 MB / 293.5 MB, free: 13.46 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.002169/0.002169, allocations: 72.73 kB / 410.4 MB, free: 46.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07926/0.08143, allocations: 50.94 MB / 461.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0015/0.08293, allocations: 404.4 kB / 461.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003889/0.08332, allocations: 59.86 kB / 461.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.08334, allocations: 3.938 kB / 461.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.08336, allocations: 3.938 kB / 461.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.107e-06/0.08337, allocations: 0 / 461.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.08389, allocations: 63.91 kB / 461.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.535e-05/0.08397, allocations: 15.98 kB / 461.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.08402, allocations: 0 / 461.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.895e-05/0.08405, allocations: 15.97 kB / 461.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.08412, allocations: 27.97 kB / 461.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.08413, allocations: 7.938 kB / 461.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.08425, allocations: 31.97 kB / 462 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.08426, allocations: 0 / 462 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.08428, allocations: 7.922 kB / 462 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.08439, allocations: 28.19 kB / 462 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.08439, allocations: 4 kB / 462 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0844, allocations: 0 / 462 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.0844, allocations: 0 / 462 MB, free: 12.68 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.0003383/0.08474, allocations: 246.4 kB / 462.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.08478, allocations: 11.98 kB / 462.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.08482, allocations: 34.75 kB / 462.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.278e-05/0.08484, allocations: 0.9375 kB / 462.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.08493, allocations: 106.5 kB / 462.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.08494, allocations: 384 / 462.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.08496, allocations: 4.375 kB / 462.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.08508, allocations: 38.19 kB / 462.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.0851, allocations: 7.938 kB / 462.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.08511, allocations: 0 / 462.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.08511, allocations: 0 / 462.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.08515, allocations: 11.97 kB / 462.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.0853, allocations: 120.8 kB / 462.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.08548, allocations: 38.61 kB / 462.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.08551, allocations: 12.91 kB / 462.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.08555, allocations: 11.94 kB / 462.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.08558, allocations: 34.5 kB / 462.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.08558, allocations: 0 / 462.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001434/0.08572, allocations: 53.62 kB / 462.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.08576, allocations: 55.34 kB / 462.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.08582, allocations: 89.86 kB / 462.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.08584, allocations: 25.7 kB / 462.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.606e-05/0.08588, allocations: 80.14 kB / 463 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.08591, allocations: 15.89 kB / 463 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.08594, allocations: 21.72 kB / 463 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.0861, allocations: 310.8 kB / 463.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.257e-05/0.08613, allocations: 16.84 kB / 463.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-05/0.08615, allocations: 17.66 kB / 463.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.886e-05/0.08621, allocations: 26.11 kB / 463.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.08621, allocations: 0 / 463.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.118e-05/0.08629, allocations: 57.62 kB / 463.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.08631, allocations: 8 kB / 463.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.08632, allocations: 7.969 kB / 463.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.08633, allocations: 0 / 463.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.555e-05/0.08636, allocations: 8 kB / 463.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.08637, allocations: 0 / 463.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.459e-05/0.08638, allocations: 4 kB / 463.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.0864, allocations: 4 kB / 463.4 MB, free: 11.02 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.0001629/0.08656, allocations: 117.8 kB / 463.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-06/0.08657, allocations: 0 / 463.6 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.0867, allocations: 73.08 kB / 463.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.08671, allocations: 0 / 463.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.08671, allocations: 0 / 463.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.08671, allocations: 0 / 463.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.08683, allocations: 124.7 kB / 463.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.08683, allocations: 0 / 463.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.08687, allocations: 11.98 kB / 463.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.08687, allocations: 384 / 463.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.08688, allocations: 11.94 kB / 463.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.08688, allocations: 0 / 463.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.08688, allocations: 0 / 463.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.08702, allocations: 88.97 kB / 463.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-06/0.08703, allocations: 0 / 463.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.08704, allocations: 3.938 kB / 463.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.08705, allocations: 4 kB / 463.9 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.08707, allocations: 4.031 kB / 463.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.08708, allocations: 4 kB / 463.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.661e-05/0.08711, allocations: 79.28 kB / 464 MB, free: 10.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08711, allocations: 0 / 464 MB, free: 10.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000189/0.0873, allocations: 16.05 kB / 464 MB, free: 10.41 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.0004787/0.08778, allocations: 0.6202 MB / 464.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.978e-05/0.08787, allocations: 23.92 kB / 464.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.08787, allocations: 0 / 464.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.496e-05/0.08789, allocations: 4 kB / 464.6 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.08801, allocations: 4 kB / 464.6 MB, free: 9.723 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009788/0.08899, allocations: 1.104 MB / 465.7 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.08904, allocations: 59.34 kB / 465.8 MB, free: 8.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.725e-05/0.08907, allocations: 8.188 kB / 465.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.08911, allocations: 11.44 kB / 465.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.08911, allocations: 4 kB / 465.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.1159, allocations: 1.74 MB / 467.5 MB, free: 6.742 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.8, allocations: 15.69 kB / 467.6 MB, free: 6.727 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: 13.377917321864516] Failed to read output from testmodel.py, exit status != 0: 10.910176577046514 10.935464431 10.846758747 Calling exit ...