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.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.002279/0.002279, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001577/0.001577, allocations: 219.8 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.367/1.367, 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.04879/0.04879, allocations: 8.197 MB / 294.3 MB, free: 13.66 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.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector",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.002085/0.002085, allocations: 75.47 kB / 411.2 MB, free: 47.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07572/0.0778, allocations: 50.93 MB / 462.1 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001668/0.07947, allocations: 421 kB / 462.5 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 9.823e-05/0.07957, allocations: 39.81 kB / 462.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.526e-05/0.07959, allocations: 0 / 462.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.07973, allocations: 7.938 kB / 462.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.771e-05/0.07983, allocations: 23.95 kB / 462.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.129e-05/0.07989, allocations: 11.98 kB / 462.6 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.07995, allocations: 19.98 kB / 462.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.08, allocations: 0 / 462.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.08003, allocations: 19.91 kB / 462.7 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.181e-05/0.08012, allocations: 27.97 kB / 462.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.08014, allocations: 0 / 462.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.676e-05/0.08018, allocations: 7.938 kB / 462.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.0802, allocations: 7.984 kB / 462.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.08023, allocations: 7.938 kB / 462.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.248e-05/0.08033, allocations: 16.2 kB / 462.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.08033, allocations: 4 kB / 462.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.08033, allocations: 0 / 462.7 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.08034, allocations: 0 / 462.7 MB, free: 12.92 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.0003128/0.08065, allocations: 242.4 kB / 463 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.08069, allocations: 15.98 kB / 463 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.896e-05/0.08071, allocations: 192 / 463 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.08075, allocations: 34.75 kB / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.246e-05/0.08078, allocations: 0.9375 kB / 463 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/0.08088, allocations: 114.5 kB / 463.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.08088, allocations: 384 / 463.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.0809, allocations: 4.375 kB / 463.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.08101, allocations: 42 kB / 463.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.08102, allocations: 3.938 kB / 463.2 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.08103, allocations: 3.938 kB / 463.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.08104, allocations: 4 kB / 463.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.756e-05/0.08107, allocations: 7.984 kB / 463.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.08121, allocations: 116.8 kB / 463.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.08138, allocations: 38.61 kB / 463.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.08141, allocations: 8.922 kB / 463.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.08143, allocations: 0 / 463.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.08146, allocations: 34.5 kB / 463.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.08146, allocations: 3.938 kB / 463.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001459/0.08161, allocations: 49.64 kB / 463.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.08165, allocations: 59.39 kB / 463.5 MB, free: 12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.08173, allocations: 93.86 kB / 463.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.08175, allocations: 33.64 kB / 463.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.08179, allocations: 80.14 kB / 463.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.08181, allocations: 11.94 kB / 463.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.08184, allocations: 13.72 kB / 463.7 MB, free: 11.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.08199, allocations: 318.8 kB / 464 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.46e-05/0.08201, allocations: 8.984 kB / 464 MB, free: 11.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.08204, allocations: 21.66 kB / 464.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.463e-05/0.08209, allocations: 30.11 kB / 464.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.08209, allocations: 0 / 464.1 MB, free: 11.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.975e-05/0.08217, allocations: 53.58 kB / 464.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.08218, allocations: 7.938 kB / 464.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.08219, allocations: 4 kB / 464.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.0822, allocations: 4.031 kB / 464.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.863e-05/0.08223, allocations: 4 kB / 464.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.08224, allocations: 0 / 464.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.727e-05/0.08226, allocations: 7.938 kB / 464.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.08226, allocations: 0 / 464.2 MB, free: 11.26 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.0001581/0.08242, allocations: 113.8 kB / 464.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.08243, allocations: 3.938 kB / 464.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.08246, allocations: 7.516 kB / 464.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.08246, allocations: 0 / 464.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.08246, allocations: 4.328 kB / 464.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.08247, allocations: 0 / 464.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.08258, allocations: 120.8 kB / 464.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.08258, allocations: 3.938 kB / 464.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.08261, allocations: 7.984 kB / 464.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.08262, allocations: 15.86 kB / 464.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.08263, allocations: 0 / 464.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.08263, allocations: 0 / 464.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.08263, allocations: 0 / 464.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.08276, allocations: 85.08 kB / 464.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.08277, allocations: 3.938 kB / 464.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.08278, allocations: 0 / 464.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.08279, allocations: 0 / 464.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.376e-05/0.0828, allocations: 8.016 kB / 464.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.08281, allocations: 0 / 464.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.494e-05/0.08285, allocations: 75.28 kB / 464.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08285, allocations: 0 / 464.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001797/0.08303, allocations: 8.156 kB / 464.6 MB, free: 10.74 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.0005284/0.08356, allocations: 0.6368 MB / 465.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.559e-05/0.08364, allocations: 20.05 kB / 465.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.08365, allocations: 0 / 465.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.838e-05/0.08366, allocations: 11.94 kB / 465.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.08379, allocations: 0 / 465.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.08486, allocations: 1.1 MB / 466.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.08523, allocations: 0.6768 MB / 467.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.634e-05/0.08526, allocations: 4 kB / 467.1 MB, free: 8.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.0853, allocations: 15.44 kB / 467.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.0853, allocations: 0 / 467.1 MB, free: 8.137 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.1055, allocations: 1.411 MB / 468.5 MB, free: 6.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.79, allocations: 8.062 kB / 468.5 MB, free: 6.777 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.34802898496855] Failed to read output from testmodel.py, exit status != 0: 10.945958829019219 10.962670585 10.879263985 Calling exit ...