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.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.001307/0.001307, allocations: 102.9 kB / 16.45 MB, free: 6.445 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.001277/0.001277, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.515/1.515, allocations: 207.6 MB / 229.8 MB, free: 4.238 MB / 174.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.05153/0.05153, allocations: 8.21 MB / 289.9 MB, free: 8.262 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: "" <> 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.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.002295/0.002295, allocations: 67.91 kB / 405.2 MB, free: 1.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2658, allocations: 50.89 MB / 456.1 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001555/0.2673, allocations: 426.6 kB / 456.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 7.641e-05/0.2674, allocations: 28.64 kB / 456.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.2674, allocations: 0 / 456.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.2676, allocations: 9.891 kB / 456.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.125e-05/0.2677, allocations: 25.25 kB / 456.5 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.842e-05/0.2677, allocations: 9.141 kB / 456.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.2678, allocations: 18.83 kB / 456.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.2678, allocations: 1.219 kB / 456.6 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.481e-05/0.2678, allocations: 15.45 kB / 456.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.2679, allocations: 31.73 kB / 456.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.2679, allocations: 0 / 456.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.315e-05/0.2679, allocations: 13.42 kB / 456.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.268, allocations: 0.9375 kB / 456.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.268, allocations: 12.92 kB / 456.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.074e-05/0.2681, allocations: 17.31 kB / 456.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2681, allocations: 4 kB / 456.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2681, allocations: 1.219 kB / 456.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.2681, allocations: 0 / 456.7 MB, free: 3.387 MB / 318.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.0002398/0.2683, allocations: 321.9 kB / 457 MB, free: 3.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2684, allocations: 10.06 kB / 457 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.2684, allocations: 30.75 kB / 457 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.474e-05/0.2684, allocations: 6.312 kB / 457 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.663e-05/0.2685, allocations: 165.8 kB / 457.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2685, allocations: 384 / 457.2 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2685, allocations: 7 kB / 457.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.996e-05/0.2686, allocations: 36.94 kB / 457.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.2686, allocations: 5.375 kB / 457.2 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-06/0.2686, allocations: 4 kB / 457.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.2686, allocations: 0 / 457.2 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.204e-05/0.2686, allocations: 8.156 kB / 457.2 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.414e-05/0.2687, allocations: 156.2 kB / 457.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.2689, allocations: 32.89 kB / 457.4 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/0.2689, allocations: 13.02 kB / 457.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.2689, allocations: 1.406 kB / 457.4 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.016e-05/0.2689, allocations: 30.56 kB / 457.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2689, allocations: 0 / 457.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001178/0.269, allocations: 57.3 kB / 457.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.2691, allocations: 52.56 kB / 457.6 MB, free: 2.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.2691, allocations: 100.2 kB / 457.7 MB, free: 2.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.2691, allocations: 25.7 kB / 457.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.048e-05/0.2691, allocations: 80.14 kB / 457.8 MB, free: 2.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.2692, allocations: 10.3 kB / 457.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.2692, allocations: 11.97 kB / 457.8 MB, free: 2.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.2692, allocations: 316.1 kB / 458.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.2692, allocations: 12.38 kB / 458.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.2693, allocations: 26.66 kB / 458.1 MB, free: 1.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.2693, allocations: 25.06 kB / 458.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2693, allocations: 1.25 kB / 458.2 MB, free: 1.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.564e-05/0.2694, allocations: 54.7 kB / 458.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2694, allocations: 10.25 kB / 458.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2694, allocations: 0 / 458.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.2694, allocations: 1.516 kB / 458.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.071e-05/0.2694, allocations: 12.94 kB / 458.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.2694, allocations: 1.469 kB / 458.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.2695, allocations: 5.469 kB / 458.3 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.2695, allocations: 1.156 kB / 458.3 MB, free: 1.656 MB / 318.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.0001022/0.2696, allocations: 111.8 kB / 458.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.094e-05/0.2696, allocations: 5.281 kB / 458.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.2696, allocations: 7.438 kB / 458.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2696, allocations: 0.8125 kB / 458.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.2696, allocations: 1.406 kB / 458.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2696, allocations: 0 / 458.4 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.525e-05/0.2697, allocations: 157.2 kB / 458.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2697, allocations: 0 / 458.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.502e-05/0.2697, allocations: 4.406 kB / 458.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2697, allocations: 3.938 kB / 458.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.2697, allocations: 5.344 kB / 458.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.2697, allocations: 3.984 kB / 458.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.2697, allocations: 3.938 kB / 458.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.89e-05/0.2698, allocations: 77.05 kB / 458.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.2698, allocations: 81.17 kB / 458.7 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.2698, allocations: 5.094 kB / 458.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.236e-05/0.2698, allocations: 1.281 kB / 458.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.388e-06/0.2698, allocations: 1.094 kB / 458.7 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.2698, allocations: 3.984 kB / 458.7 MB, free: 1.129 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.573e-05/0.2699, allocations: 77.75 kB / 458.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2699, allocations: 0 / 458.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001862/0.27, allocations: 7.469 kB / 458.8 MB, free: 1.051 MB / 318.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.0003203/0.2704, allocations: 0.6426 MB / 459.5 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.2704, allocations: 17.61 kB / 459.5 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2704, allocations: 1.219 kB / 459.5 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.2705, allocations: 12.25 kB / 459.5 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.2706, allocations: 10.05 kB / 459.5 MB, free: 400 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008885/0.2715, allocations: 1.091 MB / 460.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.2718, allocations: 0.6763 MB / 461.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.58e-05/0.2718, allocations: 6.188 kB / 461.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.2719, allocations: 14.94 kB / 461.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2719, allocations: 0 / 461.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.2973, allocations: 1.291 MB / 462.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.359, allocations: 8.953 kB / 462.6 MB, free: 13.78 MB / 334.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector_fmu --startTime=0 --stopTime=6 --stepSize=0.0024 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.8299824250862] Failed to read output from testmodel.py, exit status != 0: 8.428777940105647 8.45248259 8.180340693 Calling exit ...