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.001284/0.001284, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.001546/0.001546, allocations: 216.2 kB / 23.03 MB, free: 4.953 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.354/1.354, allocations: 207.7 MB / 233.9 MB, free: 9.816 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.1128/0.1128, allocations: 8.203 MB / 294.3 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.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="cs",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.002164/0.002164, allocations: 66.91 kB / 411.2 MB, free: 46.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07795/0.08012, allocations: 50.94 MB / 462.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001604/0.08172, allocations: 396.4 kB / 462.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.0821, allocations: 63.8 kB / 462.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.375e-05/0.08211, allocations: 0 / 462.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.443e-05/0.08213, allocations: 0 / 462.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.344e-06/0.08213, allocations: 0 / 462.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.0826, allocations: 67.84 kB / 462.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.936e-05/0.08266, allocations: 19.92 kB / 462.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.08271, allocations: 0 / 462.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.257e-05/0.08275, allocations: 15.97 kB / 462.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.08283, allocations: 39.91 kB / 462.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.08284, allocations: 0 / 462.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.08296, allocations: 27.97 kB / 462.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.657e-05/0.08298, allocations: 7.984 kB / 462.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.083, allocations: 3.938 kB / 462.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.08312, allocations: 32.12 kB / 462.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.08312, allocations: 0 / 462.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.08312, allocations: 4 kB / 462.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.08313, allocations: 0 / 462.8 MB, free: 12.68 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.0003188/0.08345, allocations: 238.4 kB / 463 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.08349, allocations: 15.98 kB / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.0835, allocations: 8.188 kB / 463 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.08354, allocations: 30.75 kB / 463.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.08356, allocations: 0.9375 kB / 463.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.729e-05/0.08366, allocations: 106.5 kB / 463.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.08367, allocations: 384 / 463.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.08369, allocations: 384 / 463.2 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.08381, allocations: 46 kB / 463.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.08382, allocations: 0 / 463.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.08383, allocations: 0 / 463.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.08384, allocations: 0 / 463.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.037e-05/0.08388, allocations: 11.92 kB / 463.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.08404, allocations: 128.8 kB / 463.4 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.08423, allocations: 34.61 kB / 463.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.08426, allocations: 12.91 kB / 463.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.0843, allocations: 4 kB / 463.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.08432, allocations: 34.5 kB / 463.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.08432, allocations: 0 / 463.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001596/0.08448, allocations: 53.62 kB / 463.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.08452, allocations: 55.34 kB / 463.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.741e-05/0.08457, allocations: 93.86 kB / 463.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.08458, allocations: 25.7 kB / 463.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.08463, allocations: 84.14 kB / 463.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.08466, allocations: 15.89 kB / 463.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.0847, allocations: 17.72 kB / 463.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.08483, allocations: 310.8 kB / 464.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.916e-05/0.08486, allocations: 12.84 kB / 464.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/0.08489, allocations: 18.12 kB / 464.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.183e-05/0.08495, allocations: 33.64 kB / 464.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.08496, allocations: 0 / 464.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001016/0.08506, allocations: 57.94 kB / 464.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.08507, allocations: 15.91 kB / 464.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.08508, allocations: 0 / 464.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.08509, allocations: 0 / 464.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.454e-05/0.08512, allocations: 8 kB / 464.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.08513, allocations: 0 / 464.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.358e-05/0.08514, allocations: 0 / 464.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.08516, allocations: 12 kB / 464.2 MB, free: 11.01 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.0001448/0.08531, allocations: 113.8 kB / 464.3 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.08532, allocations: 3.938 kB / 464.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.08547, allocations: 65.14 kB / 464.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.08547, allocations: 0 / 464.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.08547, allocations: 0 / 464.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.08548, allocations: 0 / 464.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.08559, allocations: 128.7 kB / 464.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.08559, allocations: 0 / 464.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.08563, allocations: 11.98 kB / 464.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.08564, allocations: 7.938 kB / 464.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.08564, allocations: 0 / 464.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.08564, allocations: 0 / 464.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.08565, allocations: 0 / 464.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.08578, allocations: 81.11 kB / 464.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-06/0.08578, allocations: 0 / 464.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.0858, allocations: 3.938 kB / 464.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.206e-05/0.08581, allocations: 8.031 kB / 464.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.08582, allocations: 7.875 kB / 464.7 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.08583, allocations: 4 kB / 464.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.753e-05/0.08587, allocations: 79.28 kB / 464.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.08587, allocations: 4.062 kB / 464.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001923/0.08606, allocations: 15.98 kB / 464.8 MB, free: 10.41 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.0004726/0.08653, allocations: 0.6164 MB / 465.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.08663, allocations: 19.92 kB / 465.4 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.08663, allocations: 0 / 465.4 MB, free: 9.738 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.765e-05/0.08665, allocations: 8 kB / 465.4 MB, free: 9.73 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.08678, allocations: 4 kB / 465.4 MB, free: 9.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.08781, allocations: 1.108 MB / 466.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.25e-05/0.08788, allocations: 67.53 kB / 466.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.056e-05/0.08791, allocations: 4 kB / 466.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.085e-05/0.08795, allocations: 19.38 kB / 466.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.08795, allocations: 0 / 466.6 MB, free: 8.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.1087, allocations: 1.407 MB / 468 MB, free: 7.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/10.96, allocations: 4.062 kB / 468 MB, free: 7.07 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: 13.596608945983462] Failed to read output from testmodel.py, exit status != 0: 11.119138979003765 11.146330174 11.058249429 Calling exit ...