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.001288/0.001288, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001426/0.001426, allocations: 212.8 kB / 22.24 MB, free: 5.262 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.362/1.362, allocations: 207.7 MB / 233.1 MB, free: 9.785 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.04866/0.04866, allocations: 8.194 MB / 293.5 MB, free: 13.47 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.002148/0.002148, allocations: 80.64 kB / 410.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.08114, allocations: 50.93 MB / 461.3 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001704/0.08284, allocations: 408.4 kB / 461.7 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 8.978e-05/0.08293, allocations: 35.83 kB / 461.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.08295, allocations: 3.938 kB / 461.8 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.08307, allocations: 7.984 kB / 461.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.08316, allocations: 19.97 kB / 461.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.906e-05/0.08322, allocations: 15.92 kB / 461.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.324e-05/0.08327, allocations: 19.97 kB / 461.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.08332, allocations: 4 kB / 461.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.08335, allocations: 7.984 kB / 461.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.08342, allocations: 31.95 kB / 461.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.08343, allocations: 4 kB / 461.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.384e-05/0.08347, allocations: 8 kB / 461.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.0835, allocations: 7.938 kB / 461.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.561e-05/0.08351, allocations: 0 / 461.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.69e-05/0.0836, allocations: 20.19 kB / 461.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.0836, allocations: 3.938 kB / 461.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.0836, allocations: 0 / 461.9 MB, free: 12.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.08361, allocations: 0 / 461.9 MB, free: 12.72 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.000302/0.08391, allocations: 250.3 kB / 462.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.08395, allocations: 11.98 kB / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.08399, allocations: 30.75 kB / 462.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.056e-05/0.08401, allocations: 8.938 kB / 462.2 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.08412, allocations: 114.5 kB / 462.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.08413, allocations: 384 / 462.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.08415, allocations: 8.359 kB / 462.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.08423, allocations: 30.27 kB / 462.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.08424, allocations: 3.938 kB / 462.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.08425, allocations: 0 / 462.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.08425, allocations: 0 / 462.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.444e-05/0.08428, allocations: 11.98 kB / 462.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001467/0.08443, allocations: 120.8 kB / 462.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.08459, allocations: 38.55 kB / 462.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.08462, allocations: 12.92 kB / 462.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.08463, allocations: 0 / 462.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.08466, allocations: 30.56 kB / 462.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.08466, allocations: 0 / 462.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001359/0.08479, allocations: 53.58 kB / 462.6 MB, free: 11.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.08483, allocations: 55.34 kB / 462.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.08491, allocations: 97.84 kB / 462.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.08493, allocations: 25.7 kB / 462.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.08496, allocations: 80.14 kB / 462.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.488e-05/0.08499, allocations: 16.08 kB / 462.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.08502, allocations: 9.719 kB / 462.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.08517, allocations: 322.8 kB / 463.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.656e-05/0.08519, allocations: 8.859 kB / 463.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.459e-05/0.08522, allocations: 17.72 kB / 463.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.08526, allocations: 30.11 kB / 463.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.08526, allocations: 3.938 kB / 463.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.248e-05/0.08534, allocations: 45.66 kB / 463.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.08535, allocations: 11.94 kB / 463.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.08536, allocations: 8.016 kB / 463.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.08537, allocations: 3.938 kB / 463.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.943e-05/0.0854, allocations: 8 kB / 463.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.08541, allocations: 3.938 kB / 463.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.08542, allocations: 3.938 kB / 463.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-06/0.08543, allocations: 0 / 463.4 MB, free: 11.06 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.000135/0.08556, allocations: 113.8 kB / 463.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.08557, allocations: 7.875 kB / 463.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.0856, allocations: 7.859 kB / 463.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.0856, allocations: 0 / 463.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.08561, allocations: 4 kB / 463.5 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.08561, allocations: 7.969 kB / 463.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.08573, allocations: 120.8 kB / 463.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.08573, allocations: 0 / 463.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.08576, allocations: 4 kB / 463.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.08576, allocations: 3.938 kB / 463.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.08577, allocations: 0 / 463.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.08577, allocations: 0 / 463.6 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.08577, allocations: 7.984 kB / 463.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.0859, allocations: 81.05 kB / 463.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-06/0.0859, allocations: 4.062 kB / 463.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.08591, allocations: 3.938 kB / 463.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.08592, allocations: 0 / 463.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.187e-05/0.08594, allocations: 4 kB / 463.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.08594, allocations: 3.984 kB / 463.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.08598, allocations: 75.28 kB / 463.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.08598, allocations: 0 / 463.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001739/0.08616, allocations: 4 kB / 463.8 MB, free: 10.54 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.0005193/0.08668, allocations: 0.6335 MB / 464.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.929e-05/0.08676, allocations: 15.94 kB / 464.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.08676, allocations: 0 / 464.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.08677, allocations: 7.984 kB / 464.5 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.0869, allocations: 4 kB / 464.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000949/0.08785, allocations: 1.104 MB / 465.6 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.0879, allocations: 67.28 kB / 465.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.084e-05/0.08792, allocations: 4.125 kB / 465.6 MB, free: 8.574 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.08796, allocations: 11.44 kB / 465.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.08796, allocations: 0 / 465.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.1166, allocations: 1.766 MB / 467.4 MB, free: 6.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/10.95, allocations: 31.33 kB / 467.5 MB, free: 6.824 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 & 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: 13.52655224967748] Failed to read output from testmodel.py, exit status != 0: 11.052347506396472 11.068745204 10.982118999 Calling exit ...