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.001701/0.001701, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002408/0.002408, allocations: 221.5 kB / 22.26 MB, free: 5.125 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.945/1.945, allocations: 207.6 MB / 233 MB, free: 9.977 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.05142/0.05142, allocations: 8.192 MB / 293.5 MB, free: 13.64 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.002228/0.002228, allocations: 69.67 kB / 410.4 MB, free: 46.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09581/0.09804, allocations: 50.94 MB / 461.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001662/0.0997, allocations: 405.1 kB / 461.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003225/0.1, allocations: 67.77 kB / 461.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.858e-05/0.1, allocations: 0 / 461.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.301e-05/0.1001, allocations: 0 / 461.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.363e-06/0.1001, allocations: 0 / 461.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.1005, allocations: 67.84 kB / 461.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.508e-05/0.1006, allocations: 15.98 kB / 461.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.1006, allocations: 3.984 kB / 461.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.78e-05/0.1007, allocations: 15.94 kB / 461.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1008, allocations: 39.94 kB / 461.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1008, allocations: 0 / 461.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.1009, allocations: 27.98 kB / 462 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.1009, allocations: 3.984 kB / 462 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.121e-05/0.1009, allocations: 4 kB / 462 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1011, allocations: 32.11 kB / 462 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1011, allocations: 4 kB / 462 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1011, allocations: 0 / 462 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1011, allocations: 0 / 462 MB, free: 12.84 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.0003649/0.1014, allocations: 246.4 kB / 462.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1015, allocations: 15.98 kB / 462.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.1015, allocations: 30.75 kB / 462.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.1016, allocations: 0.9375 kB / 462.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1017, allocations: 110.5 kB / 462.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.1017, allocations: 384 / 462.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.1017, allocations: 384 / 462.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1018, allocations: 38.25 kB / 462.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.1018, allocations: 3.938 kB / 462.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1018, allocations: 7.938 kB / 462.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1018, allocations: 4 kB / 462.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.09e-05/0.1019, allocations: 7.984 kB / 462.5 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.1021, allocations: 124.8 kB / 462.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.1023, allocations: 38.61 kB / 462.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.1023, allocations: 12.84 kB / 462.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.1024, allocations: 0 / 462.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1024, allocations: 38.56 kB / 462.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1024, allocations: 0 / 462.7 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001978/0.1026, allocations: 49.62 kB / 462.7 MB, free: 11.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1027, allocations: 51.41 kB / 462.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.1027, allocations: 97.8 kB / 462.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.1027, allocations: 25.7 kB / 462.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.1028, allocations: 80.14 kB / 463 MB, free: 11.71 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.1028, allocations: 19.83 kB / 463 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.1028, allocations: 21.72 kB / 463 MB, free: 11.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.103, allocations: 310.8 kB / 463.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.103, allocations: 12.84 kB / 463.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.1031, allocations: 17.72 kB / 463.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.375e-05/0.1031, allocations: 26.11 kB / 463.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1031, allocations: 4 kB / 463.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.51e-05/0.1032, allocations: 53.62 kB / 463.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1033, allocations: 8 kB / 463.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1033, allocations: 3.938 kB / 463.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1033, allocations: 0 / 463.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.536e-05/0.1033, allocations: 8 kB / 463.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.1033, allocations: 0 / 463.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.1033, allocations: 4 kB / 463.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.1034, allocations: 8 kB / 463.5 MB, free: 11.18 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.0001744/0.1035, allocations: 125.8 kB / 463.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.414e-06/0.1035, allocations: 0 / 463.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.1037, allocations: 61.14 kB / 463.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1037, allocations: 0 / 463.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1037, allocations: 0 / 463.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1037, allocations: 0 / 463.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1038, allocations: 124.7 kB / 463.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1038, allocations: 4 kB / 463.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.1039, allocations: 11.98 kB / 463.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1039, allocations: 0 / 463.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.1039, allocations: 3.938 kB / 463.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.1039, allocations: 3.984 kB / 463.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1039, allocations: 0 / 463.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1041, allocations: 89.34 kB / 463.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.1041, allocations: 4.031 kB / 463.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1041, allocations: 8 kB / 463.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.028e-05/0.1041, allocations: 0 / 463.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.1041, allocations: 0 / 463.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.1041, allocations: 11.98 kB / 463.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.1042, allocations: 79.28 kB / 464 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1042, allocations: 0 / 464 MB, free: 10.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002089/0.1044, allocations: 15.94 kB / 464 MB, free: 10.57 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.0005049/0.1049, allocations: 0.6202 MB / 464.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.105, allocations: 15.98 kB / 464.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.105, allocations: 0 / 464.6 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.105, allocations: 11.94 kB / 464.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1051, allocations: 6.656 kB / 464.6 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1062, allocations: 1.104 MB / 465.8 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.1065, allocations: 0.6807 MB / 466.4 MB, free: 7.988 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.784e-05/0.1066, allocations: 4 kB / 466.4 MB, free: 7.984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.1066, allocations: 15.44 kB / 466.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1066, allocations: 0 / 466.5 MB, free: 7.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03144/0.1381, allocations: 1.349 MB / 467.8 MB, free: 6.676 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.36, allocations: 8.062 kB / 467.8 MB, free: 6.668 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: 14.621177662163973] Failed to read output from testmodel.py, exit status != 0: 11.462828632909805 11.479867071 11.375536384 Calling exit ...