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.001308/0.001308, allocations: 100.6 kB / 19.73 MB, free: 2.23 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.001582/0.001582, allocations: 220.4 kB / 23.04 MB, free: 5.074 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.371/1.371, allocations: 207.6 MB / 233.8 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.05018/0.05018, allocations: 8.2 MB / 294.3 MB, free: 13.64 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="cs",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.002165/0.002165, allocations: 75.25 kB / 411.2 MB, free: 46.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08112/0.08329, allocations: 50.93 MB / 462.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001685/0.08497, allocations: 397.2 kB / 462.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003363/0.08531, allocations: 67.77 kB / 462.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.815e-05/0.08533, allocations: 0 / 462.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.08534, allocations: 0 / 462.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.08535, allocations: 0 / 462.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.08582, allocations: 67.84 kB / 462.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.08588, allocations: 15.98 kB / 462.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.08593, allocations: 0 / 462.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.719e-05/0.08597, allocations: 23.91 kB / 462.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.08605, allocations: 27.97 kB / 462.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.08606, allocations: 0 / 462.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.0862, allocations: 31.97 kB / 462.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/0.08621, allocations: 3.984 kB / 462.7 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.08623, allocations: 4 kB / 462.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001193/0.08635, allocations: 36.11 kB / 462.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.08636, allocations: 4 kB / 462.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08636, allocations: 0 / 462.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.08636, allocations: 0 / 462.8 MB, free: 12.84 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.0003565/0.08672, allocations: 246.4 kB / 463 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.08677, allocations: 11.98 kB / 463 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.391e-05/0.08679, allocations: 4.125 kB / 463 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.08683, allocations: 30.75 kB / 463.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.08686, allocations: 8.875 kB / 463.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.08696, allocations: 102.5 kB / 463.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.08697, allocations: 4.375 kB / 463.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.087, allocations: 4.375 kB / 463.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.08712, allocations: 42 kB / 463.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.08713, allocations: 0 / 463.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.08714, allocations: 4 kB / 463.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.08714, allocations: 0 / 463.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.08719, allocations: 11.98 kB / 463.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.08735, allocations: 120.7 kB / 463.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.08752, allocations: 38.61 kB / 463.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.08755, allocations: 8.922 kB / 463.4 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.08758, allocations: 11.98 kB / 463.4 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.08762, allocations: 34.5 kB / 463.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.08762, allocations: 0 / 463.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001458/0.08777, allocations: 53.61 kB / 463.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.08781, allocations: 55.41 kB / 463.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.58e-05/0.08785, allocations: 93.86 kB / 463.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.08788, allocations: 25.7 kB / 463.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.08791, allocations: 80.14 kB / 463.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.996e-05/0.08794, allocations: 7.906 kB / 463.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.08798, allocations: 21.7 kB / 463.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.08811, allocations: 314.8 kB / 464.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.08814, allocations: 12.86 kB / 464.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.252e-05/0.08818, allocations: 26.11 kB / 464.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.659e-05/0.08823, allocations: 25.66 kB / 464.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.08823, allocations: 0 / 464.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.457e-05/0.08831, allocations: 57.67 kB / 464.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.08833, allocations: 7.938 kB / 464.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.08833, allocations: 0 / 464.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.08835, allocations: 4 kB / 464.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.08838, allocations: 7.938 kB / 464.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.08839, allocations: 4.031 kB / 464.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.567e-05/0.0884, allocations: 4 kB / 464.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.08842, allocations: 4 kB / 464.3 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.0001526/0.08857, allocations: 109.8 kB / 464.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.08858, allocations: 11.92 kB / 464.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.08871, allocations: 57.22 kB / 464.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.08871, allocations: 0 / 464.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.08872, allocations: 4 kB / 464.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.08872, allocations: 3.984 kB / 464.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.08883, allocations: 124.7 kB / 464.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.08883, allocations: 3.938 kB / 464.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.08887, allocations: 11.92 kB / 464.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.08888, allocations: 3.938 kB / 464.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.08888, allocations: 4 kB / 464.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.08889, allocations: 4 kB / 464.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.08889, allocations: 4 kB / 464.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.08901, allocations: 73.11 kB / 464.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-06/0.08901, allocations: 0 / 464.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.08903, allocations: 7.938 kB / 464.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.08904, allocations: 8.453 kB / 464.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.112e-05/0.08906, allocations: 0 / 464.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.08906, allocations: 4 kB / 464.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.608e-05/0.08911, allocations: 83.34 kB / 464.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08911, allocations: 0 / 464.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.0893, allocations: 8 kB / 464.8 MB, free: 10.58 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.0004874/0.08979, allocations: 0.6279 MB / 465.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.08989, allocations: 23.92 kB / 465.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.0899, allocations: 4.125 kB / 465.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.08991, allocations: 8 kB / 465.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.09005, allocations: 0 / 465.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.09113, allocations: 1.108 MB / 466.5 MB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.09145, allocations: 0.6806 MB / 467.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.09149, allocations: 8 kB / 467.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.09153, allocations: 11.44 kB / 467.2 MB, free: 7.961 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09153, allocations: 0 / 467.2 MB, free: 7.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.1122, allocations: 1.393 MB / 468.6 MB, free: 6.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.74, allocations: 3.438 kB / 468.6 MB, free: 6.633 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector_fmu --startTime=0 --stopTime=6 --stepSize=0.0024 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.26011319202371] Failed to read output from testmodel.py, exit status != 0: 10.896101318998262 10.911715302 10.822328318 Calling exit ...