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.00179/0.00179, allocations: 101.6 kB / 16.45 MB, free: 6.449 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.002216/0.002216, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.707/1.707, allocations: 207.6 MB / 229.8 MB, free: 11.41 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.05219/0.05219, allocations: 8.187 MB / 289.9 MB, free: 14.87 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.002359/0.002359, allocations: 71.73 kB / 405.2 MB, free: 47.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1151, allocations: 50.9 MB / 456.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.002107/0.1173, allocations: 425.3 kB / 456.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001359/0.1174, allocations: 39.88 kB / 456.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.1174, allocations: 0 / 456.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1176, allocations: 3.938 kB / 456.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000138/0.1177, allocations: 27.94 kB / 456.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.039e-05/0.1178, allocations: 8 kB / 456.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.377e-05/0.1179, allocations: 15.98 kB / 456.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.956e-05/0.118, allocations: 4 kB / 456.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.571e-05/0.118, allocations: 19.91 kB / 456.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.49e-05/0.1181, allocations: 27.97 kB / 456.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1181, allocations: 4 kB / 456.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.327e-05/0.1182, allocations: 7.984 kB / 456.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.1182, allocations: 7.938 kB / 456.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.1183, allocations: 11.92 kB / 456.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.1184, allocations: 8.219 kB / 456.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1184, allocations: 3.984 kB / 456.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1184, allocations: 4 kB / 456.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1184, allocations: 0 / 456.7 MB, free: 14.39 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.0004887/0.1189, allocations: 315.5 kB / 457 MB, free: 14.03 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1189, allocations: 12.03 kB / 457 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.119, allocations: 38.73 kB / 457.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.492e-05/0.119, allocations: 0.9375 kB / 457.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1191, allocations: 164.4 kB / 457.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1192, allocations: 384 / 457.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.1192, allocations: 4.375 kB / 457.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.1193, allocations: 38.23 kB / 457.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1193, allocations: 3.938 kB / 457.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1193, allocations: 0 / 457.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1193, allocations: 3.938 kB / 457.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.098e-05/0.1194, allocations: 15.94 kB / 457.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.1196, allocations: 149.7 kB / 457.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1198, allocations: 26.58 kB / 457.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.1198, allocations: 20.89 kB / 457.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1198, allocations: 0 / 457.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.1199, allocations: 34.56 kB / 457.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1199, allocations: 4 kB / 457.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001695/0.12, allocations: 53.52 kB / 457.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.1201, allocations: 55.41 kB / 457.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/0.1202, allocations: 89.86 kB / 457.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1202, allocations: 25.7 kB / 457.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.1202, allocations: 84.12 kB / 457.8 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.032e-05/0.1203, allocations: 15.94 kB / 457.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1204, allocations: 13.84 kB / 457.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1205, allocations: 318.8 kB / 458.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.946e-05/0.1206, allocations: 8.859 kB / 458.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.1206, allocations: 17.7 kB / 458.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.1207, allocations: 29.66 kB / 458.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1207, allocations: 0 / 458.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.95e-05/0.1208, allocations: 53.58 kB / 458.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1208, allocations: 18.16 kB / 458.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1208, allocations: 0 / 458.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1208, allocations: 0 / 458.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.334e-05/0.1208, allocations: 4 kB / 458.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1208, allocations: 4 kB / 458.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.1209, allocations: 3.938 kB / 458.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1209, allocations: 3.984 kB / 458.3 MB, free: 12.55 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.0002032/0.1211, allocations: 117.8 kB / 458.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.1211, allocations: 3.938 kB / 458.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.1211, allocations: 7.5 kB / 458.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1211, allocations: 4 kB / 458.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.1211, allocations: 4 kB / 458.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1211, allocations: 336 / 458.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.1213, allocations: 149.7 kB / 458.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1213, allocations: 4 kB / 458.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.1214, allocations: 7.938 kB / 458.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1214, allocations: 3.938 kB / 458.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1214, allocations: 3.984 kB / 458.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.1214, allocations: 3.938 kB / 458.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1214, allocations: 4 kB / 458.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.1216, allocations: 77.06 kB / 458.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/0.1216, allocations: 77.11 kB / 458.8 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.1216, allocations: 7.938 kB / 458.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.14e-05/0.1216, allocations: 0 / 458.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.1217, allocations: 7.969 kB / 458.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.1217, allocations: 0 / 458.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.724e-05/0.1217, allocations: 79.34 kB / 458.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1217, allocations: 0 / 458.9 MB, free: 11.9 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.1219, allocations: 7.984 kB / 458.9 MB, free: 11.89 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.0007181/0.1226, allocations: 0.6205 MB / 459.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.1227, allocations: 19.98 kB / 459.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1227, allocations: 0 / 459.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.1227, allocations: 7.938 kB / 459.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.1229, allocations: 0 / 459.5 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.124, allocations: 1.112 MB / 460.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1243, allocations: 0.6729 MB / 461.3 MB, free: 9.316 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.359e-05/0.1243, allocations: 11.98 kB / 461.3 MB, free: 9.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.1244, allocations: 7.438 kB / 461.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1244, allocations: 0 / 461.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.1523, allocations: 1.302 MB / 462.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.204, allocations: 7.734 kB / 462.6 MB, free: 8.113 MB / 334.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedExternalVector.fmu > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.362469415995292] Failed to read output from testmodel.py, exit status != 0: 8.269707454004674 8.285225456 8.163818474 Calling exit ...