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.001338/0.001338, allocations: 104.4 kB / 16.45 MB, free: 6.504 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.00151/0.00151, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.46/1.46, allocations: 207.6 MB / 229.8 MB, free: 11.43 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.05039/0.05039, allocations: 8.203 MB / 289.8 MB, free: 14.97 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.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.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.002254/0.002254, allocations: 80.38 kB / 405.2 MB, free: 47.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08383/0.08609, allocations: 50.89 MB / 456.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001537/0.08762, allocations: 401.9 kB / 456.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003231/0.08795, allocations: 67.77 kB / 456.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.47e-05/0.08796, allocations: 0 / 456.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.967e-05/0.08798, allocations: 0 / 456.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.08799, allocations: 0 / 456.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.08846, allocations: 71.84 kB / 456.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.08852, allocations: 11.98 kB / 456.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.662e-05/0.08856, allocations: 4 kB / 456.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.773e-05/0.08859, allocations: 15.92 kB / 456.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.08869, allocations: 31.95 kB / 456.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.0887, allocations: 4 kB / 456.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.08882, allocations: 27.97 kB / 456.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.08884, allocations: 4 kB / 456.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.08885, allocations: 0 / 456.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.08898, allocations: 36.11 kB / 456.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.08898, allocations: 4 kB / 456.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.08898, allocations: 0 / 456.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.08899, allocations: 0 / 456.7 MB, free: 14.38 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.0003981/0.08939, allocations: 319.5 kB / 457 MB, free: 14.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.08944, allocations: 8.031 kB / 457 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.08949, allocations: 46.67 kB / 457.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.08951, allocations: 0.9375 kB / 457.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.08965, allocations: 160.4 kB / 457.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.08966, allocations: 384 / 457.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.08968, allocations: 4.312 kB / 457.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.08979, allocations: 46.25 kB / 457.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.08981, allocations: 3.938 kB / 457.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.08981, allocations: 0 / 457.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.08982, allocations: 0 / 457.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.349e-05/0.08985, allocations: 4 kB / 457.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001893/0.09004, allocations: 153.7 kB / 457.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.09022, allocations: 34.55 kB / 457.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.09025, allocations: 16.92 kB / 457.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.09029, allocations: 4 kB / 457.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.09032, allocations: 34.55 kB / 457.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.09032, allocations: 0 / 457.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001615/0.09048, allocations: 53.56 kB / 457.6 MB, free: 13.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.09053, allocations: 51.41 kB / 457.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.291e-05/0.09058, allocations: 93.86 kB / 457.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.0906, allocations: 25.7 kB / 457.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.09064, allocations: 84.14 kB / 457.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.09068, allocations: 11.91 kB / 457.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.09072, allocations: 17.7 kB / 457.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.09088, allocations: 314.8 kB / 458.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.09091, allocations: 12.8 kB / 458.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.122e-05/0.09094, allocations: 21.7 kB / 458.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.719e-05/0.09101, allocations: 37.66 kB / 458.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.09101, allocations: 0 / 458.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.739e-05/0.0911, allocations: 49.97 kB / 458.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.09111, allocations: 4 kB / 458.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.09112, allocations: 3.984 kB / 458.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.09114, allocations: 7.969 kB / 458.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.003e-05/0.09118, allocations: 11.94 kB / 458.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.09118, allocations: 0 / 458.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.0912, allocations: 0 / 458.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.09121, allocations: 8.031 kB / 458.3 MB, free: 12.52 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.00017/0.09138, allocations: 125.7 kB / 458.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-06/0.09139, allocations: 0 / 458.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.09154, allocations: 61.11 kB / 458.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.09154, allocations: 0 / 458.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.09155, allocations: 4 kB / 458.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.09155, allocations: 0 / 458.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.0917, allocations: 157.6 kB / 458.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.09171, allocations: 0 / 458.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.09175, allocations: 11.94 kB / 458.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.09175, allocations: 3.984 kB / 458.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.09177, allocations: 7.875 kB / 458.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.09177, allocations: 0 / 458.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.09177, allocations: 0 / 458.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.09191, allocations: 81.12 kB / 458.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.09198, allocations: 81.09 kB / 458.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.09199, allocations: 3.938 kB / 458.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.092, allocations: 0 / 458.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.09202, allocations: 4.031 kB / 458.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.09202, allocations: 4 kB / 458.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.024e-05/0.09207, allocations: 75.28 kB / 458.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09207, allocations: 0 / 458.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002063/0.09227, allocations: 8 kB / 458.9 MB, free: 11.8 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.0004913/0.09276, allocations: 0.6246 MB / 459.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.19e-05/0.09284, allocations: 19.94 kB / 459.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.09285, allocations: 3.938 kB / 459.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.848e-05/0.09287, allocations: 11.98 kB / 459.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.09301, allocations: 8.125 kB / 459.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.09407, allocations: 1.116 MB / 460.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.09445, allocations: 0.6729 MB / 461.4 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.516e-05/0.09449, allocations: 11.98 kB / 461.4 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.09453, allocations: 11.44 kB / 461.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.09453, allocations: 0 / 461.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02265/0.1172, allocations: 1.259 MB / 462.7 MB, free: 8.012 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.117, allocations: 8.047 kB / 462.7 MB, free: 8.004 MB / 334.1 MB " [Timeout remaining time 652] (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: 10.611246687360108] Failed to read output from testmodel.py, exit status != 0: 8.185363431926817 8.205715032 8.113909983 Calling exit ...