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.0007928/0.0007928, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008155/0.0008155, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8609/0.8609, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.024/0.024, allocations: 6.412 MB / 242.9 MB, free: 9.062 MB / 234.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,fileNamePrefix="ModelicaByExample_ModelicaByExample_Functions_Interpolation_IntegrateInterpolatedVector",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 359.8 MB, free: 4.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.421e-05/1.639e-05, allocations: 5.797 kB / 359.8 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.0008305/0.0008469, allocations: 401.1 kB / 360.2 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002166/0.001064, allocations: 60.84 kB / 360.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.225e-05/0.001076, allocations: 0 / 360.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.428e-05/0.00109, allocations: 0 / 360.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.232e-06/0.001096, allocations: 0 / 360.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.001447, allocations: 71.78 kB / 360.3 MB, free: 3.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.537e-05/0.001492, allocations: 15.98 kB / 360.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.651e-05/0.001529, allocations: 0 / 360.3 MB, free: 3.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.031e-05/0.001559, allocations: 15.97 kB / 360.3 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.747e-05/0.001627, allocations: 35.91 kB / 360.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.001639, allocations: 0 / 360.4 MB, free: 3.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.001739, allocations: 27.97 kB / 360.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.00175, allocations: 3.984 kB / 360.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.382e-05/0.001764, allocations: 4 kB / 360.4 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.171e-05/0.001855, allocations: 31.95 kB / 360.4 MB, free: 3.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.001857, allocations: 4 kB / 360.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.001858, allocations: 0 / 360.4 MB, free: 3.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.001861, allocations: 0 / 360.4 MB, free: 3.84 MB / 282.7 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.0001924/0.002054, allocations: 246.4 kB / 360.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.002087, allocations: 11.98 kB / 360.7 MB, free: 3.555 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.137e-05/0.002108, allocations: 34.75 kB / 360.7 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.002129, allocations: 0.9375 kB / 360.7 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.038e-05/0.002159, allocations: 101.8 kB / 360.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.002168, allocations: 384 / 360.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.002186, allocations: 4.375 kB / 360.8 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.215e-05/0.002258, allocations: 46.19 kB / 360.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.002266, allocations: 192 / 360.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.002273, allocations: 384 / 360.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.002278, allocations: 4.125 kB / 360.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.101e-05/0.002309, allocations: 7.984 kB / 360.9 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.088e-05/0.00239, allocations: 128.6 kB / 361 MB, free: 3.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.002526, allocations: 34.61 kB / 361 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.78e-05/0.002544, allocations: 12.91 kB / 361.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.002576, allocations: 4 kB / 361.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.077e-06/0.002585, allocations: 34.5 kB / 361.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.002586, allocations: 11.94 kB / 361.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001115/0.002697, allocations: 49.67 kB / 361.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.002717, allocations: 55.34 kB / 361.2 MB, free: 2.914 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.134e-05/0.002728, allocations: 89.86 kB / 361.3 MB, free: 2.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-06/0.002733, allocations: 29.7 kB / 361.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.322e-06/0.00274, allocations: 84.14 kB / 361.4 MB, free: 2.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.002764, allocations: 11.89 kB / 361.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.125e-05/0.002786, allocations: 17.72 kB / 361.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.883e-05/0.002815, allocations: 314.8 kB / 361.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.002835, allocations: 12.84 kB / 361.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.002853, allocations: 21.66 kB / 361.8 MB, free: 2.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.27e-05/0.002886, allocations: 33.7 kB / 361.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.002887, allocations: 0 / 361.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.534e-05/0.002933, allocations: 53.62 kB / 361.9 MB, free: 2.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.002943, allocations: 4 kB / 361.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.002948, allocations: 0 / 361.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.002959, allocations: 4 kB / 361.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.507e-05/0.002984, allocations: 4 kB / 361.9 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.002989, allocations: 3.938 kB / 361.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/0.002998, allocations: 4 kB / 361.9 MB, free: 2.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.00301, allocations: 8.031 kB / 361.9 MB, free: 2.176 MB / 282.7 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 9.23e-05/0.003102, allocations: 113.8 kB / 362 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-06/0.003107, allocations: 7.953 kB / 362 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.66e-05/0.003184, allocations: 57.14 kB / 362.1 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.003186, allocations: 4 kB / 362.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.003191, allocations: 7.938 kB / 362.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.003193, allocations: 0 / 362.1 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.047e-05/0.003234, allocations: 128.8 kB / 362.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.003235, allocations: 0 / 362.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.00326, allocations: 7.984 kB / 362.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.003261, allocations: 0 / 362.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.003268, allocations: 3.938 kB / 362.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.003268, allocations: 4 kB / 362.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.003269, allocations: 3.938 kB / 362.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.425e-05/0.003344, allocations: 81.05 kB / 362.3 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.003348, allocations: 4.031 kB / 362.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.003358, allocations: 4.484 kB / 362.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-06/0.003363, allocations: 0 / 362.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.003376, allocations: 3.938 kB / 362.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.00338, allocations: 4 kB / 362.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.416e-06/0.003388, allocations: 75.28 kB / 362.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.003388, allocations: 4 kB / 362.4 MB, free: 1.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.003523, allocations: 19.86 kB / 362.4 MB, free: 1.574 MB / 282.7 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.0001842/0.003708, allocations: 0.6164 MB / 363 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.248e-05/0.00378, allocations: 23.92 kB / 363.1 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.003781, allocations: 4.125 kB / 363.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-06/0.003789, allocations: 8 kB / 363.1 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.561e-05/0.003885, allocations: 3.938 kB / 363.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004992/0.004384, allocations: 1.104 MB / 364.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.194e-05/0.004416, allocations: 63.34 kB / 364.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.283e-05/0.004439, allocations: 12.05 kB / 364.2 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.004468, allocations: 16.5 kB / 364.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.004468, allocations: 0 / 364.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01352/0.01799, allocations: 1.88 MB / 366.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/6.839, allocations: 15.88 kB / 366.2 MB, free: 13.76 MB / 298.7 MB " [Timeout remaining time 653] (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: 8.490487245842814] Failed to read output from testmodel.py, exit status != 0: 6.916662095114589 6.927712233 6.924027627 Calling exit ...