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.001282/0.001282, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001461/0.001461, allocations: 216.5 kB / 22.25 MB, free: 4.855 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.484/1.484, allocations: 207.7 MB / 233.1 MB, free: 9.797 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.04949/0.04949, allocations: 8.203 MB / 293.5 MB, free: 13.57 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.002249/0.002249, allocations: 73.84 kB / 410.4 MB, free: 46.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.08798, allocations: 50.94 MB / 461.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001461/0.08944, allocations: 393.3 kB / 461.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003058/0.08975, allocations: 67.66 kB / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.331e-05/0.08976, allocations: 0 / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.08977, allocations: 4 kB / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.472e-06/0.08978, allocations: 0 / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.09023, allocations: 67.86 kB / 461.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.703e-05/0.09029, allocations: 15.97 kB / 461.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.09033, allocations: 0 / 461.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.31e-05/0.09035, allocations: 11.98 kB / 461.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.09044, allocations: 35.95 kB / 461.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.09045, allocations: 0 / 461.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.09057, allocations: 27.97 kB / 461.9 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.09059, allocations: 3.938 kB / 462 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.53e-05/0.0906, allocations: 4 kB / 462 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.09071, allocations: 36.17 kB / 462 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09071, allocations: 0 / 462 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09071, allocations: 0 / 462 MB, free: 12.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.09072, allocations: 0 / 462 MB, free: 12.69 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.0003029/0.09103, allocations: 246.4 kB / 462.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.09106, allocations: 11.98 kB / 462.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.09111, allocations: 34.69 kB / 462.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.09113, allocations: 4.938 kB / 462.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.021e-05/0.09121, allocations: 110.5 kB / 462.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.09122, allocations: 384 / 462.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.09125, allocations: 4.375 kB / 462.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.851e-05/0.09135, allocations: 38.25 kB / 462.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.09136, allocations: 3.938 kB / 462.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.09137, allocations: 0 / 462.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.09137, allocations: 3.938 kB / 462.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.325e-05/0.09141, allocations: 8 kB / 462.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.09156, allocations: 120.8 kB / 462.6 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.09173, allocations: 38.5 kB / 462.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.09176, allocations: 12.92 kB / 462.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.09179, allocations: 4 kB / 462.6 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.09182, allocations: 30.56 kB / 462.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.09182, allocations: 4 kB / 462.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001425/0.09197, allocations: 57.56 kB / 462.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.09201, allocations: 55.39 kB / 462.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.328e-05/0.09206, allocations: 89.86 kB / 462.9 MB, free: 11.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.09208, allocations: 25.7 kB / 462.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.09212, allocations: 80.14 kB / 463 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.09215, allocations: 19.84 kB / 463 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.09218, allocations: 13.72 kB / 463 MB, free: 11.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.09231, allocations: 314.8 kB / 463.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.09234, allocations: 12.86 kB / 463.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.09236, allocations: 21.89 kB / 463.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.138e-05/0.09241, allocations: 38.05 kB / 463.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.09242, allocations: 0 / 463.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.786e-05/0.09249, allocations: 49.69 kB / 463.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.09251, allocations: 6.188 kB / 463.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.09251, allocations: 3.938 kB / 463.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.09252, allocations: 0 / 463.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.248e-05/0.09256, allocations: 8 kB / 463.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.09256, allocations: 7.922 kB / 463.4 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.577e-05/0.09258, allocations: 8.031 kB / 463.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.09259, allocations: 4 kB / 463.5 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.0001403/0.09273, allocations: 113.8 kB / 463.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-06/0.09274, allocations: 0 / 463.6 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000126/0.09287, allocations: 65.12 kB / 463.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.09287, allocations: 0 / 463.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.09287, allocations: 8 kB / 463.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.09288, allocations: 0 / 463.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.09298, allocations: 124.7 kB / 463.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.09299, allocations: 7.984 kB / 463.8 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.09302, allocations: 11.88 kB / 463.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.09302, allocations: 0 / 463.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.09303, allocations: 3.938 kB / 463.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.09303, allocations: 4 kB / 463.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.09304, allocations: 0 / 463.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.09315, allocations: 73.11 kB / 463.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.197e-06/0.09316, allocations: 4.062 kB / 463.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.09318, allocations: 11.97 kB / 463.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.758e-06/0.09319, allocations: 0 / 463.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.0932, allocations: 3.984 kB / 463.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.09321, allocations: 4 kB / 463.9 MB, free: 10.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.123e-05/0.09325, allocations: 79.28 kB / 464 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09325, allocations: 0 / 464 MB, free: 10.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001821/0.09343, allocations: 8 kB / 464 MB, free: 10.43 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.0004617/0.09389, allocations: 0.6205 MB / 464.6 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.095e-05/0.09397, allocations: 24.09 kB / 464.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.09397, allocations: 4 kB / 464.6 MB, free: 9.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.972e-05/0.09399, allocations: 15.88 kB / 464.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.09411, allocations: 0 / 464.6 MB, free: 9.734 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009376/0.09505, allocations: 1.104 MB / 465.7 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.0951, allocations: 63.34 kB / 465.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.126e-05/0.09513, allocations: 12.06 kB / 465.8 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.09517, allocations: 7.438 kB / 465.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09517, allocations: 0 / 465.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.1217, allocations: 1.726 MB / 467.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.56, allocations: 19.62 kB / 467.6 MB, free: 6.75 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.160278570372611] Failed to read output from testmodel.py, exit status != 0: 10.662802658043802 10.680671382 10.587008162 Calling exit ...