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.00173/0.00173, 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.003618/0.003618, allocations: 213.6 kB / 22.25 MB, free: 5.129 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.934/1.934, allocations: 207.6 MB / 233 MB, free: 9.98 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.05192/0.05192, allocations: 8.201 MB / 293.5 MB, free: 13.65 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="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.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.002201/0.002201, allocations: 73.55 kB / 410.4 MB, free: 46.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.1004, allocations: 50.93 MB / 461.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.00186/0.1022, allocations: 429 kB / 461.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001083/0.1023, allocations: 31.88 kB / 461.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.1024, allocations: 0 / 461.8 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.1025, allocations: 7.938 kB / 461.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.1026, allocations: 27.95 kB / 461.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.075e-05/0.1027, allocations: 11.98 kB / 461.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.1027, allocations: 15.98 kB / 461.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.1028, allocations: 4 kB / 461.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.06e-05/0.1028, allocations: 15.91 kB / 461.9 MB, free: 13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.565e-05/0.1029, allocations: 27.97 kB / 461.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.1029, allocations: 0 / 461.9 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.838e-05/0.103, allocations: 12 kB / 461.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.103, allocations: 7.922 kB / 461.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.103, allocations: 3.938 kB / 461.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.1031, allocations: 20.2 kB / 461.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1031, allocations: 4 kB / 461.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1031, allocations: 0 / 461.9 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1031, allocations: 0 / 461.9 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.0003012/0.1034, allocations: 242.4 kB / 462.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1035, allocations: 11.98 kB / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.1035, allocations: 34.75 kB / 462.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1036, allocations: 4.938 kB / 462.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1037, allocations: 110.5 kB / 462.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1037, allocations: 384 / 462.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1037, allocations: 12.31 kB / 462.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1038, allocations: 38.25 kB / 462.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.1038, allocations: 3.938 kB / 462.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1038, allocations: 0 / 462.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1038, allocations: 0 / 462.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.883e-05/0.1039, allocations: 11.92 kB / 462.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.104, allocations: 120.8 kB / 462.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.1042, allocations: 30.61 kB / 462.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.1043, allocations: 12.92 kB / 462.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1043, allocations: 0 / 462.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1043, allocations: 38.55 kB / 462.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.1043, allocations: 0 / 462.6 MB, free: 12.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001635/0.1045, allocations: 53.53 kB / 462.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.1045, allocations: 55.39 kB / 462.7 MB, free: 12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.1046, allocations: 97.86 kB / 462.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1046, allocations: 25.7 kB / 462.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.1047, allocations: 84.14 kB / 462.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1047, allocations: 3.953 kB / 462.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.1047, allocations: 17.72 kB / 462.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1049, allocations: 314.8 kB / 463.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.989e-05/0.1049, allocations: 8.859 kB / 463.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.963e-05/0.1049, allocations: 17.72 kB / 463.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.105, allocations: 34.17 kB / 463.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.105, allocations: 0 / 463.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.388e-05/0.1051, allocations: 53.58 kB / 463.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1051, allocations: 11.94 kB / 463.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1051, allocations: 0 / 463.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1051, allocations: 0 / 463.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.254e-05/0.1051, allocations: 8 kB / 463.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1051, allocations: 0 / 463.4 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.918e-05/0.1052, allocations: 7.969 kB / 463.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.1052, allocations: 0 / 463.4 MB, free: 11.28 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.0001625/0.1053, allocations: 117.8 kB / 463.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.1053, allocations: 3.938 kB / 463.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.1054, allocations: 7.516 kB / 463.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1054, allocations: 4.328 kB / 463.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1054, allocations: 3.938 kB / 463.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1054, allocations: 0 / 463.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.1055, allocations: 124.8 kB / 463.6 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1055, allocations: 11.92 kB / 463.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.1055, allocations: 7.984 kB / 463.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.1055, allocations: 3.938 kB / 463.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1055, allocations: 0 / 463.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1055, allocations: 0 / 463.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1055, allocations: 3.938 kB / 463.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1057, allocations: 77.08 kB / 463.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.1057, allocations: 4.031 kB / 463.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.1057, allocations: 8 kB / 463.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.1057, allocations: 3.984 kB / 463.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.1057, allocations: 0 / 463.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.1057, allocations: 0 / 463.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.39e-05/0.1058, allocations: 79.28 kB / 463.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1058, allocations: 0 / 463.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.106, allocations: 8 kB / 463.8 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.0005973/0.1066, allocations: 0.6292 MB / 464.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.692e-05/0.1066, allocations: 15.98 kB / 464.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1066, allocations: 0 / 464.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.1067, allocations: 11.94 kB / 464.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1068, allocations: 8.125 kB / 464.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.1078, allocations: 1.096 MB / 465.6 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.1082, allocations: 0.6768 MB / 466.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.581e-05/0.1082, allocations: 7.938 kB / 466.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.1082, allocations: 11.44 kB / 466.3 MB, free: 8.148 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1082, allocations: 4 kB / 466.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.1366, allocations: 1.372 MB / 467.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.53, allocations: 8 kB / 467.7 MB, free: 6.82 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.744895064970478] Failed to read output from testmodel.py, exit status != 0: 11.629194144159555 11.646845062 11.540418023 Calling exit ...