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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.2 kB / 22.23 MB, free: 5.16 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.518/1.518, 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.04943/0.04943, allocations: 8.197 MB / 293.4 MB, free: 13.68 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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.002199/0.002199, allocations: 74.2 kB / 410.9 MB, free: 46.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1185, allocations: 50.91 MB / 461.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001878/0.1204, allocations: 401.2 kB / 462.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004291/0.1208, allocations: 75.77 kB / 462.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.79e-05/0.1209, allocations: 0 / 462.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.1209, allocations: 0 / 462.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.228e-06/0.1209, allocations: 0 / 462.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.1214, allocations: 67.78 kB / 462.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.594e-05/0.1215, allocations: 15.98 kB / 462.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.861e-05/0.1216, allocations: 4 kB / 462.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.1216, allocations: 11.97 kB / 462.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.1217, allocations: 31.91 kB / 462.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.1217, allocations: 4 kB / 462.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.1219, allocations: 35.97 kB / 462.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.1219, allocations: 0 / 462.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.122, allocations: 3.984 kB / 462.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.1221, allocations: 31.84 kB / 462.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1221, allocations: 0 / 462.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1221, allocations: 0 / 462.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.1221, allocations: 0 / 462.5 MB, free: 12.37 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.0004357/0.1226, allocations: 246.4 kB / 462.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.1226, allocations: 15.92 kB / 462.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.1227, allocations: 8.938 kB / 462.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.1229, allocations: 106.5 kB / 462.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1229, allocations: 384 / 462.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.1229, allocations: 4.375 kB / 462.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1231, allocations: 38.25 kB / 462.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1231, allocations: 192 / 462.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1231, allocations: 3.938 kB / 462.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1231, allocations: 0 / 462.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.1231, allocations: 7.984 kB / 462.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.1234, allocations: 128.8 kB / 463 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1236, allocations: 38.55 kB / 463 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.1236, allocations: 8.922 kB / 463 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.1237, allocations: 8 kB / 463.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.1237, allocations: 30.56 kB / 463.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.1237, allocations: 0 / 463.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002023/0.1239, allocations: 61.55 kB / 463.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.1241, allocations: 55.41 kB / 463.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.725e-05/0.1241, allocations: 89.86 kB / 463.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1241, allocations: 25.7 kB / 463.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.1242, allocations: 80.14 kB / 463.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.1242, allocations: 7.906 kB / 463.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.565e-05/0.1243, allocations: 17.72 kB / 463.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.1246, allocations: 314.8 kB / 463.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.1246, allocations: 16.86 kB / 463.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.28e-05/0.1246, allocations: 21.7 kB / 463.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.597e-05/0.1247, allocations: 26.06 kB / 463.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.1247, allocations: 7.875 kB / 463.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.994e-05/0.1248, allocations: 49.69 kB / 463.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1248, allocations: 4 kB / 463.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1248, allocations: 0 / 463.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1248, allocations: 7.969 kB / 463.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.1249, allocations: 15.98 kB / 463.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1249, allocations: 3.938 kB / 463.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.1249, allocations: 4 kB / 463.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1249, allocations: 4 kB / 463.9 MB, free: 10.74 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.0002015/0.1251, allocations: 109.8 kB / 464 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.1251, allocations: 4 kB / 464 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001714/0.1253, allocations: 65.14 kB / 464.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1253, allocations: 0 / 464.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1253, allocations: 0 / 464.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1253, allocations: 4 kB / 464.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.1254, allocations: 128.7 kB / 464.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1254, allocations: 0 / 464.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.899e-05/0.1255, allocations: 4 kB / 464.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1255, allocations: 4.312 kB / 464.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.1255, allocations: 7.938 kB / 464.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1255, allocations: 0 / 464.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1255, allocations: 4 kB / 464.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.1257, allocations: 81.09 kB / 464.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.1257, allocations: 0 / 464.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.1257, allocations: 3.938 kB / 464.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.1257, allocations: 0 / 464.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1257, allocations: 12.08 kB / 464.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1257, allocations: 8 kB / 464.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.429e-05/0.1258, allocations: 75.28 kB / 464.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1258, allocations: 0 / 464.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.126, allocations: 8 kB / 464.4 MB, free: 10.15 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.0001904/0.1262, allocations: 111.2 kB / 464.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1263, allocations: 19.94 kB / 464.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1263, allocations: 0 / 464.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.1263, allocations: 12.05 kB / 464.5 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.1265, allocations: 7.938 kB / 464.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.1269, allocations: 109.6 kB / 464.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.1273, allocations: 0.6806 MB / 465.3 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.257e-05/0.1273, allocations: 8 kB / 465.3 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.1273, allocations: 11.44 kB / 465.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1273, allocations: 0 / 465.3 MB, free: 9.133 MB / 334.1 MB Notification: Performance of Templates: time 0.003358/0.1307, allocations: 467.6 kB / 465.8 MB, free: 8.684 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.makefile [Timeout 660] (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 & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.831590757705271] Failed to read output from testmodel.py, exit status != 0: 0.13911053724586964 0.154655667 0.029364435 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f664c3357b0>