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.001941/0.001941, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.002917/0.002917, allocations: 220 kB / 22.24 MB, free: 5.109 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.449/1.449, allocations: 207.7 MB / 233.1 MB, free: 9.789 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.04918/0.04918, allocations: 8.197 MB / 293.5 MB, free: 13.48 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.002249/0.002249, allocations: 73.38 kB / 410.4 MB, free: 46.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07585/0.0781, allocations: 50.95 MB / 461.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001704/0.0798, allocations: 405.2 kB / 461.7 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 8.969e-05/0.07989, allocations: 31.89 kB / 461.8 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.07992, allocations: 3.938 kB / 461.8 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.08005, allocations: 11.92 kB / 461.8 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.678e-05/0.08013, allocations: 19.97 kB / 461.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.293e-05/0.08019, allocations: 7.984 kB / 461.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.08025, allocations: 23.97 kB / 461.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.321e-05/0.08029, allocations: 0 / 461.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.685e-05/0.08032, allocations: 11.98 kB / 461.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.489e-05/0.0804, allocations: 43.83 kB / 461.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.08041, allocations: 0 / 461.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.125e-05/0.08045, allocations: 8 kB / 461.9 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.08047, allocations: 7.938 kB / 461.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.595e-05/0.08048, allocations: 0 / 461.9 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.63e-05/0.08057, allocations: 20.19 kB / 461.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.08057, allocations: 0 / 461.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08057, allocations: 0 / 461.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.08058, allocations: 0 / 461.9 MB, free: 12.75 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.0002906/0.08087, allocations: 250.3 kB / 462.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.08091, allocations: 11.98 kB / 462.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.265e-05/0.08094, allocations: 34.75 kB / 462.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.08096, allocations: 4.922 kB / 462.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.08107, allocations: 110.5 kB / 462.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.08108, allocations: 384 / 462.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.0811, allocations: 4.375 kB / 462.3 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.226e-05/0.08119, allocations: 34.2 kB / 462.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.0812, allocations: 7.922 kB / 462.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.08121, allocations: 0 / 462.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.08121, allocations: 0 / 462.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.225e-05/0.08125, allocations: 8 kB / 462.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.08139, allocations: 116.8 kB / 462.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.08155, allocations: 34.61 kB / 462.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.08158, allocations: 12.92 kB / 462.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.08159, allocations: 4 kB / 462.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.08162, allocations: 34.5 kB / 462.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.08162, allocations: 0 / 462.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001416/0.08176, allocations: 57.56 kB / 462.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.08181, allocations: 55.39 kB / 462.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.08188, allocations: 93.86 kB / 462.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.08189, allocations: 29.83 kB / 462.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.08194, allocations: 80.14 kB / 462.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.08196, allocations: 7.953 kB / 462.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/0.08199, allocations: 13.72 kB / 462.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.08213, allocations: 322.8 kB / 463.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.08215, allocations: 4.859 kB / 463.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.08218, allocations: 25.66 kB / 463.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.979e-05/0.08223, allocations: 30.11 kB / 463.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.08223, allocations: 0 / 463.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8e-05/0.08231, allocations: 53.58 kB / 463.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.08233, allocations: 15.97 kB / 463.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.08234, allocations: 3.938 kB / 463.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.08235, allocations: 3.938 kB / 463.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.829e-05/0.08237, allocations: 4 kB / 463.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.08238, allocations: 4 kB / 463.4 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.652e-05/0.0824, allocations: 3.938 kB / 463.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.0824, allocations: 0 / 463.4 MB, free: 11.09 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.0001422/0.08254, allocations: 113.8 kB / 463.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.08255, allocations: 3.938 kB / 463.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.621e-05/0.08259, allocations: 11.52 kB / 463.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.08259, allocations: 0 / 463.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.08259, allocations: 4 kB / 463.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.0826, allocations: 0 / 463.5 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.839e-05/0.08269, allocations: 120.8 kB / 463.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.0827, allocations: 0 / 463.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.08273, allocations: 7.938 kB / 463.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.401e-06/0.08274, allocations: 7.922 kB / 463.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.08274, allocations: 0 / 463.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.08274, allocations: 0 / 463.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.08274, allocations: 0 / 463.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.08288, allocations: 81.08 kB / 463.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.08288, allocations: 4.031 kB / 463.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.0829, allocations: 3.938 kB / 463.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.08291, allocations: 0 / 463.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.08292, allocations: 3.984 kB / 463.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.08293, allocations: 4 kB / 463.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.69e-05/0.08297, allocations: 75.28 kB / 463.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08297, allocations: 0 / 463.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001764/0.08314, allocations: 4 kB / 463.8 MB, free: 10.58 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.0005201/0.08366, allocations: 0.6396 MB / 464.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.08374, allocations: 16 kB / 464.5 MB, free: 9.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.08374, allocations: 7.875 kB / 464.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.458e-05/0.08375, allocations: 7.984 kB / 464.5 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.08388, allocations: 4 kB / 464.5 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009504/0.08483, allocations: 1.1 MB / 465.6 MB, free: 8.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.684e-05/0.08487, allocations: 63.47 kB / 465.6 MB, free: 8.613 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.372e-05/0.0849, allocations: 4 kB / 465.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.08493, allocations: 11.44 kB / 465.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.08493, allocations: 0 / 465.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.1111, allocations: 1.766 MB / 467.4 MB, free: 6.879 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.75, allocations: 15.03 kB / 467.4 MB, free: 6.867 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.327567195054144] Failed to read output from testmodel.py, exit status != 0: 10.848012805916369 10.867458033 10.783562227 Calling exit ...